SELinux has to be disabled on RHEL/OEL 5
Due to an internal bugs of Oracle database (Bug 6140224, Bug 6079461), SELinux has to be disabled on RHEL/OEL 5 to work with Oracle database 10.2
Immediately after a successful RDBMS installation sqlplus will not start:
./sqlplus / as sysdba
./sqlplus: error while loading shared libraries: $ORACLE_HOME/lib/libnnz11.so: cannot restore segment prot after reloc: Permission denied
SELinux is running in "enforcing" mode. So disable SELinux mode.
You are encountering unpublished Bug 6140224, "SQLPLUS FAILS TO LOAD LIBNNZ11.SO WITH SELINUX ENABLED ON EL5/RHEL5".
Oracle Developement is actively working on this compiler version compatibility issue
(ICC compilers that are used for several libraries, such as LIBNNZ10.SO and LIBNNZ11.SO) in the RHEL 5 and OEL 5 environments.
四、To check whether SELinux is Enabled or Disabled in a system
Security-enhanced Linux (SELinux) is a reference implementation of the Flask security architecture for flexible mandatory access control.
It was created to demonstrate the value of flexible mandatory access controls and how such controls could be added to an operating system.
The Flask architecture has been subsequently mainstreamed into Linux, and ported to several other systems, including the Solaris operating system, the FreeBSD operating system, and the Darwin kernel, spawning a wide range of related work.
The Flask architecture provides general support for the enforcement of many kinds of mandatory access control policies, including those based on the concepts of Type Enforcement, Role-based Access Control, and Multi-level Security.
SELinux may be in three different modes: Enforcing , Disabled or Permissive
use this command to check current status:
五、How to Disable or set SELinux to Permissive mode
1. Edit /etc/selinux/config
a. Change the SELINUX value to "SELINUX=disabled".
b. Reboot the server.
2. To check the status of SELinux:
1. ./sqlplus: error on libnnz11.so: cannot restore segment prot after reloc [ID 454196.1]
2. How to Check whether SELinux is Enabled or Disabled [ID 432988.1]
3. How to Disable or set SELinux to Permissive mode [ID 457458.1]
来自 “ ITPUB博客 ” ，链接：http://blog.itpub.net/10640532/viewspace-687818/，如需转载，请注明出处，否则将追究法律责任。