SELinux has to be disabled on RHEL/OEL 5
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
一、Symptoms
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
二、change
SELinux is running in "enforcing" mode. So disable SELinux mode.
三、Cause
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:
# /usr/sbin/getenforce
# /usr/sbin/sestatus
五、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:
# /usr/sbin/sestatus
參考文獻:
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/9252210/viewspace-662627/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- RHEL5SELinux:AbenchmarkLinux
- How to Check whether SELinux is Enabled or Disabled [ID 432988.1]Linux
- RHEL 6: semanage SELinux 命令找不到Linux
- Requirements For Installing Oracle10gR2 On RHEL 5/OEL 5 (x86_64)UIREMOracle
- Error: php@8.0 has been disabled because it is a versioned formula! It was disabled on 2023-11-29.ErrorPHPORM
- The partner transaction manager has disabled its support for remote/network transactions.REM
- Configuring raw devices (multipath) for Oracle Clusterware 10g Release 2 (10.2.0) on RHEL5-OEL5 [ID ...devOracle
- Configuring non-raw multipath devices for Oracle Clusterware 11g (11.1.0) on RHEL5/OEL5devOracle
- PHP Warning: exec() has been disabled for security 問題解決辦法PHP
- Install GC 10.2.0.5.0 on OEL/RHEL5/SLES10 Using Existing Database (11g)_784963.1GCDatabase
- rhel5上配置vsftpd_421 Service not available, remote server has closed connectionFTPAIREMServer
- RHEL 5 DNS 配置DNS
- Junit5系列-Junit5中@Disabled禁止執行
- jQuery :disabledjQuery
- <input> disabled
- RHEL5下載地址
- 軟raid5 試驗(rhel 5)AI
- SELinuxLinux
- OEL 11.2.0.2 RAC 資料庫停電導致has程式無法啟動OLR檔案損壞資料庫
- redhat5(rhel5)_ipcs詳解_轉Redhat
- SELinux: 如何讓selinux對某些命令放行,自定義selinux規則。Linux
- module ‘h5py‘ has no attribute ‘File‘H5
- jQuery設定disabled屬性與移除disabled屬性jQuery
- Rhel5 軟raid5的實驗AI
- selinux控制Linux
- rhel5如何配置自有的gssftpFTP
- rhel5 學用export 及unsetExport
- Keep an eye on these 5 new features in RHEL 7
- 剖析RHEL5 日誌系統
- iPhone 5c cases and covers has a real chance to make itiPhone
- switch_selinux.sh | 開啟或禁用SELinuxLinux
- 檢視 SELinux狀態及關閉SELinuxLinux
- SELinux Introduce - SELinux技術簡介(轉)Linux
- 檢視selinux的狀態以及關閉selinuxLinux
- RHEL5+postfix+mysql+extmai(原始碼)(一)MySqlAI原始碼
- RHEL5 hadoop2.4.1 rsync配置Hadoop
- rhel5安裝oracle10gOracle
- 配置xmanager3連線RHEL5