Spotlight = dead

Posted:
in Genius Bar edited January 2014
My spotlight index seems to have died, no idea how to fix it, I've tried the normal reset commands:



$ sudo mdutil -E /

/:

Error, no index found for volume.

$ sudo mdutil -i off /

/:

Could not set indexing status for volume.

$ sudo mdutil -i on /

/:

Could not set indexing status for volume.



Also tried my other volumes in /Volumes, still no go.



Also tried doing an mdimport -f on a directory, didn't do anything.



Don't really know when this happened, I don't use spotlight too frequently, but I just noticed this. Tried repair permissions, no go.

Comments

  • Reply 1 of 3
    rara Posts: 623member
    What does the following return:

    $ sudo mudutil -s /
  • Reply 2 of 3
    chychchych Posts: 860member
    $ sudo mdutil -s /

    /:

    Error: Could not get indexing status for volume.





    Seems hopeless :/
  • Reply 3 of 3
    lundylundy Posts: 4,466member
    Quote:

    Originally posted by chych

    $ sudo mdutil -s /

    /:

    Error: Could not get indexing status for volume.





    Seems hopeless :/




    Is the index directory there?



    Quote:

    Dual-G5:~ lundy$ cd /

    Dual-G5:/ lundy$ ls -la



    should show the folder



    drw------- 8 root admin 272 Jul 14 13:42 .Spotlight-V100





    and



    Quote:

    Dual-G5:/ lundy$ sudo ls -la /.Spotlight-V100/



    Should reveal

    Quote:

    total 176736

    drw------- 8 root admin 272 Jul 14 13:42 .

    dr-xrwxr-t 29 root admin 1088 Jul 14 13:42 ..

    -rw------- 1 root admin 0 Jul 19 15:16 .journalHistoryLog

    -rw------- 1 root admin 19550208 Jul 19 23:30 .store.db

    -rw------- 1 root admin 51380224 Jul 19 22:53 ContentIndex.db

    -rw------- 1 root admin 394 Jul 14 13:42 _exclusions.plist

    -rw------- 1 root admin 378 May 1 23:41 _rules.plist

    -rw------- 1 root admin 19550208 Jul 19 23:30 store.db

    Dual-G5:/ lundy$



    You can just delete that directory and it should rebuild.
Sign In or Register to comment.