FMw 11g: ./opmnctl start Fails With 'error while loading shared libraries: ... /lib/libdms2.so: cannot restore segment prot after reloc: Permission denied'
Last updated on NOVEMBER 03, 2016
Applies to:Oracle Fusion Middleware - Version 22.214.171.124.0 and later
Oracle Discoverer - Version 126.96.36.199.0 and later
***Checked for relevance on 02-Jun-2015***
When starting OPMN via the command-line in the $ORACLE_INSTANCE/bin directory, you encounter the following error:
/<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
Your Linux administrator may have configured SELinux to 'enforcing'
The server may have been rebooted, not aware the SE Linux enforcing had been enabled.
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