image
image

Go Back   macosx.com > Mac Help Forums > Mac OS X System & Mac Software

Reply
 
LinkBack Thread Tools
  #9  
Old November 14th, 2007, 02:20 PM
Registered User
 
Join Date: Nov 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
jernst is on a distinguished road
No luck with the above. But I found two probably related problems:

1. In the .Mac System Preference, I can only select tabs "Account", "iDisk" and "Back to My Mac"; clicking on the "Sync" tab half-grays it out and the tab never comes up. Feels like something crashed underneath.

2. Running the iSync application itself produces an error message on startup: "iSync can't be launched / SyncServices: Can't connect to the sync server: NSInvalidReceivePortException: connection went invalid while waiting for a reply ((null))". Confirming the dialog quits the app so it never comes up.

Something tells me that this wasn't something an end user was supposed to see ...

The Syncrospector.app appears to work normally, nothing seems to be wrong there.
Reply With Quote
  #10  
Old November 14th, 2007, 02:33 PM
Giaguara's Avatar
Chmod 760
 
Join Date: Nov 2002
Location: ~
Posts: 8,367
Thanks: 5
Thanked 71 Times in 70 Posts
Giaguara is a jewel in the roughGiaguara is a jewel in the roughGiaguara is a jewel in the rough
Hm :-/

Did you repair permissions after 10.5 upgrade? Even though that database file shows correct permisisons, maybe the path still has something failing.

If you go with Finder to ("go to folder" from menus) /System/Library/Frameworks/SyncServices.framework/Versions/Current/Resources/ and open (right click) SyncServer "Get Info" from that location, in that window under General section, select "Open using Rosetta", and close that window. Try again ... does it launch if it's running under Rosetta?

Trying to look at all options instead of Archive and Install (since 'Repair Install' will probably be one of the updates in 10.6 or 10.7 ....)
__________________
MacBook Pro | Dell Mini Inspiron 9 | Mac Mini | Newton 2000 | @Work : Dell D620 & 2x20" + a lot of Macs | Workstation, VC & Fusion
Twenty years from now you will be more disappointed by the things that you didn't do than by the ones you did do.
~ Samuel Clemens | Rants | Photos
Reply With Quote
  #11  
Old November 14th, 2007, 04:02 PM
Registered User
 
Join Date: Nov 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
jernst is on a distinguished road
Quote:
Originally Posted by Giaguara View Post
Did you repair permissions after 10.5 upgrade? Even though that database file shows correct permisisons, maybe the path still has something failing.
Yes I did.

Quote:
Originally Posted by Giaguara View Post
If you go with Finder to ("go to folder" from menus) /System/Library/Frameworks/SyncServices.framework/Versions/Current/Resources/ and open (right click) SyncServer "Get Info" from that location, in that window under General section, select "Open using Rosetta", and close that window. Try again ... does it launch if it's running under Rosetta?
I tried several variations on that one. Apparently one cannot start SyncServer.app either via double-click in the Finder, nor from the command line -- Console reports "User's SyncServer must not be launched except by launchd. Exiting process."
So I tried launchctl and "start com.apple.syncservices.SyncServer", which reliably reproduces the popup error message about updatedb but fails to start the process.
Whether or not the Rosetta checkbox is checked seems to make no difference whatsoever.
Rebooting made no difference either, except that "something" is unchecking the Rosetta checkbox during a reboot.

I think my best guess at this point is simply that my upgradedb executable is corrupted for some reason. Everything seems to be depending on that one.

Anybody know how to get dtrace to print out a list of files that it is accessing, I want to run it on upgradedb to see whether that gives me a clue ... and now that ktrace is gone and I don't know how to use dtrace ...
Reply With Quote
  #12  
Old November 14th, 2007, 04:17 PM
Giaguara's Avatar
Chmod 760
 
Join Date: Nov 2002
Location: ~
Posts: 8,367
Thanks: 5
Thanked 71 Times in 70 Posts
Giaguara is a jewel in the roughGiaguara is a jewel in the roughGiaguara is a jewel in the rough
Dtrace needs Developer Tools to be installed.
Apple’s ported some of the DTrace Toolkit scripts over to Mac OS X. Check the manpage for some of these with man -k dtrace
There are some more examples of DTrace in the standard install at /usr/share/examples/DTTk.
Man dtrace

These should work both in OS X and Solaris:

New processes with arguments
dtrace -n 'proc:::exec-success { trace(curpsinfo->pr_psargs); }'

