Category Archives: Sysadmin

on the importance of gem cleanup

I have a monit config that tries to stop/start mongrel instances like this: start program = “/usr/bin/mongrel_rails cluster::start -C path-to-mongrel_cluster.yml –clean –only PORT” stop program = “/usr/bin/mongrel_rails cluster::stop -C path-to-mongrel_cluster.yml –clean –only PORT” I have the latest mongrel_cluster gem installed … Continue reading

Posted in Rails, Sysadmin | Leave a comment

checking dns glue records

This is mostly a reminder to myself. Here’s a way to check a domain’s DNS glue records. For example, for google: dig +trace +nosearch +all +norecurse google.com

Posted in Sysadmin | Tagged , , | Leave a comment

counting known_hosts

All right folks, time to fess up. What’s your count? $ wc ~/.ssh/known_hosts -l 1470 Obviously there are some old machines in there – this file goes back at least five years. There are some duplicates as well as there … Continue reading

Posted in Sysadmin | 1 Comment

recycling a ton of old computing gear

We recycled at work this week – literally over a metric ton (estimated) of old servers. This is what about two thirds of that amount looked liked: Apologies for the low quality picture – I only had a crappy cell … Continue reading

Posted in Environment, Hardware, Sysadmin | 2 Comments

ff3 sets downloaded files as readonly when using the ‘open with’ feature

Firefox 3 has a new ‘feature’ where downloaded files are marked readonly when they are opened on the fly with the ‘open with’ feature. The reasoning behind this is that there were many people who lost information because they didn’t … Continue reading

Posted in Sysadmin | 1 Comment

what’s going on with the .org nameservers?

I got rather strange error messages from two servers this evening, one at 18:00:21 EST, and another one at 18:34:01 EST. One server lives in Brussels, the other in Boston. On both servers a (totally different) script executed via cron … Continue reading

Posted in Sysadmin | 1 Comment

lessons learned from a colo migration

I moved a bunch of servers from one colocation facility to another last night. I had been preparing this move for a few weeks. While everything went well in the end, things took much longer than anticipated. Here are a … Continue reading

Posted in Sysadmin | Leave a comment

wireless mac address cloning on WRT54GL

I have a bunch of WRT54GL units that still run OpenWRT Kamikaze 7.07 (latest version is 7.09). I needed to swap out a unit that is one half of a WDS pair, but preferred not to touch the other half. … Continue reading

Posted in Sysadmin | Leave a comment

xen 3.2 serial

Getting access to the serial port in a Xen 3.2 dom0 is somewhat complicated. This is the magic incantation for your grub menu.lst file to get console at 115200 bps on the first physical serial port, as well as on … Continue reading

Posted in Sysadmin, Xen | Leave a comment

sanitizing /var/log

I don’t know about you, but I like to have my system logs split day by day, particularly on busy machines. I also like to have a full timestamp (including year and timezone thank you) in system log files. The … Continue reading

Posted in Sysadmin | Leave a comment