WHM Cannot Read License File – To access the interface, you must install the license and ensure that the license is active.

Cannot Read License File – To access the interface, you must install the license and ensure that the license is active

 

Cannot Read License File

Cannot Read License File


 

I saw the above error ‘Cannot Read License File’ while trying to access WHM/cPanel in the web browser. I installed a two week cPanel trial license on the server and it expired. You are getting this error because cPanel/WHM license on your server is expired/not updated. You should renew the cPanel license to fix this error.

Do the below steps to fix the WHM license error.

1. First check the status of cPanel license in verify.cpanel.net website

You can use cPanel License Verification site http://verify.cpanel.net to check the status of cPanel license.
 

cPanel license verification

cPanel license verification

In the above screenshot you can see that cPanel license of the IP is expired.

2. Renew the cPanel license if it shows ‘Expired’ in verify.cpanel.net

You can buy cPanel license either directly from cPanel.net website or from cPanel Partner websites.

List of cPanel hosting partner website is pasted below :

http://partnernoc.cpanel.net/?showall=1&distonly=1

In the above screenshot you can see that cPanel license is bought from ‘BuycPanel’ cpanel partner. I usually buy cPanel license from buycpanel website and the cost if around $14/month after applying the coupon code. There are webhosting companies which provide cPanel license for $10 if you buy VPS server from them. Click on the above link and compare the cPanel license cost in partner websites before you buy. Also there will be small price difference if you pay the cPanel license for one year (Pay annually instead of monthly)

3. Update cPanel license if it shows ‘Active’ in verify.cpanel.net

After renewing the cPanel license check in verify.cpanel.net and make sure the license is active. Do the below steps if verify.cpanel.net shows the license is active but WHM still shows it is expired.

You must update the cPanel license from server backend if it shows active in verify.cpanel.net. Run the below command to update cPanel license on the server.
 

# /usr/local/cpanel/cpkeyclt
Updating cPanel license…Done. Update succeeded.
Building global cache for cpanel…Done

 
cPanel license update succeeded. Try accessing WHM after running the above command and you won’t see any license errors.
 


 

# /usr/local/cpanel/cpkeyclt
[root@server ~]# /usr/local/cpanel/cpkeyclt
Updating cPanel license…Done. Update Failed!
For more information visit: http://www.cpanel.net/lic.html

The exact message was: The license is expired. (192.168.2.5)!

Building global cache for cpanel…Done
[root@server ~]#

 
a. If you still see the above error then it means your IP license is not active.

b. You will see error if you have multiple IP addresses on the server and you purchased license for the wrong IP address.

If you still face any issues then you must contact the cPanel license provider support to fix the issue

a. If you cPanel license is provided by your webhosting company or datacenter, then you must contact them.

b. If the license is bought directly from cPanel, then you can contact cPanel support team https://tickets.cpanel.net

Comments

  • Fondos HD
    November 14, 2016 at 1:50 pm

    ¡Fantastic! After WHM first steps installation i excecute that comand in ssh with putty and now i can access to my panels!!! THANK YOU!!!

  • Avesena
    February 14, 2017 at 4:49 am

    Thank you very much