标签:
错误:
sqlplus: error while loading shared libraries: ../lib/libclntsh.so.11.1: cannot restore segment prot after reloc: Permission denied
解决方案:
1 root用户登录
2 使用cd命令切换当前目录到 /etc/selinux
[root@TEST11G ~]# cd /etc/selinux
[root@TEST11G selinux]# ll
total 32
-rw-r--r-- 1 root root 448 Jun 6 2014 config
-rw------- 1 root root 144 Jan 16 2007 restorecond.conf
-rw-r--r-- 1 root root 1752 Dec 22 2006 semanage.conf
drwxr-xr-x 5 root root 4096 Jun 6 2014 targeted
3,使用vim打开config文件
找到里面的SELINUX条目,设置成disabled
[root@TEST11G selinux]# 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
4,重启系统,即可!
sqlplus: error while loading shared libraries
标签:
原文地址:http://my.oschina.net/liuyuanyuangogo/blog/502090