sqlplus: error while loading shared libraries: /u01/oracle/lib/libclntsh.so.11.1: cannot restore segment prot after reloc: Permission denied
解决方法:
[root@linuxhost lib]# /usr/sbin/getenforce
Enforcing
[root@linuxhost lib]# /usr/sbin/setenforce 0
[root@linuxhost lib]# cd /etc/selinux
[root@linuxhost selinux]# ls
config restorecond.conf semanage.conf targeted
[root@linuxhost 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
把SELINUX设置为disabled 就好了,保存后退出。
SELINUX不设置为disabled 状态的话,FTP传输也会失败。