Monday, October 11, 2010

sqlplus returning "cannot restore segment prot after reloc: Permission denied"


When running sqlplus on Linux, we received the following error:
sqlplus: error while loading shared libraries: /u01/app/oracle/product/11.2.0/dbhome_1/lib/ cannot restore segment prot after reloc: Permission denied
We were running the Oracle Database Client 11g ( on Red Hat Linux 5.5 x86. Our installation was valid and our environment was set correctly.


This is directly related to SELinux.

1. As 'root', on the Gnome desktop, click on 'System -> Administration -> SELinux Management'

2. Set the following values as follows:
System Default Enforcing Mode: Permissive
Current Enforcing Mode: Permissive
System Default Policy Type: targeted
3. Rerun the command, and you should be okay.

Applicable Versions:

Oracle Database Client 11g (


No comments: