How to fix invalid cPanel license error
The best web hosting cPanel is WHM/cPanel that is paid. Installing WHM/cPanel is very simple. You can use it for 15 days as a trial version. So if you want to purchase the license of it for specific IP address of server. You can refer this link to install WHM/cPanel control panel to your server.
Sometimes you may come across the error message as “Invalid cPanel license ” after logging in to the WHM . There are multiple causes when you face such errors like
- Cpanel license expiration
- Change in the main IP of the server
- License not updated
In order to fix the above issue, first make sure you have an active cPanel license for the server IP.
You can check the status of your cPanel license at the URL below .
Copy and paste the server IP and click on Verify.
Once you clicked on “Verify” , it will show you the cPanel license status.
If you see the cPanel license status active , then use the commands below in order to fix the invalid cPanel license error.
– Login to the server with root user with either Secure shell client ( SSH ) or Putty
– Run the following as root on the server: /usr/local/cpanel/cpkeyclt
– Hit enter
Now you should be able to login to WHM and navigate through it.
How to check a cPanel server is licensed or not from server command line interface?
You can execute the following command to check whether the IP addresses of the server is properly licensed or not:
curl -L http://cpanel.net/showip.cgi
The output must show the main IP address of the server.
Please try to run it on shell and let me know if have any questions.