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 would created by

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. Access your main web page https://<host.domain:port&

R12.2 Adop Hangs And Does Nothing.

Issue is starting here, unable to connect AD Solution: ============ Login by root user and follow the below command: #hostname fc-pun-fusion01  --------------------------- <Enter the hostname in small letters> Note:- In my case, my server hostname was "FC-PUN-FUSION01" and I have change the same in "fc-pun-fusion01". [root@fc-pun-fusion01 ~]# hostname fc-pun-fusion01 [root@fc-pun-fusion01 ~]# Change the same in /etc/hosts file accordingly [root@fc-pun-fusion01 ~]# cat /etc/hosts # Do not remove the following line, or various programs # that require network functionality will fail. ##127.0.0.1             FC-PUN-FUSION01 localhost.localdomain localhost 127.0.0.1               loopback localhost 10.34.156.132           fc-pun-fusion01.india.rapidigm.com fc-pun-fusion01 10.34.156.132           fc-pun-fusion01.india.rapidigm.com fc-pun-fusion01 ::1             localhost6.localdomain6 localhost6 10.34.156.133           FC-PU