当前位置:Gxlcms > 数据库问题 > sqlplus: error while loading shared libraries

sqlplus: error while loading shared libraries

时间:2021-07-01 10:21:17 帮助过:3人阅读

错误:

   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

标签:

人气教程排行