Configuring Tomcat 5.5 and Apache 2 with mod_jk

mod_jk is a conduit between a web server and Tomcat, it supports a variety of web servers including IIS. Using mod_jk to put Apache...
monit

monit: error connecting to the monit daemon

We're rolling out monit on our new platform at the request of a vendor to manage their new service. I've always been dead...

Experiments In Bitcoin

Earlier today I got in to discussing Bitcoin Arbitrage with a mate of mine, with the cunning plan of creating a bot to...

Resize LVM ReiserFS Partition

Mucking about with LVM and partitions isn't really taxing, it's all well documented. Trusting it however is a different matter. I've resized loads of...

File Roller and 7zip

I recently needed to extract a file with the new, popular 7zip compression, which Ubuntu's File Roller doesn't support out of the box. Enabling...

Syntax Highlighting In VIm

Syntax highlighting in vim can be super tricky, by default a lot of desktop environments seem to have white terminals, which is a bit...

Using PowerDNS with PostgreSQL on Ubuntu Gutsy

We handle DNS for thousands of domains for our customers and whilst our existing solution worked it was very messy to maintain and...

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...

Ubuntu and webcams

I've had some debugging to do for work for a part of our site that uses webcams but I've been a bit hazey about...

Changing variables in a BASH while loop

There is an error that I often run in to when working with files and while loops in BASH. Often I have scripts similar...