CentOS-5.5-i386,linux_11gR1 安装笔记
安装成功后:emctl start dbconsole
可以访问 https://localhost:1158/em
但 启动 lsnrctl start
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
问题:
The reason is that SELinux is running in "enforcing" mode.
rn
You can check it on file / etc / pam.d / login
rn
Oracle development has recommended the following workaround while they correct the problem:
rn
Switch SELinux from the default "Enforcing" mode that it is running in, to the "Permissive" mode.
解决方法:
rn
Commands, as root:
======================
getenforce (returns "Enforcing")
setenforce 0
getenforce (returns "Permissive")
rn
This allows SELinux to continue running, and logging denial messages, but SELinux will not actually deny any operations. Once Development has resolved this issue, you can (and should) return SELinux to the default "Enforcing" mode as follows:
rn
Commands, as root:
======================
setenforce 1
getenforce (returns "Enforcing")
参考:
http://www.6api.com/sqlplus-error-while-loading-shared-libraries-u0/
页:
[1]