-
Recent Posts
Recent Comments
Archives
Categories
Meta
Category Archives: Uncategorized
Adding AHCI to centos initrd
Ever needed to add AHCI to a centos system after an install. A quick way to do it is just: modprobe ahci cp /boot/initrd-`uname -r`.img /boot/initrd-`uname -r`.img.bak mkinitrd -f –with=ahci /boot/initrd-`uname -r`.img `uname -r`
Posted in Uncategorized
Leave a comment
cpanel + rrdtool not installing (new install)
Frequently I came across new cpanel installs not installing rrdtool correctly. The error would end at Using catalogs: /etc/sgml/sgml-docbook-3.1-1.0-51.el6.cat Using stylesheet: /usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl#print Working on: /usr/local/cpanel/src/3rdparty/gpl/fontconfig-2.6.0/doc/local-fontconfig-devel.sgml nsgmls:(invalid location):E: invalid filename “” rmdir: failed to remove `devel-man’: Directory not empty gmake[2]: *** … Continue reading
Posted in Uncategorized
Leave a comment
CloudLinux Single mode
I’ve always had trouble getting into single mode in cloudlinux. Trying to type single would show up as gibberish. Looking at a server today, I accidentally came across a way around this, by hitting c (to go to the grub … Continue reading
Posted in Uncategorized
Leave a comment
Send exim on another IP address, for a specific domain
I was looking for a way to send mail to one domain on an IP, and all other mail on another domain on another IP. The basic exim remote SMTP set up is remote_smtp: driver=smtp To switch the exim ip, … Continue reading
Posted in Uncategorized
Leave a comment
OpenVZ Container Error
Ran into an issue where an openvz container would start up, but the networking would not. Running in verbose mode I saw ifup-venet WARNING: Device list is empty After looking around, searching the web I could not come up with … Continue reading
Posted in Uncategorized
Leave a comment
Copy accounts from a reseller WHM with out the root password (automatically)
I quickly wrote this script to easily run the backup process for all accounts of a reseller using WHM. This calls the backup process in cpanel for each account using the ftp/scp copy function. Once its done you need to … Continue reading
Posted in Uncategorized
Leave a comment
CentOS 6.2 and libvirt startup issues
After the centos 6.2 update I noticed libvirt was not running on some servers. Looking at the logs I found Starting libvirtd daemon: 10:35:16.697: 6933: info : libvirt version: 0.9.4, package: 23.el6_2.1 (CentOS BuildSystem <http://bugs.centos.org>, 2011-12-17-16:39:59, c6b4.bsys.dev.centos.org) 10:35:16.697: 6933: error … Continue reading
Posted in Uncategorized
4 Comments
OpenVZ and CentOS6
I have been testing openvz on centos6 today, and following my normal config I installed software raid1. Everything went fine until a reboot into the centos kernel. On a reboot, I got an error dracut cannot find root, “sleeping … Continue reading
Posted in Uncategorized
Leave a comment