iDatam

IN AFRICA

ALBANIA

ARGENTINA

AUSTRALIA

AUSTRIA

AZERBAIJAN

B AND H

BANGLADESH

BELGIUM

BRAZIL

BULGARIA

CANADA

CHILE

CHINA

COLOMBIA

COSTA RICA

CROATIA

CYPRUS

CZECH

DENMARK

ECUADOR

EGYPT

EL SALVADOR

ESTONIA

FINLAND

FOR BACKUP AND STORAGE

FOR DATABASE

FOR EMAIL

FOR MEDIA STREAMING

FRANCE

GEORGIA

GERMANY

GREECE

GUATEMALA

HUNGARY

ICELAND

IN ASIA

IN AUSTRALIA

IN EUROPE

IN NORTH AMERICA

IN SOUTH AMERICA

INDIA

INDONESIA

IRELAND

ISRAEL

ITALY

JAPAN

KAZAKHSTAN

KENYA

KOSOVO

LATVIA

LIBYA

LITHUANIA

LUXEMBOURG

MALAYSIA

MALTA

MEXICO

MOLDOVA

MONTENEGRO

MOROCCO

NETHERLANDS

NEW ZEALAND

NIGERIA

NORWAY

PAKISTAN

PANAMA

PARAGUAY

PERU

PHILIPPINES

POLAND

PORTUGAL

QATAR

ROMANIA

RUSSIA

SAUDI ARABIA

SERBIA

SINGAPORE

SLOVAKIA

SLOVENIA

SOUTH AFRICA

SOUTH KOREA

SPAIN

SWEDEN

SWITZERLAND

TAIWAN

THAILAND

TUNISIA

TURKEY

UK

UKRAINE

UNITED ARAB EMIRATES

URUGUAY

USA

UZBEKISTAN

VIETNAM

How to Fix cPanel License Activation Error: No License Found

A comprehensive guide for Dedicated Server administrators to troubleshoot licensing issues, verify IP configurations, and refresh license keys via SSH.

cpanel_license_activation_error

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

On Dedicated Servers, the "No License Found" error typically stems from one of three scenarios:

  1. IP Address Changes: The server's main network interface was reconfigured, or the licensed IP was swapped with a secondary IP.

  2. Hostname Changes: Drastic changes to the hostname can sometimes trigger a license check failure, though less common.

  3. 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:

bash

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.

  1. Visit the official cPanel verification site: https://verify.cpanel.net/app/verify

  2. Enter the IP address you retrieved via the curl command.

  3. 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:

bash

/usr/local/cpanel/cpkeyclt
                            

Expected Output:

plaintext

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:

bash

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.

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.

Up