Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

lsnrctl: error while loading shared libraries: /u01/app/oracle/product/11.2

626620Apr 9 2010 — edited Nov 10 2010
I just installed Oracle 11.2 on Redhat linux 2.6.18-92.el5. Everything appear to be OK. Both the instanec and the listener are up running.

But when I ran lsnrctl I get error
[oracle@cchbi ~]$ lsnrctl
lsnrctl: error while loading shared libraries: /u01/app/oracle/product/11.2.0/dbhome_1/lib/libclntsh.so.11.1: 
cannot restore segment prot after reloc: Permission denied
I also get the same error when run sqlplus

Check the library file
[oracle@cchbi lib]$ ll /u01/app/oracle/product/11.2.0/dbhome_1/lib/libclntsh.so.11.1
-rwxr-xr-x 1 oracle oinstall 47M Apr  9 01:54 /u01/app/oracle/product/11.2.0/dbhome_1/lib/libclntsh.so.11.1
I searched the forum and find thread with a similar error
4184582
The error there is 
lsnrctl: error while loading shared libraries: /u01/app/oracle/product/11.1.0/db _1/lib/libclntsh.so11.1: 
cannot restore segment prot after reloc: Permission denied.
It was solved by setting SELINUX=permissive in /etc/selinux/config file.

I followed the suite but it does not work here. The error is about the same library file. The only different is that we are Oracle 11.2.

What is going wrong?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 8 2010
Added on Apr 9 2010
9 comments
9,635 views