我正在尝试登录运行 Ubuntu 8.04 LTS x64 的 Dell PowerEdge 2850 上安装 Dell OMSA 5。
OMSA 是 32 位的,正在尝试加载 64 位 pam 模块进行身份验证。无论我使用什么凭据通过 OMSA Web 界面进行身份验证,https://myserver.com:1311我总是收到“登录失败...”消息以及以下错误/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
答案1
解决此问题的唯一方法是删除 OMSA 和所有依赖项,我执行了 dist 升级并重新启动。我找不到根本原因或解决方案。