epifanio67
asked on
Oracle11g: new install: sqlplus: 'error while loading shared libraries...' any ideas?
Hello Experts,
I just installed Oracle11g R2. Now, trying to connect via sqlplus to start instance of db. but I get error below, any ideas what the problem may be?
[oracle@oracle bin]$ ./sqlplus "/ as sysdba"
./sqlplus: error while loading shared libraries: /oracle/lib/libclntsh.so.1 1.1: cannot restore segment prot after reloc: Permission denied
thanks for all of your help...
regards,
I just installed Oracle11g R2. Now, trying to connect via sqlplus to start instance of db. but I get error below, any ideas what the problem may be?
[oracle@oracle bin]$ ./sqlplus "/ as sysdba"
./sqlplus: error while loading shared libraries: /oracle/lib/libclntsh.so.1
thanks for all of your help...
regards,
this may be a SELinux error if you are on Linux...try disabling it and see if that works. If you aren't on linux...what operating system are you using?
ASKER
thank you expert,
I just disable it; but still getting same results...
these are all variables set:
ORACLE_SID=orcl
ORACLE_BASE=/home/oracle/a pp/oracle
ORACLE_HOME=/oracle
TMPDIR=/oracle/tmp
TMP=/oracle/tmp
LD_LIBRARY_PATH=/oracle/bi n:$PATH
any other ideas?
thanks so much....
regards,
I just disable it; but still getting same results...
these are all variables set:
ORACLE_SID=orcl
ORACLE_BASE=/home/oracle/a
ORACLE_HOME=/oracle
TMPDIR=/oracle/tmp
TMP=/oracle/tmp
LD_LIBRARY_PATH=/oracle/bi
any other ideas?
thanks so much....
regards,
Try running this command:(again if you already did it)
and then typing
and post your results back here
setenforce 0
and then typing
tnsping orcl
and post your results back here
ASKER
thank you experts,
same error:
./tnsping: error while loading shared libraries: /oracle/lib/libclntsh.so.1 1.1: cannot restore segment prot after reloc: Permission denied
odd... there was no issues with the install and/or creation of db
same error:
./tnsping: error while loading shared libraries: /oracle/lib/libclntsh.so.1
odd... there was no issues with the install and/or creation of db
Ok, you need to log in as root and run this command
and post the results back here
getenforce
and post the results back here
ASKER
thank you expert,
[root@oracle bin]# /usr/sbin/getenforce
Enforcing
don't understand... I update /etc/selinux/conf
[root@oracle bin]# /usr/sbin/getenforce
Enforcing
don't understand... I update /etc/selinux/conf
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thank you experts so much...