-
Recent Posts
Categories
Archives
Author Archives: pingd
MyISAM Repair all MySQL Databases & Tables
So you’ve probably not made the switch to InnoDB or XtraDB yet, shame on you! But tonight your server crashed, ran out of disk space or otherwise corrupted all of your active tables across various databases. Ouch! How are we … Continue reading
Reset Supermicro IPMI Password From Windows
I recently had an issue where we lost the password for IPMI to a brand new Supermicro server. The server was running Windows 2008 STD. Not wanting to mess around rebooting the box to a livecd I had to find … Continue reading
suPHP on CentOS 6 from Source Code
So you’ve decided that you must run php as suPHP on your CentOS 6 based LAMP stack. This is a great idea for security on a multi-site or multi-user environment. Of course management panels like cPanel make running suPHP very … Continue reading
Posted in Linux Guides
Tagged centos 6, fastcgi, lamp, mod_suphp, mod_suphp.so, php, php.conf, security, source code, suphp, suphp-0.7.1, suphp.conf
Leave a comment
AWK to win friends and influence women
AWK is a powerful tool, a language really, that every administrator needs to know. I recommend everyone read about awk and learn how to use it. It can really make your day when you need to do something, quick and … Continue reading
Posted in Bash One-Liners
Tagged /dev/urandom, awk, awk script, bash, bash script, head, linux, oneliner, onliners, scripting, substr, tolower, tr
1 Comment
CRON ERROR: failed to open PAM security session: Protocol not supported
Got an interesting report of an error on one of our servers. I was told crons for a user account on our server weren’t running. I tailed the cron log (/var/log/cron) and came to find these errors:
Posted in Linux Guides
Tagged cron error, crond, crons, hard limit, limits.conf, linux, maxlogins, pam, security, ulimit, ulimits
Leave a comment
ZFS on Linux RC10 released!
The ZFS on linux team has released a new version of SPL and ZFS with multiple benefits to users. The new version is 0.6.0-rc10 and our guide found here is being updated now: Installing ZFS RAID-Z on CentOS 6.2 with … Continue reading
Posted in Linux Guides
Tagged linux zfs, new zfs released, spl, zfs, zfs 0.6.0-rc10, zfs on centos, zfs on linux
Leave a comment
Pick random line from text file with bash and shuf.
So lets say you have a text file called list.txt with entries like: What if you wanted to pick a random entry? The easiest solution is to use the ‘shuf’ tool, which is standard on CentOS as part of coreutils. … Continue reading
Posted in Bash One-Liners, Linux Guides
Tagged bash, coreutils, linux, random, random line, shuf, text lists, text manipulation
Leave a comment
New ZFS on Linux release (RC9).
We have one of the most comprehensive guides on the internet for ZFS. Please check the updated guide for assistance with installing ZFS on Linux, specifically CentOS 6.2 here: Installing ZFS RAID-Z on CentOS 6.2 with SSD Caching
Posted in Linux Guides
Tagged updated guide, zfs, zfs on centos, zfs on linux, zfs rc9
Leave a comment
No module named cElementTree yum update error
Found yum broken on a legacy CentOS 5.x server while installing updates. The error was: root # yum update There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: … Continue reading
Posted in Linux Guides
Tagged cElementTree, centos, centos updates, python, python-elementtree, yum, yum updates
1 Comment