Dell-Poweredge

Ubuntu 上的戴爾 OMSA 身份驗證失敗

  • July 18, 2013

我正在嘗試在執行 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 升級並重新開始。我找不到根本原因或解決方案。

引用自:https://serverfault.com/questions/502920