≡ Menu

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

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

Share this tutorial on:

Your support makes a big difference:
I have a small favor to ask. More people are reading the nixCraft. Many of you block advertising which is your right, and advertising revenues are not sufficient to cover my operating costs. So you can see why I need to ask for your help. The nixCraft, takes a lot of my time and hard work to produce. If you use nixCraft, who likes it, helps me with donations:
Become a Supporter →    Make a contribution via Paypal/Bitcoin →   

Don't Miss Any Linux and Unix Tips

Get nixCraft in your inbox. It's free:



{ 2 comments… add one }
  • Daniel Esquerdo October 23, 2012, 2:04 am

    Thank you! You help me!

    Great!

    ( I’m using Oracle-Linux 5.8 )

  • makind May 27, 2014, 9:13 am

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

Leave a Comment

You can use these HTML tags and attributes: <strong> <em> <pre> <code> <a href="" title="">


   Tagged with: , , , , , , , , ,