Mac OS X Server: iChat Service Re-inititialization

If there’s ever trouble with iChat server and ServerAdmin doesn’t let you do anything, you can fix things up based on this Apple Support article:

This can occur if the /Library/Preferences/ichatserver.plist file has been deleted or is problematic. If the com.apple.ichatserver.plist file is deleted a new default version of this plist will be created.

$ sudo /usr/libexec/PlistBuddy -c "Set :initialized true" /Library/Preferences/com.apple.ichatserver.plist

Refresh the Server Admin view for the iChat service. The Start button should now appear and the service should be configurable.

You can reset the iChat database with (you should make sure you have a backup!):

$ sudo rm -rf /private/var/jabberd/sqlite
$ sudo /usr/libexec/ichatserver_init_tool -i

Visualizing disk usage (Mac OS X)

I downloaded GrandPerspective to visualize disk usage on my laptop. It uses the tree visualization algorithm to show the directory hierarchy and the size of the hierarchy.
grandperspective.png
Each “bump” represents a file with the area reflecting the relatives size. As you move around, a series of nested rectangles are highlighted. Each highlighted rectangle represents a directory and the nesting of the rectangles the directory hierarchy.

Suse 11.1, NFS, exportfs

I tried to mount an NFS volume on my MacBook at home and it was failing. I hadn’t accesed my NFS in a month since I updated to OpenSuse 11.1 or changed some network parameters.
Checking the logs on the server (/var/log/messages) showed this error:

mount request from unknown host

but the IP address seemed good. I checked the exported filesystems:

$ sudo exportfs
/home           192.168.13.*

and everything looked fine. Checked the exports(5) man page:

$ man 5 exports

and realized the “*” is meaningless in that context. Changed /etc/exports to use the /24 address for my network:

/home   192.168.13.0/24(fsid=0,root_squash,sync,no_subtree_check)

and re-exported:

$ sudo exportfs -ra