Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Diagnose and recover from a coreservicesd hang' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Diagnose and recover from a coreservicesd hang
Authored by: popguru on Oct 19, '03 03:59:11AM
In case anyone's interested, I may have figured out the answer to my own question. OS X starts coreservicesd with the arguments -preload AEServer. You can confirm this by doing ps -axww | grep "coreservicesd" | grep -v grep in the Terminal while coresericesd is running. The AppServices StartupItem actually starts the coreserviced process (see: /System/Library/StartupItems/AppServices/AppServices). So, if coreservicesd crashes on you, you may be able to start it again without rebooting by doing:

sudo -b /System/Library/CoreServices/coreservicesd -preload AEServer

...though I haven't tested this yet.

[ Reply to This | # ]

Another Way
Authored by: UCMacGuru on Oct 19, '03 06:26:08PM

Another (maybe cleaner) way to start coreservicesd back up is:

sudo systemstarter start "Core Services"

You'd think you could issue the command with "restart" but looking at the AppServices script shows that "restart" does nothing - I guess because Core Services is never *suppose* to stop.

[ Reply to This | # ]