Spotlight = dead
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.
$ 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
$ sudo mudutil -s /
/:
Error: Could not get indexing status for volume.
Seems hopeless
Originally posted by chych
$ sudo mdutil -s /
/:
Error: Could not get indexing status for volume.
Seems hopeless
Is the index directory there?
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
Dual-G5:/ lundy$ sudo ls -la /.Spotlight-V100/
Should reveal
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.