FMw 11g: ./opmnctl start Fails With 'error while loading shared libraries: ... /lib/libdms2.so: cannot restore segment prot after reloc: Permission denied' (Doc ID 1240845.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle Fusion Middleware - Version 11.1.1.2.0 and later
Oracle Discoverer - Version 11.1.1.2.0 and later
Generic Linux
***Checked for relevance on 02-Jun-2015***

Symptoms

When starting OPMN via the command-line in the $ORACLE_INSTANCE/bin directory, you encounter the following error:

./opmnctl start
/<path>/<oracle_home>/opmn/bin/opmn: error while loading shared libraries: /home/oracle/<path>/<oracle_home>/lib/libdms2.so: cannot restore segment prot after reloc: Permission denied
opmnctl start: failed.



/var/log/messages may show:


[timestamp] [hostname] setroubleshoot: SELinux is preventing opmn from loading /<path>/<oracle_home>/lib/libdms2.so which requires text relocation. For complete SELinux messages. run sealert -l dbb17e5f-a54f-467c-8908-0a8daa604862

 

Changes

Your Linux administrator may have configured SELinux to 'enforcing'
The server may have been rebooted, not aware the SE Linux enforcing had been enabled.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms