1 2 Previous Next 25 Replies Latest reply: Jul 16, 2009 11:22 AM by baltwo
Saeven Level 1 Level 1 (0 points)
Hi Everyone,

Unfortunately I am completely unable to search, anywhere, after an update to 10.5.7 yesterday. Finder searches attempts do nothing, and I've lost the ability to search entire messages in Apple Mail.

I've run Disk Utility to repair permissions, have rebooted, and the issue continues.

MacBookPro5,1, Mac OS X (10.5.7)
  • 1. Re: 10.5.7 Update Broke Spotlight!
    V.K. Level 9 Level 9 (56,120 points)
    try rebuilding your spotlight index. add your hard drive for 10 seconds to spotlight's privacy pane in spotlight system preferences and then remove it from there.
  • 2. Re: 10.5.7 Update Broke Spotlight!
    Saeven Level 1 Level 1 (0 points)
    Thanks for the reply.

    I tried adding my HD to the exclusion list in Spotlight, and it reports:

    "The item couldn't be added or removed because of an unknown error"
  • 3. Re: 10.5.7 Update Broke Spotlight!
    Saeven Level 1 Level 1 (0 points)
    Also, issuing:

    mdutil -E /


    Reports:

    /:
    No index.
  • 4. Re: 10.5.7 Update Broke Spotlight!
    Saeven Level 1 Level 1 (0 points)
    This here fixed things:

    sh-3.2# sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
    sh-3.2# sudo mdutil -i on -E /
    /:
    Indexing enabled.
    sh-3.2#


    Why would this not load at boot time...guessing it is supposed to?
  • 5. Re: 10.5.7 Update Broke Spotlight!
    chemster Level 1 Level 1 (0 points)
    I have the same problem as Saeven. For me mdutil -E / reports
    /:
    Error: unable to perform operation. (-1)
    Indexing enabled.
    What does it mean?
  • 6. Re: 10.5.7 Update Broke Spotlight!
    fermusic Level 4 Level 4 (1,130 points)
    Try to use the following Terminal commands (work on 10.5.6)
    I'm not sure about 10.5.7 because I'm back to 5.6 because I'm in a heavy mixing working session and i got some issue... (but i never get spotlight issue and i cannot do any test at this time)

    To temporary disable Spotlight, type the following line commands on the terminal and press Return:

    % sudo launchctl unload /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

    To disable it permanently, type this instead:

    % sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

    To enable Spotlight (after temporary disabling) type the following and press Return:

    % sudo launchctl load /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

    To re-enable it permanently, type this instead:

    % sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

    G
  • 7. Re: 10.5.7 Update Broke Spotlight!
    GanjoManjo Level 1 Level 1 (0 points)
    It means it was unable to erase the index & re-index the root drive (/)
    and that the root drive has indexing enabled (which is normal and probably what you want)
  • 8. Re: 10.5.7 Update Broke Spotlight! - I had 107 errors with mdutil, fixed
    Jeffason Level 1 Level 1 (40 points)
    I just spent so long fixing this

    It had to do with my bootcamp partition and macfuse / ntfs 3g that I forgot I had installed

    I knew this because /Volumes/ had MANY Untitled Volumes...like /Volumes/Untitled 2-50

    These were created at every restart by my system trying to mount the ntfs filesystem, and I could not unmount or erase it.

    I did so many crazy things to try and stop it from mounting. I removed my old macfuse. In terminal type "locate FUSE" and look for an uninstall script, and run it.

    All I did was re-install the latest ntfs 3g , includes latest macFUSE.

    I rebooted, my bootcamp partition mounted on the desktop, and spotlight began indexing.

    After it finished, I had to make a smart folder in Mail.app that searched "entire contents" before the entire contents of the main search worked ( i could search entire contents of emails in spotlight, but not before )

    hope that helps someone, it took me about 5 hours.
  • 9. Re: 10.5.7 Update Broke Spotlight!
    mcomsto Level 1 Level 1 (0 points)
    I am having the same problem. Spotlight just continues to index, never stopping. This only occurred after I upgraded to 10.5.7. Is anyone from Apple out there that can help?
  • 10. Re: 10.5.7 Update Broke Spotlight!
    Macfreqk Level 1 Level 1 (0 points)
    I'm having the same problem in that Spotlight won't start for me. When I try to run,

    sudo mdutil -i on /

    I get:
    Error: unable to perform operation. (-1)
    No index.

    I running 10.5.7 Server on a MacPro.

    I tried the launchctl command to try to temporarily disable Spotlight and I get the following message:

    launchctl: Error unloading: com.apple.metadata.mds

    Any ideas? Do I have to run the 10.5.7 Combo update to get Spotlight running again? Is there a bad plist that can be replaced or edited to fix this?

    Thanks
  • 11. Re: 10.5.7 Update Broke Spotlight!
    baltwo Level 9 Level 9 (60,115 points)
    Try

    *sudo mdutil -E /*

    first, then

    *sudo mdutil -i on /*
  • 12. Re: 10.5.7 Update Broke Spotlight!
    Macfreqk Level 1 Level 1 (0 points)
    Here's what I got:

    studio:~ diradmin$ sudo mdutil -E /
    Password:
    /:
    No index.
    studio:~ diradmin$ sudo mdutil -i on /
    /:
    Error: unable to perform operation. (-1)
    No index.

    Same old story
  • 13. Re: 10.5.7 Update Broke Spotlight!
    baltwo Level 9 Level 9 (60,115 points)
    Then, try this and repeat the mdutil commands afterwards:

    *sudo rm -R /.Spotlight-V100*
  • 14. Re: 10.5.7 Update Broke Spotlight!
    Macfreqk Level 1 Level 1 (0 points)
    I tried removing that directory previously. I also downloaded Onyx. When I go to the Parameters/Spotlight section and try to Enable indexing the Startup-disk it doesn't start and reverts back to being disabled. And I don't see any errors is System or Console logs.

    In Onyx, if I try to disable "Enable the search in Dictionary" or disable "Enable the Calculator" I get these errors in the system.log file

    Jul 6 13:13:53 studio defaults[2515]: \nThe domain/default pair of (com.apple.spotlight, DictionaryLookupEnabled) does not exist
    Jul 6 13:13:53 studio defaults[2516]: \nThe domain/default pair of (com.apple.spotlight, CalculationEnabled) does not exist
    Jul 6 13:14:12 studio com.apple.launchd[343] (com.apple.Spotlight[533]): Exited: Terminated
    Jul 6 13:14:12 studio com.apple.launchd[343] (com.apple.Spotlight[2569]): posix_spawnp("/System/Library/CoreServices/Spotlight.app/Contents/MacOS/Spotlig ht", ...): No such file or directory
    Jul 6 13:14:12 studio com.apple.launchd[343] (com.apple.Spotlight[2569]): Exited with exit code: 1
    Jul 6 13:14:12 studio com.apple.launchd[343] (com.apple.Spotlight): Throttling respawn: Will start in 10 seconds
    Jul 6 13:14:44 studio com.apple.launchd[343] (com.apple.Spotlight): Throttling respawn: Will start in 3 seconds
    Jul 6 13:36:06 studio com.apple.launchd[343] (com.apple.Spotlight): Throttling respawn: Will start in 3 seconds

    On the fourth line, is spotlight missing something in it's app directory?
    Looks like a combo update needed.
1 2 Previous Next