[oracle@demo database]$ sqlplus /nolog
sqlplus: error while loading shared libraries: /u01/oracle/product/OraHome/lib/libclntsh.so.11.1: cannot restore segment prot after reloc: Permission denied
[oracle@demo database]$
sqlplus: error while loading shared libraries: /u01/oracle/product/OraHome/lib/libclntsh.so.11.1: cannot restore segment prot after reloc: Permission denied
[oracle@demo database]$
1 [root@demo ~]# getenforce
Enforcing
2 [root@demo ~]# /usr/sbin/setenforce 0
3 [root@demo ~]# cd /etc/selinux
4 [root@demo selinux]# vi config
5 SELINUX=disabled 添加后保存
6 [root@demo selinux]# su - oracle
[oracle@demo ~]$ sqlplus /nolog
[oracle@demo ~]$ sqlplus /nolog
SQL*Plus: Release 11.2.0.1.0 Production on Mon Jul 4 14:28:09 2011
Copyright (c) 1982, 2009, Oracle. All rights reserved.
SQL> conn /as sysdba
Connected.
Connected.
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/20976446/viewspace-701346/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/20976446/viewspace-701346/