报错"sqlplus: error while loading shared libraries"
来源:互联网 发布:软件企业认证条件 编辑:程序博客网 时间:2024/05/18 20:12
环境平台: 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
~
故障描述:
一个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
~
- 报错"sqlplus: error while loading shared libraries"
- 报错"sqlplus: error while loading shared libraries"
- 报错"sqlplus: error while loading shared libraries"
- ORACLE SQLPLUS 报 error while loading shared libraries
- ORACLE SQLPLUS 报 error while loading shared libraries
- ORACLE11.2.0 SQLPLUS 报 error while loading shared libraries
- sqlplus: error while loading shared libraries
- 执行test-framework报错error while loading shared libraries
- linux使用wkhtmltopdf报错error while loading shared libraries:
- error while loading shared libraries
- error while loading shared libraries
- error while loading shared libraries
- error while loading shared libraries
- error while loading shared libraries
- error while loading shared libraries
- error while loading shared libraries
- error while loading shared libraries
- error while loading shared libraries
- 16. 方向 团队 模式 流程 细节:创业之前要想明白的5件事
- for,foreach,iterator的用法和区别
- oracle中使用子查询为何取到大于自然数1 rownum 浅度解析
- SQL类型操作集合
- 模块端口
- 报错"sqlplus: error while loading shared libraries"
- android UI进阶之实现listview中checkbox的多选与记录
- 为DataSet中的多张表设置表间关系
- ORACLE的DDL语句与已是提交的关系
- linux串口资料
- ComboBox的数据源store格式详解
- VC++ CHtmlView与Javascript交互
- 虚拟机+ubuntu下挂载新硬盘
- Mysql Master-Master Replication MYSQL数据库主主同步设置