This account is currently not available
I am getting this error message in lfd.log file saying - "Hostname: This account is currently not available" when I tried to install csf/lfd on my linux system. What is the meaning of this message ? Can anybody explain me or give some ideas regarding this.....thanks
Re: This account is currently not available
Check the shell in your passwd file, it may be wrong ...... Normally, the shell should be set to /sbin/nologin.
Re: This account is currently not available
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.
Re: This account is currently not available
I think there might some syntax error which is the common cause of this problem, many users do it. The users are like to type ":/sbin/nologin". With ":/sbin/nologin" , the account is prevented from an interactive login.....Remove ":" from it and change it to "/sbin/nologin"
And also, some users type "su - xxxx". With this, you are trying to use the login shell.......Remove "-" from it and change it to "su xxxx"