• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Can not add domains or any customer after upgrade...

abdicarcomm

New Pleskian
Hello there,

When I try to add a new customer I got this:
Error Code: 2204 - Unable to update hosting preferences. system user update is failed: Unable to create system user: usermng: PAM password change failed: 24, Failed preliminary check by password service System error 111: Connection refused

I have the same problem in 3 servers with CentOS 5.5 32bits...

I search in all the forums and there is no solution. I tried the http://kb.odin.com/en/1532 and it not works at all...

[root@x /]# /usr/local/psa/pam_plesk_config/pam_plesk_install -f /etc/pam.conf -m /usr/local/psa/pam_plesk/pam_plesk.so -v DEBUG:Loading PAM configuration from (directory="/etc/pam.d", file="/etc/pam.conf")
INFO:pAM configuration loaded from (directory="/etc/pam.d", file="/etc/pam.conf"). Configuration contains 23 file(s)
DEBUG:calculating changes for 'auth' stacks
DEBUG:initial services: autonomous = set(['other']), commonDict = {'runuser': set(['runuser-l']), 'system-auth': set(['sshd', 'run_init', 'chfn', 'proftpd', 'chsh', 'screen', 'passwd.rpmnew', 'imap', 'pop3', 'su-l', 'newrole', 'remote', 'login', 'postgresql', 'config-util', 'crond'])}
DEBUG:installed dropped: autonomous = set(['other']), commonDict = {'runuser': set(['runuser-l']), 'system-auth': set(['sshd', 'run_init', 'chfn', 'proftpd', 'chsh', 'screen', 'passwd.rpmnew', 'imap', 'pop3', 'su-l', 'newrole', 'remote', 'login', 'postgresql', 'config-util', 'crond'])}
DEBUG:autonomous checkers = {}, autonomous = set(['other'])
DEBUG:commonCheckersDict = {'system-auth': set(['sshd', 'run_init', 'chfn', 'proftpd', 'chsh', 'screen', 'passwd.rpmnew', 'imap', 'pop3', 'su-l', 'newrole', 'remote', 'login', 'postgresql', 'config-util', 'crond'])}, commonDict = {'runuser': set(['runuser-l'])}
DEBUG:autonomous = {}, commonDict = {}
INFO:calculated 1 position(s) to change 'auth' stacks
DEBUG:changes = [('system-auth', 1, 'sufficient')]
INFO:required 'auth' stack(s) modified (in memory)
DEBUG:calculating changes for 'password' stacks
DEBUG:initial services: autonomous = set(['passwd', 'other', 'plesk_usermng_encrypted']), commonDict = {'system-auth': set(['sshd', 'remote', 'chfn', 'su-l', 'newrole', 'run_init', 'login', 'chsh', 'passwd.rpmnew'])}
DEBUG:S3:Traceback (most recent call last):
File "/usr/local/psa/pam_plesk_config/pam_plesk_install.py", line 357, in main
KnownPasswordSetters, KnownNonPasswordSetters)
File "/usr/local/psa/pam_plesk_config/pam_plesk_install.py", line 221, in getPasswordChanges
changes.append((svc, position, pswdCA.getAddStyle(svc, position, confSet)))
File "/usr/local/psa/pam_plesk_config/PAMConfig/analyzers.py", line 265, in getAddStyle
raise NotImplementedError("do know how to deal with atom:\n%s" % (theAtom,))
NotImplementedError: do know how to deal with atom:
password optional pam_plesk.so try_first_pass


CRITICAL:4:some functionality isn't yet implemented
[root@x /]#

What I can do?

10.1.1 with centos 5.5 32bits
 
Last edited:
Make sure that you have installed passwd package and you have pam config with following content:

# cat /etc/pam.d/passwd
#%PAM-1.0
auth include system-auth
account include system-auth
password include system-auth
 
What I get is this:

[root@x /]# cat /etc/pam.d/passwd
password required pam_plesk.so try_first_pass
[root@x /]# %PAM-1.0
-bash: fg: %PAM-1.0: no such job
[root@x /]#

