Tag: Linux

Preparing Linux Template VMs

27 September 2015

Dan over at Bashing Linux has a good post on what he does to prep his template VMs for use with Puppet. He’s inspired me to share how I prepare my Linux VMs to become a template. He’s got a few steps I don’t have, mainly to prep for Puppet, and I have a few steps he […]

Apache Error: “semget: No space left on device”

5 July 2015

Apache Error: “semget: No space left on device” If Apache fails, and will not successfully start again, check the error log. If you see an error similar to the following, it could indicate that your server has run out of semaphores. semget: No space left on device To see how many semaphores are being used, SSH to […]

How to Recover InnoDB Corruption for MySQL

19 April 2015

How to Recover InnoDB Corruption for MySQL Assume you’re running MySQL with Innodb tables and you’ve got crappy hardware, driver bug, kernel bug, unlucky power failure or some rare MySQL bug and some pages in Innodb tablespace got corrupted. In such cases Innodb will typically print something like this: InnoDB: Database page corruption on disk […]

Bypassing Bad fstab Failure When Booting Linux

28 July 2014

Bypassing Bad fstab Failure When Booting Linux Usually you can enter root password and try to edit fstab, but it wouldn’t let you edit. because its read-only mode. so here is the method to work-around that. If /etc/fstab file is created with errors or the hardware configuration changes such as adding hard disks, Linux will boot into failure […]