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...