Error: Could not stat() command file ‘/var/lib/nagios3/rw/nagios.cmd’!

I've been doing a lot of Nagios deployments recently, and this error always bites me, on all Ubuntu versions, including Hardy and Intrepid (haven't...

Apache2 with SSL and Tomcat5.5 on Ubuntu

One of the newer features to our site is an access control mechanism to force specific paths to only be delivered over SSL when...

Keeping Linux Users In A MySQL Database With libpam-mysql On Ubuntu

I want to have a set of users on my Ubuntu 10.4 Lucid Lynx box managed by MySQL, rather than LDAP for a change...

Copying files between servers with netcat and tar

One of the quickest ways (faster than scp at any rate) of copying a large number of files between 2 servers is by abusing...
couchdb

CouchDB {“error”:”insecure_rewrite_rule”,”reason”:”too many ../.. segments”}

Whilst working an AMAZING NPM repository mirror yesterday (which totally works, despite not really offering the performance benefit I'd hoped, because NPM is rubbish)...
authorized_keys vs authorized_keys2

authorized_keys vs authorized_keys2

Earlier today I was setting up a brand new server for a migration and just as I was typing scp .ssh/authorized_keys2 my...

High availability with LVS using LVSadmin

The Linux Virtual Server is a highly scalable and highly available server built on a cluster of real servers, with the load balancer running...

BackupPC ping too slow

Whilst adding a new remote server to our BackupPC configuration, it threw the following error Contents of file /Volumes/2TB/backuppc/pc/www.server.co.uk/LOG.102011, modified 2011-10-25 13:10:23 2011-10-25 12:00:00 ping too...
Pipe Viewer

pv – Pipe Viewer – My New Favourite Command Line Tool

I've got a rather large dataset that I need to do a lot of processing on, over several iterations, it's a 20gb zip...

Bash Shortcuts

Meta- go to beginning of history file Meta-> -> go to end of history file Meta-f -> go to next word in command line Meta-b -> go...

Instagram