nav-left cat-right
cat-right

Bash script to generate cPanel user files...

Don’t have your domains listed in WHM/cPanel. The cPanel takes information from cPanel user files under /var/cpanel/users/. The accounts won’t be listed in WHM if corresponding files are missing. This script will help you to generate cPanel user files. This script may fail if you have cPanel user files existing under /var/cpanel/users/. So I would request you to backup users directory and then remove all user...

Additional nameservers in cPanel....

You can see an option in WHM to add additional nameservers. You can give only the nameserver name, but not the IP. Most of the time it will be taking some wrong IPs by its own. To overcome this problem, you will have to edit “/etc/nameserverips” file from backend. /etc/nameserverips should look like this: 192.168.1.100=0 192.168.1.101=ns1.your-dns.com 192.168.1.102=ns2.your-dns.com 192.168.1.103=ns3.your-dns.com 192.168.1.104=0 If...

How to reset cPanel account password...

You can use server’s root password to login to any cPanel account. In order to reset cPanel password for a website, you should know present password for it. But, of course you can change the password from WHM control panel. Here are the steps to do it. 1. Login to WHM. http://<server ip address>:2086/ username: root password: <root password of the server> 2. Home –> Account Information –>...

cPanel – Invalid License File Error...

If when trying to access the cPanel it gives the Invalid License File error message, do the following: Changing your servers hostname will invalidate your cPanel license. You can solve this issue with following command. # /usr/local/cpanel/cpkeyclt Updating Internal cPanel Information.....Done # ~mohammed

cPanel: Upgrade perl module to 5.8.8...

To upgrade your cPanel perl module to version 5.8.8, do the following: 1. root]# wget http://layer1.cpanel.net/perl588installer.tar.gz 2. root]# tar -zxf perl588installer.tar.gz 3. root]# cd perl588installer 4. root]# ./install

How to change Your Server's Hostname and Reta...

Changing your servers hostname will invalidate your cPanel license. If you want to change server hostname and need to access WHM/cPanel, then do the following: 1. SSH to the server (as the root user) and change the hostname. 2. Then run the command /usr/local/cpanel/cpkeyclt. This will update the license file with your current hostname, and push the change to cPanel’s license verification servers auth.cpanel.net...

Alert emails from cPanel 11...

Problem ********** You may receive following alert email from cPanel. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subj: [checkperlmodules] The perl module PNGgraph could not be installed. This module is required by cPanel, and the system may not function correctly until it is installed, and functional. Below is the results of the auto-install attempt: Test Run ============== Can’t locate PNGgraph.pm in @INC (@INC...