Files opened by process
dtrace -n 'syscall::open*:entry { printf("%s %s",execname,copyinstr(arg0)); }'

Pages paged in by process
dtrace -n 'vminfo:::pgpgin { @pg[execname] = sum(arg0); }'

Pages paged out by process
dtrace -n 'vminfo:::pgpgout { @pg[execname] = sum(arg0); }'

Minor faults by process
dtrace -n 'vminfo:::as_fault { @mem[execname] = sum(arg0); }'

More #1 #2
__________________
MacBook Pro | Dell Mini Inspiron 9 | Mac Mini | Newton 2000 | @Work : Dell D620 & 2x20" + a lot of Macs | Workstation, VC & Fusion
Twenty years from now you will be more disappointed by the things that you didn't do than by the ones you did do.
~ Samuel Clemens | Rants | Photos
Reply With Quote
  #13  
Old November 15th, 2007, 01:56 PM
Giaguara's Avatar
Chmod 760
 
Join Date: Nov 2002
Location: ~
Posts: 8,367
Thanks: 5
Thanked 71 Times in 70 Posts
Giaguara is a jewel in the roughGiaguara is a jewel in the roughGiaguara is a jewel in the rough
Ah excellent, so

trash the ~/Library/Application Support/SyncServices/Local/ folder did it then...
(Just in case the discussions thread linked would get archived or deleted etc).
Usually touching that folder brings good karma but glad that it's fixed now
__________________
MacBook Pro | Dell Mini Inspiron 9 | Mac Mini | Newton 2000 | @Work : Dell D620 & 2x20" + a lot of Macs | Workstation, VC & Fusion
Twenty years from now you will be more disappointed by the things that you didn't do than by the ones you did do.
~ Samuel Clemens | Rants | Photos
Reply With Quote
  #14  
Old November 18th, 2007, 05:23 AM
Registered User
 
Join Date: Jul 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Dabow is on a distinguished road
After waiting a while to capture this error it finally appeared again. Not sure why, but it seems to be presenting itself less an less. Here's the transcript from the console:

18/11/2007 19:16:02 SyncServer[24666] fatal error during sync server initialization: can't upgrade data directory from version 47 to version 75 (/Users/<username>/Library/Application Support/SyncServices/Local)

18/11/2007 19:16:02 DockSyncClient[24665] SyncServer is unavailable: exception when connecting: connection went invalid while waiting for a reply

18/11/2007 19:16:02 DockSyncClient[24665] Dock Sync Client caught exception: ISyncServerUnavailableException: Can't connect to the sync server: NSInvalidReceivePortException: connection went invalid while waiting for a reply ((null))

18/11/2007 19:16:02 com.apple.launchd[146] (com.apple.syncservices.SyncServer[24666]) Exited with exit code: 1

18/11/2007 19:16:02 [0x0-0x19019].com.apple.dock[159] 2007-11-18 19:16:02.726 DockSyncClient[24665:10b] SyncServer is unavailable: exception when connecting: connection went invalid while waiting for a reply

18/11/2007 19:16:02 [0x0-0x19019].com.apple.dock[159] 2007-11-18 19:16:02.740 DockSyncClient[24665:10b] Dock Sync Client caught exception: ISyncServerUnavailableException: Can't connect to the sync server: NSInvalidReceivePortException: connection went invalid while waiting for a reply ((null))

Any ideas?

Rgds,

Dabow
Reply With Quote
  #15  
Old November 18th, 2007, 04:07 PM
Giaguara's Avatar
Chmod 760
 
Join Date: Nov 2002
Location: ~
Posts: 8,367
Thanks: 5
Thanked 71 Times in 70 Posts
Giaguara is a jewel in the roughGiaguara is a jewel in the roughGiaguara is a jewel in the rough
Dabow, are you connected online when this happens?
__________________
MacBook Pro | Dell Mini Inspiron 9 | Mac Mini | Newton 2000 | @Work : Dell D620 & 2x20" + a lot of Macs | Workstation, VC & Fusion
Twenty years from now you will be more disappointed by the things that you didn't do than by the ones you did do.
~ Samuel Clemens | Rants | Photos
Reply With Quote
  #16  
Old November 19th, 2007, 08:58 AM
Registered User
 
Join Date: Jul 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Dabow is on a distinguished road
Yes I am
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump


All times are GMT -5. The time now is 07:09 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC1
Copyright 2000-2008 DigitalCrowd, Inc.