Oracle Installation in RedHat 5.6 has some problems.

Source: Internet
Author: User

1. After some environment variables are configured during Oracle Installation, restart and log on to localhost login: Interface
Cause:
======================================
# Vi/etc/pam. d/login
Add the following content at the end of the file
Session required/lib/security/pam_limits.so
Session required pam_limits.so
======================================

After removing these two sentences, you can start the service normally.Session required/lib/security/pam_limits.so // This is not required for 64-bit systems. "I have installed 64-bit systems. Do not blindly follow these steps!

2,Run the installation command:./runInstaller
The error is as follows:
========================================================== ==========
All installer requirements are met.
Check temporary space: it must be greater than 80 MB. Actually 7004 MB passed
Check swap space: it must be greater than 150 MB. Actually 1192 MB passed
Check the monitor: The monitor configuration must display at least 256 colors that fail <
>>> The command/usr/X11R6/bin/xdpyinfo cannot be used to automatically check the display color. Check whether the DISPLAY variable is set.
Some optional prerequisite checks were not passed. Continue? (Y/n) [n] n
.......
========================================================== ==========
Set the environment variable to DISPLAY = localhost: 0.0.
Or DISPLAY = 127.0.0.1: 0.0
Or DISPLAY =: 0.0
Export DISPLAY
I can't try it. It's still bad.
Obtain the root permission and execute xhost

3. An error occurred while executing sqlplus.

Commad not found environment variable not set

Set Environment Variables
# Vi/home/oracle/. bash_profile
Export ORACLE_HOME= $ ORACLE_BASE/Product/11.2.0/dbhome_1
Export PATH= $ PATH:/$ ORACLE_HOME/bin: $ HOME/bin

[Oracle @ localhost lib] $ ../bin/sqlplus

.. /Bin/sqlplus: error while loading shared libraries:/opt/app/oracle/product/11.2.0/dbhome_1/lib/libclntsh. so.11.1: cannot restore segment prot after reloc: Permission denied

Root permission execution

Semanage fcontext-a-t textrel_shlib_t/opt/app/oracle/product/11.2.0/dbhome_1/lib/libclntsh. so.11.1
Restorecon-R-v/opt/app/oracle/product/11.2.0/dbhome_1/lib/libclntsh. so.11.1

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.