Categories
email

Amavis / SpamAssassin

SpamAssassin Some random bits and pieces related to SpamAssassin and Amavis

Categories
linux

Script to fix NFS (Debian Squeeze + Backports bits)

I have a NFS server running Debian Squeeze. Additionally it’s using the 3.2.x kernel from backports, and the nfs-kernel-server from backports too. Sometimes NFS breaks, and gives helpful messages like : mount.nfs: connection timed out or just: Stale NFS handle on clients.   While I’m confident that my /etc/exports and other configuration files are correct, […]

Categories
linux

Virtualbox 4.2 VM autostart on Debian Squeeze & Wheezy

One new feature of VirtualBox 4.2 is that it has support for auto-starting vm’s on bootup of the host server (via init etc). This means I can remove my hackish ‘su – vbox -c “VBoxHeadless –startvm VMName &”‘ additions in /etc/rc.local, and the VM’s will also hopefully be terminated gracefully on shutdown. The docs/guides online […]

Categories
linux

Migrating an ext3 filesystem to ext4 (Debian Squeeze)

Interestingly (well, perhaps not really) this is very easy. In my case, I’m hoping that the migration will lead to faster fsck times (currently it’s taking about an hour, which is somewhat excessive, each time the server crashes for whatever reason). In my case, the filesystem is /dev/md0 and mounted at /home – change the […]

Categories
Uncategorized

fsck -y (or fsck yes…)

Tip for the day: Edit /etc/default/rcS on Debian/Ubuntu servers, and set FSCKFIX=yes (default of no) so next time your server runs fsck at startup, and spends hours doing it to only moan when it finds an error, and tells you to waste more time by running fsck with ‘-y’ (to fix it). Quite why fsck […]