Databases missing from cPanel after MySQL upgrade !

A weird situation is when you can see the databases, its tables and so on from phpmyadmin of the concerned cPanel account or even from the backend, but is actually found missing under the ‘Databases’ section. This issue occurs due to the lack of mapping of databases....

Help with cPHulk Brute Force Protection !

Brute force is an attack that involves using an automated system to guess the password to your web server or services. cPHulk provides protection against brute force attacks. Some useful commands to deal with cPHulk Brute Force Protection from the back-end : First get...

Clearing huge eximstats db !

The eximstats database might tend to grow in size if there is high amount of mailing from your server. Check if the following value from WHM is set to a higher interval : Home »Server Configuration »Tweak Settings >> “The interval, in days, to retain Exim...

Troubleshooting issues with named !

When you have a server without any control panel, it becomes a pain in the arse to manage the services, especially the DNS service. You have got the tedious job of installing bind, altering the configuration file, manually creating the zone files and so on. Here are...

Complete installation of Virtualmin – CentOS 6.x

Once your new server is provisioned , install Perl in it which stands as the base for all further installations. You can use the following command to install Perl : # yum install perl -y When this is complete, download the script to install Virtualmin : # wget...

Error – /bin/rm: Argument list too long !

When trying to delete the files of a folder ( using # rm ) with lots of contents in it , you might get this error : /bin/rm : Argument list too long The traditional # rm command will not be able to delete too many files in a directory. To get around this, use the...

MySQL server not starting – Part 3

A common issue when MySQL versions are upgraded is the presence of depreciated commands in /etc/my.cnf that would prevent MySQL from restarting.  Other than the presence of depreciated ones, incomplete commands too can cause the issues. When MySQL is upgraded to 5.5...

Clear Qmail queue – Plesk

In order to clear the Qmail queue, initiate the following commands from shell : # service qmail stop # find /var/qmail/queue/mess -type f -exec rm {} \; # find /var/qmail/queue/info -type f -exec rm {} \; # find /var/qmail/queue/local -type f -exec rm {} \; # find...

Migrate all accounts from a cPanel server to another one

Yes, you have got the WHM option of migrating the accounts. However, most chances are for it to fail. Also, you cannot keep your eyes on the screen and watch the progress. What if your local internet connection breaks in between this ? It ends up in a mess and more...

MySQL server not starting – Part 2

There are ton’s of causes for which MySQL might not start, ranging from disk space full ( highlighted here ) to databases getting corrupt. First place where you have to check for a clue is the .err log – ( /var/lib/mysql/hostname.err ) If the err corresponds to...