Spotlight keeps crashing

sincil

Registered
Mini G4 1.42, 512MB, Tiger 10.4.7

Spotlight keeps crashing - it never finishes indexing now.
Looking in my console log, I see:

---
Sep 19 23:10:02 MiniMac crashdump[1984]: mds crashed
Looking for devices matching vendor ID=1193 and product ID=8718
Looking for devices matching vendor ID=1193 and product ID=8717
Sep 19 23:10:02 MiniMac crashdump[1984]: crash report written to: /Library/Logs/CrashReporter/mds.crash.log
Looking for devices matching vendor ID=1193 and product ID=8718
Looking for devices matching vendor ID=1193 and product ID=8717
Looking for devices matching vendor ID=1193 and product ID=8718
Looking for devices matching vendor ID=1193 and product ID=8717
---

In my system log I see (Spotlight crashes approx every 20 seconds)

---
Sep 19 23:11:05 MiniMac crashdump[1997]: mds crashed
Sep 19 23:11:05 MiniMac crashdump[1997]: crash report written to: /Library/Logs/CrashReporter/mds.crash.log
Sep 19 23:11:20 MiniMac launchd: Server 0 in bootstrap 0 uid 0: "/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Support/mdsyncServer"[1995]: exited abnormally: Terminated
---

I can post the crash mds log also if that would be any use.
If any one has any pointers on how to fix this?!

Thanks


Sincil
 
You might try these "Spotlight" commands in a Terminal window.
In the following order...

Check for volume names...
In Terminal type the following 2 commands

cd /Volumes (enter)
ls (enter)

Remember the volume name for your start up volume.

Use the Terminal to turn it off for the drive;
sudo mdutil -i off /Volumes/your_hard_drive_name_1

Then use mdutil to remove the indexes from the drive;
sudo mdutil -E /Volumes/your_hard_drive_name_1

Now reindex your drive
sudo mdutil -E /Volumes/your_hard_drive_name_1

This procedure has always worked for me when Spotlight acts up.

jb.
 
Thanks Jbarley - it has now stopped crashing for the time being whilst indexing is off!

Then use mdutil to remove the indexes from the drive;
sudo mdutil -E /Volumes/your_hard_drive_name_1

Now reindex your drive
sudo mdutil -E /Volumes/your_hard_drive_name_1

These two commands are the same. Presume the second one is a typo? What should it be?

Thanks in advance
 
1) Using the mdutil command-line utility in Terminal, turn off indexing for each of your drives. Example:
• $ sudo mdutil -i off /Volumes/your_hard_drive_name_1

2) Then use mdutil to remove the indexes from each drive
• $ sudo mdutil -E /Volumes/your_hard_drive_name_1

3) Physically remove the .Spotlight directories from the root of each drive.
• $ cd /
• $ sudo rm -fr .Spotlight-V100
(do the same for your second or third drive)

4) Use mdutil again to turn indexing back on for each drive
• $ sudo mdutil -i on /Volumes/your_hard_drive_name_1

5) Spotlight will now re-index all drives
 
Back
Top