Running cPanel/WHM on a Dedicated Server provides immense power and control, but it relies on a strict licensing validation process. Occasionally, upon logging into WHM, you may encounter the dreaded error: "License File Expired: 1" or "No License Found". This usually occurs when the server's main public IP address does not match the IP authorized in the cPanel licensing database, or if the server cannot communicate with cPanel's verification servers.
What You'll Learn
Understanding the Root Cause
Verify Server Output IP
Check License Status Online
Run Activation Script (The Fix)
Firewall Troubleshooting
Understanding the Root Cause
On Dedicated Servers, the "No License Found" error typically stems from one of three scenarios:
-
IP Address Changes: The server's main network interface was reconfigured, or the licensed IP was swapped with a secondary IP.
-
Hostname Changes: Drastic changes to the hostname can sometimes trigger a license check failure, though less common.
-
Network Blocking: A firewall (hardware or software) is blocking outbound traffic to cPanel's licensing servers on port 2089.
Verify Server Output IP
Before attempting to fix the license, you must ensure your Dedicated Server is broadcasting the correct IP address to the outside world. This is the IP cPanel sees when your server "calls home."
Run the following command via SSH to see how cPanel identifies your server:
curl -w '\n' -s http://myip.cpanel.net/v1.0/
Note the IP address returned. It must match the main IP assigned to your Dedicated Server.
Check License Status Online
Once you have the IP from the previous step, verify that a valid license actually exists for it.
-
Visit the official cPanel verification site: https://verify.cpanel.net/app/verify
-
Enter the IP address you retrieved via the
curlcommand. -
Result: If the status is "Active," the issue is local to your server configuration. If the status is "Invalid" or "Not Found," you must purchase or renew your license through your hosting provider.
Run Activation Script (The Fix)
If your license is active online but WHM still shows an error, the license key file on your server is likely out of sync. cPanel provides a specific utility called cpkeyclt (cPanel Key Client) to force an update.
Run this command as the root user:
/usr/local/cpanel/cpkeyclt
Expected Output:
Updating cPanel license...Done. Update succeeded.
Building global cache for cpanel...Done
Once you see "Update succeeded," refresh your WHM browser window. The license error should disappear.
Firewall Troubleshooting
If the cpkeyclt command hangs or fails to connect, your dedicated server firewall (CSF, iptables, or a hardware firewall) might be blocking port 2089.
cPanel uses TCP port 2089 for licensing. To test connectivity, run:
telnet auth.cpanel.net 2089
If the connection works, you will see a "Connected" message. If it times out, you must check your firewall rules to allow outbound TCP traffic on port 2089.
Conclusion
The "No License Found" error on cPanel Dedicated Servers is usually a synchronization issue rather than a licensing failure. By verifying your outbound IP address and running the cpkeyclt utility, you can resolve the majority of these activation issues instantly. Ensuring port 2089 is open allows your server to maintain a heartbeat with the cPanel licensing network, preventing future interruptions.
iDatam Recommended Tutorials
Linux
Solving the 5 Most Common Linux Server Problems
Master the art of Linux server problem solving with this comprehensive guide. Learn how to diagnose and fix common server issues including network problems, disk space management, security vulnerabilities, and performance bottlenecks.
Mysql
How To Create a New User and Grant Permissions in MySQL
Learn how to create a new MySQL user and grant permissions with this comprehensive guide. Understand the essential commands, best practices, and troubleshooting tips for effective user and permission management in MySQL.
Control Panel, Security
Plesk Server Security Tutorial: A Step-by-Step Guide to Secure Your Web Infrastructure
Secure your Plesk server with our in-depth tutorial! Learn step-by-step techniques, from updates and advanced configurations to code-level protections and emergency strategies, to fortify your web infrastructure against potential threats.
Discover iDatam Dedicated Server Locations
iDatam servers are available around the world, providing diverse options for hosting websites. Each region offers unique advantages, making it easier to choose a location that best suits your specific hosting needs.
