up vote 3 down vote favorite
share [g+] share [fb]

I'm having some issues with shared libraries in a Red Hat installation, for example when I try to run sqlplus:

error while loading shared libraries: /u01/app/oracle/product/11.2.0/db/lib/libclntsh.so.11.1: cannot restore segment prot after reloc: Permission denied  

How can I permanently disable SELinux?

link|improve this question

71% accept rate
feedback

2 Answers

up vote 1 down vote accepted

Edit /etc/selinux/config and change the SELINUX line to:

SELINUX=disabled  
link|improve this answer
feedback

another possible solution is to execute as root:

#setup 
  Select "Firewall Configuration" 

There you can configure the Firewall and SELinux

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.