首页 > 数据库技术 > 详细

sqlplus: error while loading shared libraries

时间:2015-09-07 13:08:46      阅读:293      评论:0      收藏:0      [点我收藏+]

错误:

   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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!