Oracle 11g SELinux原因启动失败的解决办法

OS:Oracle-Enterprise-R5-U2-Server-i386
Oracle:linux_x86_11gR1_database

ERROR:
sqlplus: error while loading shared libraries: /u01/app/oracle/product/11.1.0/db_1/lib/libnnz11.so: cannot restore segment prot after reloc: Permission denied

一:简单方法
[root@oracle11g ~]# getenforce
Enforcing
[root@oracle11g ~]# setenforce 0
[root@oracle11g ~]# getenforce
Permissive
[root@enterprice64 ~]# su - oracle
[oracle@oracle11g ~]$ sqlplus “/ as sysdba”

SQL*Plus: Release 11.1.0.6.0 - Production on Sun Jul 27 07:52:11 2008

Copyright (c) 1982, 2007, Oracle. All rights reserved.

Connected to an idle instance.

SQL>
Note:系统重启后会失效.

二:推荐方法
vi /etc/sysconfig/selinux 修改 SELINUX=permissive
或者
chcon -t texrel_shlib_t /u01/app/oracle/product/11.1.0/db_1/lib/libnnz11.so