Give me more instructions please.
 
well as I dont have conf file, or pam_plesk.so in the paths of the KB article, i did some research without results...

[root@x /]# cat /etc/pam.d/config-util
#%PAM-1.0
auth sufficient pam_rootok.so
auth sufficient pam_timestamp.so
auth include system-auth
account required pam_permit.so
session required pam_permit.so
session optional pam_xauth.so
session optional pam_timestamp.so
[root@x /]# locate pam.conf
/usr/share/man/man5/pam.conf.5.gz
[root@x /]# cd etc/pam.d
[root@x pam.d]# ls
chfn login plesk_usermng_encrypted run_init su
chsh newrole pop3 runuser su-l
config-util other postgresql runuser-l system-auth
crond passwd proftpd screen
imap passwd.rpmnew remote sshd
[root@x pam.d]# nano passwd
[root@x pam.d]# cd
[root@x ~]# /usr/local/psa/pam_plesk_config/pam_plesk_install -m /usr/local/psa/pam_plesk/pam_plesk.so -v
DEBUG:Loading PAM configuration from (directory="/etc/pam.d", file="/etc/pam.conf")
INFO:pAM configuration loaded from (directory="/etc/pam.d", file="/etc/pam.conf"). Configuration contains 23 file(s)
DEBUG:calculating changes for 'auth' stacks
DEBUG:initial services: autonomous = set(['other']), commonDict = {'runuser': set(['runuser-l']), 'system-auth': set(['sshd', 'run_init', 'chfn', 'proftpd', 'chsh', 'screen', 'passwd.rpmnew', 'imap', 'pop3', 'su-l', 'newrole', 'remote', 'login', 'postgresql', 'config-util', 'crond'])}
DEBUG:installed dropped: autonomous = set(['other']), commonDict = {'runuser': set(['runuser-l']), 'system-auth': set(['sshd', 'run_init', 'chfn', 'proftpd', 'chsh', 'screen', 'passwd.rpmnew', 'imap', 'pop3', 'su-l', 'newrole', 'remote', 'login', 'postgresql', 'config-util', 'crond'])}
DEBUG:autonomous checkers = {}, autonomous = set(['other'])
DEBUG:commonCheckersDict = {'system-auth': set(['sshd', 'run_init', 'chfn', 'proftpd', 'chsh', 'screen', 'passwd.rpmnew', 'imap', 'pop3', 'su-l', 'newrole', 'remote', 'login', 'postgresql', 'config-util', 'crond'])}, commonDict = {'runuser': set(['runuser-l'])}
DEBUG:autonomous = {}, commonDict = {}
INFO:calculated 1 position(s) to change 'auth' stacks
DEBUG:changes = [('system-auth', 1, 'sufficient')]
INFO:required 'auth' stack(s) modified (in memory)
DEBUG:calculating changes for 'password' stacks
DEBUG:initial services: autonomous = set(['passwd', 'other', 'plesk_usermng_encrypted']), commonDict = {'system-auth': set(['sshd', 'remote', 'chfn', 'su-l', 'newrole', 'run_init', 'login', 'chsh', 'passwd.rpmnew'])}
DEBUG:S3:Traceback (most recent call last):
File "/usr/local/psa/pam_plesk_config/pam_plesk_install.py", line 357, in main
KnownPasswordSetters, KnownNonPasswordSetters)
File "/usr/local/psa/pam_plesk_config/pam_plesk_install.py", line 221, in getPasswordChanges
changes.append((svc, position, pswdCA.getAddStyle(svc, position, confSet)))
File "/usr/local/psa/pam_plesk_config/PAMConfig/analyzers.py", line 265, in getAddStyle
raise NotImplementedError("do know how to deal with atom:\n%s" % (theAtom,))
NotImplementedError: do know how to deal with atom:
password optional pam_plesk.so try_first_pass


