In the early days of the National Day, Oracle 11 was installed on CentOS 6.5 to test colleagues, and what was used was normal. Before the festival I take a day off, call me that the system in the machine can not log in from the command line, enter the user name password, and then jump to the login interface, had to push to the section to solve.
Yesterday went to look, check the log, in/var/log/below the secure error:
PAM adding faulty Moudle:/lib/security/pam_limits.so
650) this.width=650; "title=" error. jpg "src=" http://s1.51cto.com/wyfs02/M01/88/8D/ Wkiol1f7m8zrnxqwaaabokewfpm771.jpg-wh_500x0-wm_3-wmp_4-s_4249680768.jpg "alt=" Wkiol1f7m8zrnxqwaaabokewfpm771.jpg-wh_50 "/>
It seems that there is no pam_limits.so file under the/lib/security, I go to check it is not, but under the/lib64/security do indeed.
After a bit of thought, when installing Oracle, the /etc/pam.d/login file was modified, adding the following:
Session required/lib/security/pam_limits.so
Modify the login file again, change Lib to lib64, save reboot, solve the problem.
Postscript:
When installing some applications, it is sometimes important to note the difference between a 64-bit system and a 32-bit system file storage location.
This article is from the "Baifuwa blog" blog, make sure to keep this source http://baifuwa.blog.51cto.com/1166785/1860411
CentOS Native Unable to log in from command line interface after completing Oracle