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

last updated in Categories

I‘m using RHEL and whenever I type the command lsnrctl; I get the following error:

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

How do I fix this problem?

This problem is related to SELinux and can be fixed by turning off SELinux totally as follows:
system-config-securitylevel
Make sure you disable SELinux. Save and close the application. Reboot the server:
reboot

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.

Share this on (or read 2 comments/add one below):

2 comment

  1. lsnrctl:error while loading shared libraries:ew_proc_init:cannot open shared object file:no such file or directory

    Have a question? Post it on our forum!