码迷,mamicode.com
首页 > 数据库 > 详细

sqlplus: error while loading shared libraries

时间:2015-09-07 13:09:33      阅读:178      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!