Slow SSH and SCP connections on Ubuntu

My home Ubuntu Jaunty installation often takes a good 40-60 seconds to connect to using SSH, none of the other servers I maintain have...

Generating Secure Passwords With pwgen

At my current place of employment we have a fairly strict password policy for everything, all passwords must be unique (so no single password...

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

Saving the RAID

I managed to screw up my home machine when upgrading from Dapper to Hardy somehow, so decided to flatten and reinstall Hardy from scratch. This...

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

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

PHP Java Bridge in Ubuntu Gutsy with Lucene

The php/java bridge it a pretty awesome little protocol that basically lets us use java classes inside our own PHP applications! This lets you...

rpmdb: Lock table is out of available locker

I had a crazy weird bug today whilst running Puppet on one of our CentOS boxes where no packages were being installed. A quick...

xend refusing to start

We recently had a few power outages at work, some scheduled, some not, and this played havoc with our xen servers. One of the problems...
sudo: sorry, you must have a tty to run sudo

sudo: sorry, you must have a tty to run sudo

We're using an old version of Upstart, on Centos, to manage stopping and starting our Node.js daemons, and one of the things the...