Search This Blog

Sunday, September 25, 2011

/sqlplus: error while loading shared libraries: /db/product/11.2.0/dbhome_1/lib/libclntsh.so.11.1: cannot restore segment prot after reloc Permission Denied

when i try to login to sqlplus on 11g installed on linux OS.

get below error
[oracle@orapd bin]$ ./sqlplus / as sysdba
./sqlplus: error while loading shared libraries: /db/product/11.2.0/dbhome_1/lib/libclntsh.so.11.1: cannot restore segment prot after reloc: Permission denied

solution:
1. login with root user and execute below command
[oracle@orapd bin]$ su root
Password:
[root@orapd bin]#  /usr/sbin/setenforce 0
[root@orapd bin]# exit
exit
[oracle@orapd bin]$ ./sqlplus / as sysdba

SQL*Plus: Release 11.2.0.1.0 Production on Fri Sep 23 20:07:58 2011

Copyright (c) 1982, 2009, Oracle.  All rights reserved.

Connected to an idle instance.

SQL>

No comments: