BuycPanel Blog

BuycPanel Blog

Latest news and updates

8/04/2015 – Fixing Your ““License File Expired” Error Quickly

Posted by Jamison on 04 08 2015.

When your system prompts you an error message of “License File Expired,” it means that your server’s main IP address does not match with the IP address stored in cPanel’s license servers.  If you purchased a licensed cPanel, the error could be due to failed communication between your server and the cPanel license servers.  Meaning, it is not broadcasting properly to the main license servers.

 

You can confirm that your server’s IP address is matched with the cPanel’s license servers by doing the following steps as recommended by cPanel documentation FAQ:

 

STEP 1: As the root user, run the curl command below: curl http://www.cpanel.net/apps/myip

 

STEP 2: The curl command will tell you if the IP addresses do not match.

 

STEP 3: If there is no match between your IP address and the license servers, perform one of the following:

 

	OPTION 1: Change the IP address on the license to match the IP address returned by…

When your system prompts you an error message of “License File Expired,” it means that your server’s main IP address does not match with the IP address stored in cPanel’s license servers.  If you purchased a licensed cPanel, the error could be due to failed communication between your server and the cPanel license servers.  Meaning, it is not broadcasting properly to the main license servers.

 

You can confirm that your server’s IP address is matched with the cPanel’s license servers by doing the following steps as recommended by cPanel documentation FAQ:

 

STEP 1: As the root user, run the curl command below: curl http://www.cpanel.net/apps/myip

 

STEP 2: The curl command will tell you if the IP addresses do not match.

 

STEP 3: If there is no match between your IP address and the license servers, perform one of the following:

 

  • OPTION 1: Change the IP address on the license to match the IP address returned by the curl command.
  • OPTION 2: Route the outbound traffic from the licensed IP address by configuring the routing in your server and network.

 

There is an alternative way to troubleshoot this issue.  Perform the following steps below:

 

STEP 1: Visit http://verify.cpanel.net to confirm your cPanel product license is valid.

 

STEP 2: If you find your license is not valid, contact and report this to your license provider.

 

STEP 3: On the other hand, if your license is valid and active but you still see the error “License File Expired,” run the commands below as the root user on the server:

 

  • Lynx –dump http://www.cpanel.net/showip.cgi (this command should return the IP address of your server)
  • /usr/local/cpanel/cpkeyclt

 

STEP 7: Now, you can confirm that your server has a valid hostname and queries the root nameservers.

 

On another hand, it could be that your cPanel is valid but has already expired and thus would need to renew license.  You can check if your license is expired by entering the root ip address of your cPanel server at http://verify.cpanel.net/.

 

If you still experience trouble despite confirming your valid license, contact cPanel support department.

 

Please note that you need a license before installing cPanel and WHM.  Otherwise, even if you installed cPanel, it will not activate until you obtain a valid license.

Getting a valid cPanel license depends on the type of server set up in your system whether it is full dedicated or virtual.   You will need a cPanel VPS license if you are working on a virtual environment such as OpenVZ, Virtuozzo, Oracle VM VirtualBox, KVM, Xen, VMWare, or Microsoft Server 2008 Hyper-V.  You will need to have a separate cPanel VPS license for each virtual instance in your server.  Meanwhile, you will need a full dedicated cPanel license when you are operating on a dedicated server which does not run any virtualization software.  One full dedicated cPanel license is enough to cover all accounts set up on this kind of server.

 

Visit our page for more details on cPanel license information or our FAQ.  Our expert sales team is also available 24/7 to assist you on your query.  Feel free to contact us on Live Chat or email at sales@buycpanel.com.