CentOS Native Unable to log in from command line interface after completing Oracle

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.