How to Refresh/Update cPanel Licence Verification

In this article, We show you how to Refresh/Update cPanel license verification. The common issue you facing in the VPS and Other servers is Cannot read license file error in cPanel. They are a few things that are leads to create a problem to verify your cPanel license verification.
Reasons for cPanel Licence Update.
There are a few things that lead to losing your cPanel license, that is listed below.
- cPanel Maintenance
- Firewall problems
- IP Address Change
- DNS Resolver issues
- Unfinished Full Server Restore
- Hostname has changed
- Comms failure during a –force update
Above are the usual common cause for a VPS to lose its license validation.
Steps to verify the cPanel license.
Note: Using SSH you need to run the below commands.
1. Check the Primary IP
First, you need to check the Primary IP is correct or not as per the license. Using the below command you can able check that.
1 |
lynx -dump http://cpanel.net/showip.cgi |
Or
1 |
curl -L http://cpanel.net/showip.cgi |
2. Using the below URL you can check with your IP Address, the license has been revoked or not
https://verify.cpanel.net/app/verify
3. Check the license has been canceled or not
1 |
host auth.cpanel.net |
4. You need to run the following command to execute the license update
1 |
/usr/local/cpanel/cpkeyclt |
Once you run the above command you get success result like below.
1 2 3 4 |
[root@179.312.124.21 ~]$ /usr/local/cpanel/cpkeyclt Updating cPanel license…Done. Update succeeded. Building global cache for cpanel…Done [root@179.312.124.21 ~]$ |
Now try to log in your cPanel or WHM. The error notification message should disappear now.
Error Messages cPanel Licence Verification
1 2 3 4 |
[root@179.312.124.21 ~]$ /usr/local/cpanel/cpkeyclt Updating cPanel license...Done. Update Failed! Building global cache for cpanel...Done [root@179.312.124.21 ~]$ |
Still, you have trouble with updating the cPanel Licence Verification like above. Here you have one more option, that leads to solving the issue.
Try to update below nameserver. Edit /etc/resolv.conf
file and write the file.
1 2 |
nameserver 8.8.8.8 nameserver 8.8.4.4 |
And again run /usr/local/cpanel/cpkeyclt
command.
If still, you have a problem with updating the cPanel, contact the support team and they will help you with the proper guidance.
Hopefully, this article is helpful to you.
CentOSCentOS 7MandrivaRedhatserverVPS
Mraj
Creative Designer & Developer specialist by the spirit and a loving blogger by thoughts. If you have any questions let me drop an email with the article name to the following email id: [email protected]