CRITICAL:4:some functionality isn't yet implemented
[root@x~]# file pam_plesk.so
pam_plesk.so: ERROR: cannot open `pam_plesk.so' (No such file or directory)
[root@x ~]# file /usr/local/psa/pam_plesk/pam_plesk.so
/usr/local/psa/pam_plesk/pam_plesk.so: ERROR: cannot open `/usr/local/psa/pam_plesk/pam_plesk.so' (No such file or directory)
[root@x ~]# locate pam_plesk.so
/lib/security/pam_plesk.so
[root@x ~]# /usr/local/psa/pam_plesk_config/pam_plesk_install -m /lib/security/pam_plesk.so -v
DEBUG:Loading PAM configuration from (directory="/etc/pam.d", file="/etc/pam.conf")
INFO:pAM configuration loaded from (directory="/etc/pam.d", file="/etc/pam.conf"). Configuration contains 23 file(s)
DEBUG:calculating changes for 'auth' stacks
DEBUG:initial services: autonomous = set(['other']), commonDict = {'runuser': set(['runuser-l']), 'system-auth': set(['sshd', 'run_init', 'chfn', 'proftpd', 'chsh', 'screen', 'passwd.rpmnew', 'imap', 'pop3', 'su-l', 'newrole', 'remote', 'login', 'postgresql', 'config-util', 'crond'])}
DEBUG:installed dropped: autonomous = set(['other']), commonDict = {'runuser': set(['runuser-l']), 'system-auth': set(['sshd', 'run_init', 'chfn', 'proftpd', 'chsh', 'screen', 'passwd.rpmnew', 'imap', 'pop3', 'su-l', 'newrole', 'remote', 'login', 'postgresql', 'config-util', 'crond'])}
DEBUG:autonomous checkers = {}, autonomous = set(['other'])
DEBUG:commonCheckersDict = {'system-auth': set(['sshd', 'run_init', 'chfn', 'proftpd', 'chsh', 'screen', 'passwd.rpmnew', 'imap', 'pop3', 'su-l', 'newrole', 'remote', 'login', 'postgresql', 'config-util', 'crond'])}, commonDict = {'runuser': set(['runuser-l'])}
DEBUG:autonomous = {}, commonDict = {}
INFO:calculated 1 position(s) to change 'auth' stacks
DEBUG:changes = [('system-auth', 1, 'sufficient')]
INFO:required 'auth' stack(s) modified (in memory)
DEBUG:calculating changes for 'password' stacks
DEBUG:initial services: autonomous = set(['passwd', 'other', 'plesk_usermng_encrypted']), commonDict = {'system-auth': set(['sshd', 'remote', 'chfn', 'su-l', 'newrole', 'run_init', 'login', 'chsh', 'passwd.rpmnew'])}
DEBUG:S3:Traceback (most recent call last):
File "/usr/local/psa/pam_plesk_config/pam_plesk_install.py", line 357, in main
KnownPasswordSetters, KnownNonPasswordSetters)
File "/usr/local/psa/pam_plesk_config/pam_plesk_install.py", line 221, in getPasswordChanges
changes.append((svc, position, pswdCA.getAddStyle(svc, position, confSet)))
File "/usr/local/psa/pam_plesk_config/PAMConfig/analyzers.py", line 265, in getAddStyle
raise NotImplementedError("do know how to deal with atom:\n%s" % (theAtom,))
NotImplementedError: do know how to deal with atom:
password optional pam_plesk.so try_first_pass


CRITICAL:4:some functionality isn't yet implemented
[root@x ~]#

We did a fresh install in another VPS for a client and it works perfectly. The problem was with the upgrade. I have two machines now that can not create domains.
 
Last edited:
Hi, I upgrade my plesk from 8.6 to 10.3.1. But I have the same problem. And I am sure that I have installed passwd. And /etc/pam.d/passwd also contains
#%PAM-1.0
auth include system-auth
account include system-auth
password include system-auth

But it still not work properly.
 
Back
Top