*/ ?>

What the heck are you doing Spotlight?

Filed Under Apple on 2008-04-20, 14:52

I don’t use Spotlight at all thanks to Quicksilver. But I’ve noticed in my system.log that I’m getting the following messages over and over again:

Apr 20 14:44:40 egads com.apple.launchd[102] (com.apple.Spotlight[4906]): posix_spawnp(“/System/Library/CoreServices/Spotlight.app/Contents/MacOS/Spotlight”, …): No such file or directory
Apr 20 14:44:40 egads com.apple.launchd[102] (com.apple.Spotlight[4906]): Exited with exit code: 1

Anyone have any idea what’s happening here? I looked at “/System/Library/CoreServices/Spotlight.app/Contents/MacOS/Spotlight” and it has no size, so I’m guessing it’s leftover from something? Anyone have any insight?

Update:
hmmm weird.. When I check the file through a console I have:
sh-3.2# pwd
/System/Library/CoreServices/Spotlight.app/Contents/MacOS
sh-3.2# ls -l
total 1384
-rwxr-xr-x 1 root wheel 704720 Feb 5 22:30 Spotlight

But if I browse to it in the Finder, I see Spotlight (I’m assuming that’s Spotlight.app) with a zero KB size. If I try to open it it says it’s not supported in this architecture.

So confused.

SOLVED! Kudos go to Justin for hooking me up with the full copy of Spotlight.app. I backed up the old (apparently corrupt) one and the copied the new Spotlight.app from him into /System/Library/CoreServices. So far, so good and no more errors in system.log. Woohoo!

Tagged: , , ,


Comments