First Error with OLE 5

I just have time to install Oracle Enterprise Linux (OLE) on VMWare. The first error I encountered after trying to login into the 11g (11.1.0.6) database is this –

[oracle@oralnx1 ~]$ sqlplus / as sysdba

sqlplus: error while loading shared libraries:

/opt/oracle/product/11.1.0/db_1/lib/libnnz11.so:

cannot restore segment prot after reloc:

Permission denied.

Well, I guess this is not a new error. I googled for it and found the answer on Ravi’s blog (Thanks!!!). As Metalink note 454196.1 says, it is a bug due to more aggressive way that SELinux policies are enforced in RHEL 5 and OEL 5. The fix is to make SELinux is running in “Permissive” mode instead of its default “enforcing” mode. The syntax is provided in Metalink document.

[root@oralnx1 ~]# setenforce 0

[oracle@oralnx1 ~]$ sqlplus / as sysdba

SQL*Plus: Release 11.1.0.6.0 - Production on Fri Dec 12 08:14:32 2008

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

Connected to an idle instance.

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top