• On BNET: Why Domino's admitted its pizza sucked
advertisement
October 17, 2006 8:57 AM PDT

Mac OS X 10.4.8 Special Report: Spotlight issues

by CNET staff

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

MacFixIt 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."

Resources

  • More from Late-Breakers
  • Recent posts from MacFixIt
    iTunes 10 user interface sees some minor changes
    Apple seeds iOS 4.1 Gold Master to developers
    Possible fix for Harman Kardon iSub problems with PowerPC Macs
    Precautions to take before installing iTunes 10
    A reminder on how to reset your Mac's system password
    Mail messages appearing blank
    Adobe Lightroom update brings direct Facebook publishing; Camera Raw 6.2 released
    Weekly troubleshooting utilities update
    Add a Comment (Log in or register) (7 Comments)
    • prev
    • next
    by soundsgoodtome November 11, 2006 5:30 PM PST
    I've been having increasing problems with Spotlight for the last 2-3 months. Something is breaking the menu version. (I call it "little Spotlight.) Neither clicking on it nor using the keyboard shortcut works. I get a blue square around the Spotlight icon, as if it's going to open, but it just "freezes" there and never opens. However, Big Spotlight works fine.

    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.
    Reply to this comment
    by soundsgoodtome November 11, 2006 5:31 PM PST
    <class="merchant"><span>&#62;</span><div class="datestamp"><i>This is a reply to a previous comment by soundsgoodtome</i></div></class><br />
    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....
    Reply to this comment
    by soundsgoodtome November 11, 2006 5:31 PM PST
    <class="merchant"><span>&#62;&#62;</span><div class="datestamp"><i>This is a reply to a previous comment by soundsgoodtome</i></div></class><br />
    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.
    Reply to this comment
    by Richard Martin November 11, 2006 5:31 PM PST
    <class="merchant"><span>&#62;&#62;&#62;</span><div class="datestamp"><i>This is a reply to a previous comment by soundsgoodtome</i></div></class><br />
    Worked for me too!
    Reply to this comment
    by John Sawyer October 3, 2007 3:00 AM PDT
    Something that usually gets Spotlight working again, when nothing else will: an Archive and Install of OS X.
    Reply to this comment
    by V Randle January 22, 2008 9:58 AM PST
    this fix worked for me, too.
    i tried everything else you mentioned with no success. this happened when i upgraded to OS 10.4.11
    Reply to this comment
    by kgould1 February 14, 2008 7:39 AM PST
    This is also relevant for Leopard.

    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
    Reply to this comment
    (7 Comments)
    • prev
    • next