Posts Under Category: WHM

When you run cPanel Security Advisor, and if you get kernel out of date warning message, you need to update server kernel. The warning message may be something like below:

Current kernel version is out of date. current: 2.6.32-358.2.1.el6, expected: 2.6.32-358.23.2.el6 Update current system software in the “Update System Software” area, and then reboot the system in the “Graceful Server Reboot” area.

Updating from WHM may not solve this problem. This tutorial explains how to update kernel and solve this warning.

Login to your server as root via SSH and run following command:

yum update

Accept kernel upgrade when asked. Reboot server after update.


Our Recommended VPS Hosting

In this tutorial I will show you how we can transfer / restore a cPanel website using full cPanel backup from SSH.
Sometimes, cPanel to cPanel transfer may not work as expected. So, in this case you can manually create full cPanel backup, transfer to new server and restore on new server.

Step 1:

Create a full cPanel backup from cPanel >> Files >> Backup
Name of backup file will be something like backup-username.tar.gz

Step 2:

Upload the full cpanel backup file on new server in /home directory.
You can do server to server transfer from SSH using wget or scp command.

Step 3:

When you have uploaded the full cPabel backup file in /home directory of new server, login as root via SSH and run following command:

/scripts/restorepkg username

In above command, change username to your actual cPanel username which you are transferring.
It will take sometime to restore the account depending on size of the backup file.

You can also restore account from:

WHm Home >> Backup >> Restore a Full Backup/cpmove File

Our Recommended VPS Hosting

Error_log file saves the error logs of a account / user / website. There can be multiple error_log file under one user / account / website.

These error_log files may consume lots of space on your server. Sometimes the size of error_log files are in GB. So, you may want to delete all error_log files to free up some space on server.

Login in server via SSH as root and execute following command:

find /home -type f -name error_log -exec rm -f {} \;

The above command will search for error_log files in /home directory and delete them. Thus it will delete all error_log files under all users / accounts / cPanel accounts / websites.


1) This command can take lots of time to complete depending on size of your /home directory. Sometimes it may take 10-30 minutes to complete.

2) If required server will automatically create new error_log files.

Our Recommended Dedicated Server

Normal price of cPanel/WHM license for dedicated server is 25$ per month, while cPanel/WHM license for VPS is around 10$ per month.

So, what is difference between cPanel / WHM for dedicated server and cPanel / WHM for VPS??

Don’t be confused that VPS cPanel/WHM lacks few functionality. Both cPanel for VPS and dedicated server are functionally identical. VPS cPanel/WHM name is VPS Optimized and name of cPanel/WHM for dedicated server is Accelerated.

The only difference is that VPS Optimized is optimized for virtual environments.

Our Recommended VPS Hosting