Skip to main content

lsnrctl: error while loading shared libraries: /lib/libnnz11.so: cannot restore segment prot after reloc: Permission denied




Problem:

After installing Oracle E-Business Suit or after installing Oracle database 11.x.xx.xx Software
on OEL 5.x Server, trying to connect the database "sqlplus /nolog" or trying to start the lsnrctl, getting the below error message :

case1:

command :
sqlplus /nolog

Error:

"sqlplus: error while loading shared libraries: <ORACLE_HOME>/lib/libnnz11.so: cannot restore segment prot after reloc: Permission denied"


case 2:
command : lsnrctl start <SID_NAME>

Error:

lsnrctl: error while loading shared libraries:
<ORACLE_HOME>/lib/libnnz11.so: cannot restore segment prot after reloc: Permission denied






Cause:


According to Metalink Note: 454196.1 -  libnnz11.so: cannot restore segment prot after reloc: Permission denied and ./sqlplus: error on libnnz11.so: cannot restore segment prot after reloc [ID 454196.1] , it's SELinux causing this problem.


Solution:



Disable SELinux
Switch SELinux from the default "Enforcing" mode that it is running in, to the "Permissive" mode.

Commands, as root:
======================
getenforce       (returns "Enforcing")
setenforce 0
getenforce       (returns "Permissive")


Please follow the below snapshot:





Issue Resolved :)





Comments

Popular posts from this blog

[INS-06001] Failed to perform operation due to internal driver error (During installation of RAC 11g)

Solution: root@NFSP70DB # cat /tmp/OraInstall2013-03-05_01-43-51PM/sshsetup3_2013-03-05_01-43-51PM.log INFO: Environment Variables: INFO:   ORACLE_HOME = INFO:   PATH = /usr/bin:/usr/ccs/bin:/usr/bin::/oracle/dump/install INFO:   CLASSPATH = INFO: Username:grid INFO: Lock Retry Count 120 INFO: Lock Sleep Time 30000 INFO: Home Dir /export/home/grid INFO: Lock Location : /export/home/grid/.ssh/lock INFO: Trying to get Lock .... INFO: Lock Acquired INFO: LIBRARY_LOC = /tmp/OraInstall2013-03-05_01-43-51PM/oui/lib/solaris INFO: Validating remote binaries.. INFO: [NFSP70DB] INFO: /bin/bash -c '/bin/true' INFO: Exit-status: 0 INFO: Error: INFO: INFO: INFO: [NFSP70DB] INFO: /bin/bash -c 'if [[ -f /usr/local/etc/ssh_host_rsa_key.pub ]] ; then exit 0; else exit 1; fi' INFO: Exit-status: 0 INFO: Error: INFO: INFO: INFO: An error occured which will cause the program to abort. Refer to latest Log file that was supplied while running the program. The Log file woul...

Configuration workflow mailer on R12 (Mailer server working in SSL and Application running without SSL)

Steps: ---------------------- In order to Configure Workflow Java Mailer with IMAP and SMTP email servers SSL enabled, need to perform the below steps 1. Export the Certificate from the Email server.     2. Create a keystore on the Concurrent Manager Tire. Import the certificate to keystore     3. Configure the Mailer to work with IMAPSSL / SMTPSSL.     4. Steps for Debugging the Mailer.     5. R12.1.3 feature - Mailer Authentication     Protocol: SMTP/SSL Port : 465 Protocol: IMAP/SSL Port : 993 1. Export the Certificate from the Email server.   In order to be able to establish a Secure communication channel, the certificate from the Email Server (issued by a Certification Authority) needs to be imported on the Concurrent Manager Tire. The email server certificate issued by a trusted Certification Authority (i.e. Verisign), can be obtain from the System Administrator or downloaded by following the below steps A. A...

Installation Single Sign-On (Oracle Internet Directory) & Oracle Web Discoverer 10g on solaris 10 configured with E-Business Suit R12

Discoverer Configuration Step 1- Check OS Prerequisite on erpdisc (erpdisc is discoverer Node) Hostname -hostname OSVERSION - uname -r Maintenance level - /etc/release RAM - /usr/sbin/prtconf | grep -i memory SWAP - swap -s Tmp - df -k /tmp Kernel Parameter- /etc/system JDK & JRE - /usr/bin/java -version Ulimit- ulimit -a Hostname settings- /etc/hosts OS 64 bit or 32 bit - /bin/isainfo -kv File Descriptor- /etc/system set rlim_fd_max=65536 Oracle OS Group - /etc/group Oracle OS Discoverer User – mkuser -disc OS Packages- pkginfo <package name> OS Patches- showrev -p <patch_name> Software Requirement – which ar which ld which make which X Display Server Step 2 – Make changes in hosts file root@erpdisc # more /etc/hosts # # Internet host table # 127.0.0.1        localhost.localdomain    localhost xxx.xx.xx.xx  ...