random musings from a twisted mind
Archive for January, 2009
shining a light on spotlight
Jan 14th
Show the status of spotlight on volumes:
$ mdutil -sa
/Shared Items/Public:
Indexing enabled.
/Volumes/Time Machine/Shared Items/Backups:
Indexing and searching disabled.
/Users:
Indexing enabled.
/Volumes/pool1:
Indexing and searching disabled.
/Shared Items/Backups:
Indexing enabled.
/Groups:
Indexing enabled.
I was recieving a few errors when trying to spotlight for applications (well they didn’t appear) – running
$ sudo mdutil -i off /
Error, no index found for volume.
What worked to fix this for me was to move the main volume into the privacy section of spotlight and reboot (though i’d expect restarting fseventd might have the same effect) and then remove the volume from Privacy, 10 minutes later and disk has re-indexed and spotlight is working correctly.
social networking
Jan 6th
Hmm, I’ve always had some trouble using social networks – how much of that is because I’m not, and never been, much of a diarist I don’t know; as a little aid memoire I’ve scribbled together the following diagram of the interactions

EEeeek, err – maybe I should just stick to 1
configuring a macos server network
Jan 5th
So installed Leopard server over the weekend and here’s some notes and annoyances I’ve hit (and overcame)
services fail to start – basically forward/reverse DNS must match
greebo:~ localad$ sudo changeip -checkhostname
Primary address = 172.16.10.196
Current HostName = greebo.snarc.co.uk
DNS HostName = greebo.snarc.co.ukThe names match. There is nothing to change.
So I cheated and am running split horizon DNS, I’ve not done the following – but is here as a reminder (and if I ever have enough disk space)
Changing clients to use your new server (running Software Update)
sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate CatalogURL http://greebo.snarc.co.uk:8088/
And trigger an update from the command line using
sudo softwareupdate –install –all
Time Machine
It’s just easier to start with workgroup mode and use serveradmin to run the machine without converting it.
Things left to do
- Network home directories
- Portable home directories