重庆思庄Oracle、Redhat认证学习论坛
标题:
连接Oracle出错:sqlplus "/as sysdba"
[打印本页]
作者:
jiawang
时间:
2019-9-3 09:43
标题:
连接Oracle出错:sqlplus "/as sysdba"
执行sqlplus "/as sysdba"
出现错误:sqlplus: error while loading shared libraries: /u01/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.11.1: cannot restore segment prot after reloc: Permission denied
解决办法1:
[root@oracle selinux]# getenforce
Enforcing
[root@oracle selinux]# setenforce 0
[root@oracle selinux]# getenforce
Permissive
解决办法2:
chcon -t texrel_shlib_t /u01/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.11.1
解决办法3:
vi /etc/sysconfig/selinux 修改 SELINUX=permissive
欢迎光临 重庆思庄Oracle、Redhat认证学习论坛 (http://bbs.cqsztech.com/)
Powered by Discuz! X3.2