" CloudLinux "

Perl CPAN DBD::mysql error “FAILED–Further testing stopped” after upgrading Watch MySQL (XSLoader.pm, libmysqlclient.so)

I recently ran into an issue with Perl connecting to MySQL after upgrading a plugin for cPanel/WHM called Watch MySQL. After going through the logs files I determined the error was with a missing dependency file XSLoader.pm and libmysqlclient.so. The problem actually ended up being that those files were not installed because the Perl CPAN upgrade for DBD::mysql failed. After some research it was actually very easy to fix … (more…)

Generate an inode report (file count) for Debian, CentOS, cPanel, RHEL, with INODES shell/bash script

If you have every used shared hosting, or are involved with the hosting business in any way, you should already know what an inode is. Each time a file is created, uploaded, and so on, an inode is created. This inode stores information like ownership, permissions, etc … basically all the metadata about the file. What is the purpose of limiting the amount of files/inodes? Because each shared host will have many customers on the same server, customers that have excessive amounts of inodes (anywhere from 100,000 to 500,000 and up), can cause a heavy load on the server during backups, general operation, and can be taxing on hard drives. Most of the time excessive amounts of inodes is due to cache scripts installed by the user, catchall email accounts, and normally the customer/user doesn’t even know they exist. Well fear no more, I have created a shell/bash script that will help generate reports, and soon notify you about inode usage… (more…)

How to fix CloudLinux error UsePAM yes is missing

Just recently while going through email notifications for some of my servers, I noticed one of them was showing a CloudLinux error in reference to UsePAM yes being in the sshd_config file.  After checking the /etc/ssh/sshd_config and seeing that entry was in fact in there, I had to do a little bit of research to figure out how to fix it… (more…)