我正在尝试在运行 Ubuntu 8.04 LTS x64 的 Dell PowerEdge 2850 上登录 Dell OMSA 5 安装。
OMSA 是 32 位的,正在尝试加载 64 位 pam 模块以进行身份验证。无论我使用什么凭据通过https://myserver.com:1311的 OMSA Web 界面进行身份验证,我总是会收到“登录失败...”消息和以下错误/var/log/auth.log
Apr 26 14:47:48 server dsm_om_connsvc32d: PAM unable to dlopen(/lib32/security/pam_unix.so)
Apr 26 14:47:48 server dsm_om_connsvc32d: PAM [error: /lib32/libc.so.6: version `GLIBC_2.8' not found (required by /lib32/security/pam_unix.so)]
Apr 26 14:47:48 server dsm_om_connsvc32d: PAM adding faulty module: /lib32/security/pam_unix.so
Apr 26 14:47:48 server dsm_om_connsvc32d: PAM unable to dlopen(/lib/security/pam_env.so)
Apr 26 14:47:48 server dsm_om_connsvc32d: PAM [error: /lib/security/pam_env.so: wrong ELF class: ELFCLASS64]
Apr 26 14:47:48 server dsm_om_connsvc32d: PAM adding faulty module: /lib/security/pam_env.so
Apr 26 14:47:48 server dsm_om_connsvc32d: PAM unable to dlopen(/lib/security/pam_unix.so)
Apr 26 14:47:48 server dsm_om_connsvc32d: PAM [error: /lib/security/pam_unix.so: wrong ELF class: ELFCLASS64]
Apr 26 14:47:48 server dsm_om_connsvc32d: PAM adding faulty module: /lib/security/pam_unix.so
Apr 26 14:47:48 server dsm_om_connsvc32d: PAM unable to dlopen(/lib/security/pam_ldap.so)
Apr 26 14:47:48 server dsm_om_connsvc32d: PAM [error: /lib/security/pam_ldap.so: wrong ELF class: ELFCLASS64]
Apr 26 14:47:48 server dsm_om_connsvc32d: PAM adding faulty module: /lib/security/pam_ldap.so
Apr 26 14:47:48 server dsm_om_connsvc32d: PAM unable to dlopen(/lib/security/pam_mkhomedir.so)
Apr 26 14:47:48 server dsm_om_connsvc32d: PAM [error: /lib/security/pam_mkhomedir.so: wrong ELF class: ELFCLASS64]
Apr 26 14:47:48 server dsm_om_connsvc32d: PAM adding faulty module: /lib/security/pam_mkhomedir.so
Apr 26 14:47:48 server dsm_om_connsvc32d: PAM unable to dlopen(/lib/security/pam_lastlog.so)
Apr 26 14:47:48 server dsm_om_connsvc32d: PAM [error: /lib/security/pam_lastlog.so: wrong ELF class: ELFCLASS64]
Apr 26 14:47:48 server dsm_om_connsvc32d: PAM adding faulty module: /lib/security/pam_lastlog.so
Apr 26 14:47:48 server dsm_om_connsvc32d: PAM unable to dlopen(/lib/security/pam_motd.so)
Apr 26 14:47:48 server dsm_om_connsvc32d: PAM [error: /lib/security/pam_motd.so: wrong ELF class: ELFCLASS64]
Apr 26 14:47:48 server dsm_om_connsvc32d: PAM adding faulty module: /lib/security/pam_motd.so
Apr 26 14:47:48 server dsm_om_connsvc32d: PAM unable to dlopen(/lib/security/pam_mail.so)
Apr 26 14:47:48 server dsm_om_connsvc32d: PAM [error: /lib/security/pam_mail.so: wrong ELF class: ELFCLASS64]
Apr 26 14:47:48 server dsm_om_connsvc32d: PAM adding faulty module: /lib/security/pam_mail.so
Apr 26 14:47:48 server dsm_om_connsvc32d: PAM unable to dlopen(/lib/security/pam_limits.so)
Apr 26 14:47:48 server dsm_om_connsvc32d: PAM [error: /lib/security/pam_limits.so: wrong ELF class: ELFCLASS64]
Apr 26 14:47:48 server dsm_om_connsvc32d: PAM adding faulty module: /lib/security/pam_limits.so
我有以下内容/etc/pam.d/omauth
;
root@server:/var/log# cat /etc/pam.d/omauth
#%PAM-1.0
#auth required pam_stack.so service=system-auth
#auth required /lib32/security/pam_nologin.so
#account required pam_stack.so service=system-auth
auth required /lib32/security/pam_unix.so nullok
auth required /lib32/security/pam_nologin.so
auth required /lib32/security/pam_ldap.so nullok
account required /lib32/security/pam_unix.so nullok
我已经下载并解压了 32 位 pam 模块到/lib32/security
. 无论如何我可以用这些为 OMSA 进行身份验证(但不能为其他任何东西)?
root@server:/lib32/security# ls
pam_ldap.so pam_nologin.so pam_unix.so
root@server:/lib32/security# file pam_unix.so
pam_unix.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped
root@server:/lib32/security# file pam_ldap.so
pam_ldap.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped
root@server:/lib32/security# file pam_nologin.so
pam_nologin.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped
解决此问题的唯一方法是删除 OMSA 和所有依赖项,我执行了 dist 升级并重新开始。我找不到根本原因或解决方案。