Posts

Showing posts from October, 2012

sqlplus: error while loading shared libraries: libclntsh.so.11.1

sqlplus: error while loading shared libraries: cannot restore segment prot after reloc: Permission denied Applies to: Oracle Enterprise Linux 5.5 Database 11gR1 Description: I am using Oracle Enterprise Linux 5.5 and install Oracle Database 11gR1. After successfull installation of OS and Database when I try to login database it give me the following error: sqlplus / as sysdba sqlplus: error while loading shared libraries: /d01/app/oracle/product/11.2.0/dbhome_1/lib/libclntsh.so.11.1: cannot restore segment port after reloc: Permission denied Solution: Reason of the above error because of SELinux is running in ENFORCING mode, Oracle development has recommended the following workaround while they correct the problem. To check the mode execute the following command from root user: root> getenforce Enforcing Switch SELinux from the default “Enforcing” mode that it is running in, to the “Permissive” mode. root> setenforce 0 Now check