I was also having the same problem in lfd.log file - "Hostname: This account is currently not available"
This indicates the bad hostname and because of this hostname problem, cPanel Licensing couldn't properly check and WHM/cPanel returned the following licensing error screen.
Code:
root@peblbich[~]# /usr/local/cpanel/cpkeyclt
[Cpanel::Sys]: Unable to determine correct hostname
Updating Internal cPanel Information.....Done
root@peblbich[~]#
eventhough
Code:
root@peblbich[~]# vi /etc/hosts
::1 localhost6.localdomain6 localhost6
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost
111.22.232.111 peblbich peblbich.heplansnoslime.com
root@peblbich[~]# lynx -dump http://www.cpanel.net/showip.cgi
Your ip is: 111.22.232.111
To resolve this, I removed the hostname and FQDN from the /etc/hosts file,
Code:
root@peblbich[~]# vi /etc/hosts
::1 localhost6.localdomain6 localhost6
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost
111.22.232.111
and set the hostname:
Code:
root@peblbich[~]# hostname peblbich.heplansnoslime.com
root@peblbich[~]#
After this, I edited the hosts file again and added "peblbich" as a hostname in front of the FQDN again; saved and exited.
Now running the cPanel license update returned:
Code:
root@peblbich[~]# /usr/local/cpanel/cpkeyclt
Updating Internal cPanel Information.....Done
root@peblbich[~]#
This resolved my both the problems: lfd's hostname error and cPanel's license issue.
Bookmarks