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?