1. 程式人生 > >linux無法登陸,顯示module is unknown

linux無法登陸,顯示module is unknown

1.進入救援模式

http://www.linuxidc.com/Linux/2015-03/114942.htm

2.檢視log

cat /var/log/security

---

PAM [error: /lib/security/pam_limits.so: wrong ELF class: ELFCLASS32]

3.修改/etc/pam.d/login

session required /lib/security/pam_limits.so

改為

session required /lib64/security/pam_limits.so