Dear Team,
In our setup we are having 6 MIC cards on 3 host machines.
Out of 6 mic cards, 1 card is not working with ldap authentication.
The troubleshooting steps given below:-
[root@phi1-mic0 ~]# rpm -qa | grep ldap
[root@phi1-mic0 ~]#
[root@phi1-mic0 ~]# logout
Connection to phi1-mic0 closed.
[root@nandadevi1 ~]# ssh phi1-mic1
[root@phi1-mic1 ~]# rpm -qa | grep ldap
libldap-2.4-2-2.4.23-r1.k1om
nss-ldap-265-r0.k1om
pam-ldap-186-r0.k1om
[root@phi1-mic1 ~]#
MIC 0 Log
Oct 6 16:39:58 phi1-mic0 authpriv.info sshd[7022]: pam_unix(sshd:session): session closed for user root
Oct 6 16:40:27 phi1-mic0 authpriv.err sshd[7028]: PAM unable to dlopen(/lib64/security/pam_ldap.so): /lib64/security/pam_ldap.so: cannot open shared object file: No such file or directory
Oct 6 16:40:27 phi1-mic0 authpriv.err sshd[7028]: PAM adding faulty module: /lib64/security/pam_ldap.so
Oct 6 16:40:27 phi1-mic0 authpriv.err sshd[7028]: PAM unable to dlopen(/lib64/security/pam_mkhomedir.so): /lib64/security/pam_mkhomedir.so: cannot open shared object file: No such file or directory
Oct 6 16:40:27 phi1-mic0 authpriv.err sshd[7028]: PAM adding faulty module: /lib64/security/pam_mkhomedir.so
[root@phi1 ~]# micctrl --config
mic0:
=============================================================
Config Version: 1.1
Linux Kernel: /usr/share/mpss/boot/bzImage-knightscorner
Map File: /usr/share/mpss/boot/System.map-knightscorner
BootOnStart: Enabled
Shutdowntimeout: 300 seconds
ExtraCommandLine: Not configured
PowerManagment: cpufreq_on;corec6_off;pc3_on;pc6_off
Root Device: Dynamic Ram Filesystem /var/mpss/mic0.image.gz from:
Base: CPIO /usr/share/mpss/boot/initramfs-knightscorner.cpio.gz
Overlay: RPM /root/mpss-3.3/k1om/pam-plugin-mkhomedir-1* on
Overlay: RPM /root/mpss-3.3/k1om/libldap-2.4-2-2.4.23-r1.k1om.rpm on
Overlay: RPM /root/mpss-3.3/k1om/nss-ldap-265-r0.k1om.rpm on
Overlay: RPM /root/mpss-3.3/k1om/pam-ldap-186-r0.k1om.rpm on
Overlay: Filelist /opt/lustre/2.5.2 /opt/lustre/2.5.2/lustre-client-mic-modules.filelist on
Overlay: Filelist /opt/lustre/2.5.2 /opt/lustre/2.5.2/lustre-client-mic.filelist on
CommonDir: Directory /var/mpss/common
Micdir: Directory /var/mpss/mic0
Network: Static bridge br0
MIC IP: 192.168.1.82
Host IP: 192.168.1.81
Net Bits: 24
NetMask: 255.255.255.0
MtuSize: 1500
Hostname: phi1-mic0.imsc.res.in
MIC MAC: 4c:79:ba:54:00:66
Host MAC: 4c:79:ba:54:00:67
LDAP: Enabled
NIS: Disabled
Cgroup:
Memory: Disabled
Console: hvc0
VerboseLogging: Disabled
CrashDump: /var/crash/mic 16GB
mic1:
=============================================================
Config Version: 1.1
Linux Kernel: /usr/share/mpss/boot/bzImage-knightscorner
Map File: /usr/share/mpss/boot/System.map-knightscorner
BootOnStart: Enabled
Shutdowntimeout: 300 seconds
ExtraCommandLine: Not configured
PowerManagment: cpufreq_on;corec6_off;pc3_on;pc6_off
Root Device: Dynamic Ram Filesystem /var/mpss/mic1.image.gz from:
Base: CPIO /usr/share/mpss/boot/initramfs-knightscorner.cpio.gz
Overlay: RPM /root/mpss-3.3/k1om/pam-plugin-mkhomedir-1* on
Overlay: RPM /root/mpss-3.3/k1om/nss-ldap-2* on
Overlay: RPM /root/mpss-3.3/k1om/pam-ldap-1* on
Overlay: Filelist /opt/lustre/2.5.2 /opt/lustre/2.5.2/lustre-client-mic-modules.filelist on
Overlay: Filelist /opt/lustre/2.5.2 /opt/lustre/2.5.2/lustre-client-mic.filelist on
CommonDir: Directory /var/mpss/common
Micdir: Directory /var/mpss/mic1
Network: Static bridge br0
MIC IP: 192.168.1.83
Host IP: 192.168.1.81
Net Bits: 24
NetMask: 255.255.255.0
MtuSize: 1500
Hostname: phi1-mic1.imsc.res.in
MIC MAC: 4c:79:ba:54:00:70
Host MAC: 4c:79:ba:54:00:71
LDAP: Enabled
NIS: Disabled
Cgroup:
Memory: Disabled
Console: hvc0
VerboseLogging: Disabled
CrashDump: /var/crash/mic 16GB
[root@phi1 ~]#
Need your guidance to resolve the problem
Thank you
Atul Yadav