Article ID: 5506, created on Jul 30, 2008, last review on May 9, 2014

  • Applies to:
  • Virtuozzo hypervisor

Symptoms

I installed Parallels Server for Linux on Ubuntu 8.04 and can not connect from remote Parallels Management Console to it, the following error appears: "username / password not recognized or incorrect".

 

Also, in the file /var/log/auth.log I see error messages like below trying to connect to the server:

Jul 24 16:28:07 prl_disp_service: PAM unable to dlopen(/lib/security/pam_unix.so)
Jul 24 16:28:07 prl_disp_service: PAM [error: /lib/security/pam_unix.so: wrong ELF class: ELFCLASS64]
Jul 24 16:28:07 prl_disp_service: PAM adding faulty module: /lib/security/pam_unix.so
Jul 24 16:28:07 prl_disp_service: PAM unable to dlopen(/lib/security/pam_deny.so)
Jul 24 16:28:07 prl_disp_service: PAM [error: /lib/security/pam_deny.so: wrong ELF class: ELFCLASS64]
Jul 24 16:28:07 prl_disp_service: PAM adding faulty module: /lib/security/pam_deny.so
Jul 24 16:28:07 prl_disp_service: PAM unable to dlopen(/lib/security/pam_cracklib.so)
Jul 24 16:28:07 prl_disp_service: PAM [error: /lib/security/pam_cracklib.so: cannot open shared object file: No such file or directory]
Jul 24 16:28:07 prl_disp_service: PAM adding faulty module: /lib/security/pam_cracklib.so
Jul 24 16:28:07 prl_disp_service: PAM unable to dlopen(/lib/security/pam_keyinit.so)
Jul 24 16:28:07 prl_disp_service: PAM [error: /lib/security/pam_keyinit.so: wrong ELF class: ELFCLASS64]
Jul 24 16:28:07 prl_disp_service: PAM adding faulty module: /lib/security/pam_keyinit.so

Resolution

It is known issue with 64-bit Linux systems. You need to install 32-bit PAM modules to your system and then manually edit file /etc/pam.d/prl_disp_service. In that file you need to specify absolute paths to 32-bit PAM modules.

Edit /etc/pam.d/prl_disp_service on the server like this:

#%PAM-1.0
auth sufficient /lib32/security/pam_unix.so nullok
auth required /lib32/security/pam_deny.so
account required /lib32/security/pam_unix.so
password sufficient /lib32/security/pam_unix.so md5 shadow nullok use_authtok
password required /lib32/security/pam_deny.so
session optional /lib32/security/pam_keyinit.so force revoke
session required /lib32/security/pam_unix.so


After that restart Parallels Server and try to connect again.

You can also try Bare-Metal Parallels Server version. It is 64-bit Linux server and all issues with 32-bit PAM modules already were resolved in it.

a26b38f94253cdfbf1028d72cf3a498b 2897d76d56d2010f4e3a28f864d69223

Email subscription for changes to this article
Save as PDF