Archive for the 'General' Category

fixing nagios on debian

Monday, January 17th, 2005

I had trouble with CGI access to Nagios after an apt-get upgrade on my debian box. I kept getting the error “It appears as though you do not have permission to view information for any of the services you requested”. The key is to remember to check that all the configuration files are […]

helpful hint

Tuesday, November 23rd, 2004

If it’s a big pain when a workstation’s ssh keypair gets lost, back it up.

!/bin/sh

HOSTNAME=hostname sudo cat /etc/ssh/sshhostdsakey > wskeys/sshhostdsakey.${HOSTNAME} sudo cat /etc/ssh/sshhostdsakey.pub > wskeys/sshhostdsakey.pub.${HOSTNAME} sudo cat /etc/ssh/sshhostrsakey > wskeys/sshhostrsakey.${HOSTNAME} sudo cat /etc/ssh/sshhostrsakey.pub > wskeys/sshhostrsakey.pub.${HOSTNAME}

chmod go-r ws_keys/*.${HOSTNAME}

caretaker indirection

Monday, November 22nd, 2004

We’ve got a “data archive” here, where we store all of our raw fMRI data, for safe-keeping. Unfortunately, it’s hard to allow the kind of fine-grained access control which would allow people to insert new data but disallow alteration or removal of data.

The solution I’ve come up with is to use a caretaker pattern, […]

i2o, adaptec, raidutils, and 2.6.x

Wednesday, November 10th, 2004

I’m getting hit with Debian bug #278239. What’s happening is I upgraded the kernel on the server to 2.6.x (which gave a significant performance boost) and the standard dpti2o module has been subsumed by the i2oblock and associated modules. I guess the kernel headers changed too, along with the device names/numbers associated with managing […]

new machine, and x86_64 joy

Wednesday, November 10th, 2004

So, I transplanted the brains of one of my workstations today, taking out an aging k7 and stuffing in a new Athlon 64. This required some re-jiggering of my previous availability calculations, since the bogomips are low on these new Athlons. I decided to run a quick benchmark on all the machines and […]