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:
- cPanel license expiration
- Changes in the main IP of the server
- 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.
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.
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@example.com 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.
Login to the server with root user with either Secure shell client ( SSH ) or Putty or utilize `WHM | https://YourServerIP:2087 -> Terminal`
Run the following as root on the server:
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.