Your license could not be activated because

Jinu Mathers

Registered
Aug 19, 2012
1
0
1
cPanel Access Level
Root Administrator
Your license could not be activated because:
Cannot Read License File

1)First, go to License Verification - cPanel Inc. and enter the public IP address of this server to make sure it is licensed.

2) If licensed, try running /usr/local/cpanel/cpkeyclt from the command line as root.

3) You'll also need to make sure that port 80 is open to contact our license server and that your server's hostname is a FQDN.



When i access to License Verification - cPanel Inc. It shows this:

iOLLZqyHmqASV.PNG

And in the client:

iba0sp9gPRz57g.PNG

DNS:
ibpXu9etfM6cb9.PNG
 

JaredR.

Well-Known Member
Feb 25, 2010
1,834
24
143
Houston, TX
cPanel Access Level
Root Administrator
The message that you took a screenshot of tells you the exact problem:

Code:
The exact message was: The hostname must be a Fully Qualified Domain Name! (5.175.130.20)!
Your server's hostname is 5.175.130.20, which is apparently the server's main IP address. That is not a valid hostname.

(Incidentally, it is usually easier to copy and paste text in a terminal program, instead of taking a screenshot. PuTTY automatically copies text to the clipboard if you just drag the cursor to select some text.)

A valid hostname has three parts: host, domain, top-level domain. Here is an example fictitious hostname:

myserver.mybigdomain.com

In my example:

  • myserver = host
  • mybigdomain = domain
  • com = top-level domain (or TLD or tld)

The hostname cannot be just a domain name, so mybigdomain.com would not be a valid hostname. Also, the hostname cannot start with www, so /www.mybigdomain.com would not be valid.

What most administrators do is take the main domain they will use for hosting, and add a unique identifier in front of it. Many use host or server, but you can use anything you want, as long as it is not www.

You need to change the hostname on your server. Once you have given the server a valid fully-qualified hostname as I have just described, run /usr/local/cpanel/cpkeyclt again to activate the license.