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:

ADVERTISEMENTS

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

🐧 Get the latest tutorials on SysAdmin, Linux/Unix, Open Source/DevOps topics:
CategoryList of Unix and Linux commands
File Managementcat
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04

ADVERTISEMENTS
2 comments… add one
  • Daniel Esquerdo Oct 23, 2012 @ 2:04

    Thank you! You help me!

    Great!

    ( I’m using Oracle-Linux 5.8 )

  • makind May 27, 2014 @ 9:13

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

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre>, <code>...</code> and <kbd>...</kbd> for code samples.