Percona apt_key download link

I’ve just been setting up Ansible and needed to find a download of the Percona RPM GPG APT-KEY so that I could use the apt_key module. You can download the Percona apt-key here: http://www.percona.com/redir/downloads/RPM-GPG-KEY-percona With Ansible you can add this key to a server via the play:

How to recover a qcow2 file using fsck

I just upgrade Ubuntu on one of my virtual machines and for some reason the file system was corrupted after I rebooted the server. I got errors like: ext4-fs error ext4_lookup deleted inode referenced Great. Here is how I fixed the problem. I found the solution was to attach the qcow2 file as a device … Read more

KVM: Host CPU does not provide required features

I just exported / copied a virtual machine from one of our servers (a HP Proliant) to my laptop so that I could to mess around with it offline. I used the following commands to export the domain. On the server: On the laptop: However, I got this error on the laptop: error: unsupported configuration: … Read more

MySQL Problems – a complete reinstall

I rebooted an Ubuntu 12.04 server after upgrading the kernel and MySQL.  However, I found that the new MySQL would not start. When I tried: sudo service start mysql I got: start: job failed to start There were no errors appearing in the /var/log/mysql/error.log and so there was no information to help debug it.  I … Read more

Boot partition full of old kernels

I started getting an error message every time I booted into Ubuntu.  “‘The volume “boot” has only ….. bytes disk space remaining.”.   This is caused by old Linux kernels filling up the boot partition on the hard drive.  For most users, you don’t need to keep old kernels and therefore you can remove them … Read more