Mac OS X 10.4.8 Special Report: Spotlight issues
Spotlight is another touchy area for incremental Mac OS X updates. Because so many files are modified and/or created during the update process, Spotlight's index and associated files are among the most likely to suffer corruption or other problems.
If Spotlight does not function properly after updating to Mac OS X 10.4.8, make sure that your startup volume (or any other volumes you desire to search) are not listed in the "Privacy" tab of the Spotlight pane in System Preferences. Some users have reported that volumes become inadvertently placed here after the update.
In other cases, you can resolve spotlight issues by using the mdutil command-line utility in Terminal, turn off indexing for each of your drives. First use the following commands (in the Terminal, located in Applications/Utilities) to turn off Spotlight:
- sudo mdutil -i off /Volumes/your_hard_drive_name
Then use mdutil to remove the indexes from each drive
- sudo mdutil -E /Volumes/your_hard_drive_name_1
Physically remove the .Spotlight directories from the root of your hard drive with these commands:
- cd /
- sudo rm -fr .Spotlight-V100
(make sure to carefully type the "rm" command -- a typo could result in deletion of critical files.)
Use mdutil again to turn indexing back on for each drive
- sudo mdutil -i on /Volumes/your_hard_drive_name_1
- sudo mdutil -i on /Volumes/your_hard_drive_name_2
Spotlight will now re-index all drives, potentially solving some issues.
Reader Reports
ResourcesMacFixIt reader Mario writes:
"Since upgrading to 10.4.8 I cannot use the spotlight button in the menu. I use a PowerBook 1.67 GHz. It is possible to open spotlight window via the shortcut, but not directly from the menu, when clicking on the blue loupe nothing happens."


This first happened in July on either 10.4.6 or 10.4.7. (I don't have time to research the release dates.) Sometimes a restart fixed it, but not always. Finally I took my machine (PowerBook) to a Genius Bar, where the guy zapped the PRAM 3 times in a row, and everything was fine for a couple of weeks -- but then the problem returned. So I started zapping my PRAM, but the problem always returns. At first it was once a week, then twice, and now it's something like 3 or 4 times a week! And what's worse, zapping the PRAM does *not* always work. I'd say it has about a 50% success rate. Needless to say this is a royal PITA.
I've just used Tinkertool System and Spotless to completely delete all Spotlight-related items, and my database is being rebuilt. Don't know yet if it'll work, but thought I'd go ahead and post this in case anyone has any other leads or suggestions.
(By the way I have several Macs running 10.4.7 and 10.4.8, but this is *only* happening on my PowerBook. Also, my 80-gig drive has only about 7 gigs free, in case anyone thinks that's relevant.)
Thanks.
The reindexing/deleting of spotlight prefs fixed the problem -- but only for several hours. The next morning, "little spotlight" was broken again.
Yesterday, I zapped the PRAM again, which fixed it again -- temporarily. But today it's broken again.
This is an endless nightmare....
I have found the culprit: SystemUIServer. The Fix: Launch Activity Monitor and look for SystemUIServer. Select it, click Quit Process, then Force Quit. "Little Spotlight" will temporarily disappear from its corner and will reappear in a matter of seconds -- and will work again.
I still have to do this 2 or 3 times a week, whenever Spotlight gets stuck -- but at least I have a solution that fixes it in less than 15 seconds.
Worked for me too!
i tried everything else you mentioned with no success. this happened when i upgraded to OS 10.4.11
- by kgould1 February 14, 2008 7:39 AM PST
- This is also relevant for Leopard.
- Like this Reply to this comment
-
(7 Comments)I have spent a morning futzing with my system which has migrated all the way from Panther (over time) to the latest Leopard. After the Leopard install Spotlight stopped working. There are other sources on the net that claim to tell you how to use mdutil, but they all get the syntax wrong. I also suspect that the key to getting Spotlight back in line is deleting the appropriate files
Thanks guys. Well worth my Mac Fixit subs