Benches macOS

9

mdutil not manipulating metadata index se…

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

I seem to be having a perplexing issue with spotlight and finder searching. On a 10.5.6 Server system, mdutil behaves as follows:

sudo mdutil -s /

/:

Indexing and searching disabled.

sudo mdutil -i on /

/:

Indexing and searching disabled.

sudo mdutil -E /

/:

Indexing and searching disabled.

+# as this problem really pertains to an afp share, i tried using the path to that folder as well:+

sudo mdutil -s /Volumes/System/Shared Items/

/Shared Items:

No index.

sudo mdutil -i on /Volumes/System/Shared Items/

/Shared Items:

Error: invalid operation.

No index.

sudo mdutil -E /Volumes/System/Shared Items/

/Shared Items:

No index.

i actually have this happening on more than one server as well. i have tried deleting the .Spotlight folders in addition to the steps above. I also have tried using the privacy pane in system preferences. No luck and unhappy users. : (. Can anyone share info with me that might lead me down the right path?

9 replies

Sign in or join Beachball Help to reply.

  1. 0

    perspektive

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    in addition, the syslog is cluttered with mds errors:

    No store registered for scope "/" that occur with surprising, every 30 second regularity??

  2. 0

    Brian Nesse

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Have you checked the "Enable Spotlight searching" checkbox in the Share Point tab of the File Sharing panel in Server Admin?

  3. 0

    perspektive

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    absolutely. i have tried disabling and re-enabling a number of times as well, to compensate for Server Admin's sometimes misleading GUI. thanks though. any other ideas?

  4. 0

    Brian Nesse

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Sorry, no. A quick test of 'sudo mdutil -sav' on a couple of my systems informs me that none of my systems are making indexes either... which is no big surprise because I've never had any luck with Spotlight. 🙂

  5. 0

    Edward A. Oates

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I am having a similar issue with non-server OS X 10.5.6: nothing on my startup drive is spotlighted, so even mail "search entire message" does not work (most inconvenient). Tried all the usual move the startup drive in and out of spotlight privacy, but no joy: indexing didn't occur.

    So I did the sudo mdutil commands you suggested and got the same results. Then for grins, I did a "man mdutil" to keep the doc on screen, and then opened an new terminal window.

    This time sudo mdutil -i on / WORKED!

    then a sudo mdtutil -E / started up a long (says two hours to go in SPOTLIGHT) indexed process.

    I'm not sure if the gods were with me or opening a second window had any thing at all to do with it (can't imagine how!), but it's doing something it didn't do before.

    This all started after an upgrade from 10.4.11 to 10.5.6 (upgrade, not a clean install then reinstall everything). The big change I made form 10.4 to 10.5 is now I use Time Machine instead of SuperDuper! to back up my files; I used "spotless" with SuperDuper due to some old issues. Maybe that caused a problem.

    I'll report back when the index is complete.

    Eddie O

  6. 0

    Edward A. Oates

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    The spotlight indexing completed and now I have all of the expected Spotlight searching: mail and the startup drive are indexed and files with content specified are found. Yay!

    Eddie O

  7. 0

    perspektive

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    interesting... perhaps thats the sort of coincidence that causes folks to think that the light going out in the fridge caused the dishwasher to go out as well...

    ; )

    i'm glad its working for you now eddie. pass some of that magical luck my way will ya?

  8. 0

    perspektive

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    reinstalled os x server to fix this.

  9. 0

    perspektive

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    i had to reinstall os x server as a last resort, which did fix this issue.