Your Webhosting Questions
Answered by the Webhosting Experts

How to Fix Invalid cPanel License Error When it is Licensed

Invalid cPanel License Error

This article provides solutions should you log in to your WHM/cPanel and find a ‘trial license’ message or find yourself unable to log in due to an invalid or expired license.

When faced with an invalid license error, there are multiple possible causes. These include:

  1. cPanel license expiration
  2. Changes in the main IP of the server
  3. Your license not being updated

To determine what is causing the error, you’ll first need to check on the status of your cPanel license.


Checking Your cPanel License

To check for the cause of the above issues, you’ll first need to make sure you have an active cPanel license for the server IP. You can check the status of your cPanel license using cPanel’s official license verification tool.

How to perform a cpanel license check - cpanel license verification tool

To start, copy and paste your server’s IP address and click Verify. The next screen will show you the status of your cPanel license.

Confirming your servers primary IP address when performing a cpanel license check

If you find that the cPanel license status is invalid for your server’s primary IP address and you’re receiving licensing for cPanel with us or your service, we recommend issuing a support ticket or emailing us directly at [email protected] confirming your findings. This is generally a very quick resolution unless the IP has been licensed from another party.


Fixing an Invalid cPanel License Error

If you see the cPanel license status is active, you can use the commands below to fix the invalid cPanel license error. Alternatively, if you see a trial period in effect on your server, you can simply wait until the next day as this script runs on a nightly basis automatically.

  1. Login to the server with root user with either Secure shell client ( SSH ) or Putty or utilize `WHM | https://YourServerIP:2087 -> Terminal`

  2. Run the following as root on the server:

`/usr/local/cpanel/cpkeyclt --force`

Utilizing cpanel’s built in script in order to refresh or update cpanel license


After executing the command, it will show you that the license status has been updated.

Now you should be able to login to WHM and navigate through it.


Popular Links

Looking for more information on cPanel? Search our Knowledge Base!

Interested in more articles about Control Panels? Navigate to our Categories page using the bar on the left or check out these popular articles:

Popular tags within this category include: cPanel, WHM, Plesk, DirectAdmin, and more.

Don’t see what you’re looking for? Use the search bar at the top to search our entire Knowledge Base.


The Hivelocity Difference

Seeking a better Dedicated Server solution? In the market for Private Cloud or Colocation services? Check out Hivelocity’s extensive list of products for great deals and offers.

With best-in-class customer service, affordable pricing, a wide-range of fully-customizable options, and a network like no other, Hivelocity is the hosting solution you’ve been waiting for.

Unsure which of our services is best for your particular needs? Call or live chat with one of our sales agents today and see the difference Hivelocity can make for you.

Need More Personalized Help?

If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your account and provide your server credentials within the encrypted field for the best possible security and support.

If you are unable to reach your account or if you are on the go, please reach out from your valid account email to us here at: [email protected]. We are also available to you through our phone and live chat system 24/7/365.

Tags +