您的位置:首页 > 数据库 > Oracle

安装完成oracle 11g R2 后,使用sqlplus 报错"sqlplus: error while loading shared libraries" ...

2013-03-07 23:18 766 查看
环境平台:  linux  as  5.5 +  oracle  11g  R2
故障描述:
一个11g的bug,在安装完数据库后,能正常创建库以及监听。但在启动sqlplus命令,会发现下面的错误:
[oracle@SANYFCBS ~]$ sqlplus "/as sysdba";
sqlplus: error while loading shared libraries: /opt/ora11/product/11.1/lib/libclntsh.so.11.1: cannot restore segment prot after reloc: Permission denied

解决方法:
检查:[root@SANYFCBS selinux]#getenforce
Enforcing

1. [root@SANYFCBS selinux]#  /usr/sbin/setenforce 0

2. [root@SANYFCBS 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
~
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