sqlplus如果在使用时进不去,并报一下错误:sqlplus: error while loading shared libraries: /opt/oracle/product/OraHome/lib/libclntsh.so.11.1: cannot restore segment prot after reloc: Permission denied
则可以通过一下方法予以修复:
:[root@SANYFCBSselinux]#getenforce
Enforcing
1. [root@SANYFCBSselinux]# /usr/sbin/setenforce 0
2. [root@SANYFCBSselinux]# vi config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing. # disabled - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are: # targeted - Only targeted network daemons are protected. # strict - Full SELinux protection.
SELINUXTYPE=targeted