When you start OPMN in the $ORACLE_INSTANCE/bin directory, if 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.”
Also, if you look in the logs in /var/log/messages and you see:
“[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”
SE Linux might have caused the Forms configuration to fail. It is strongly recommended to disable SE Linux during the installation and configuration of Oracle Forms and Reports. To temporarily disable SE Linux, you will need to do the following:
- Log in with the root user
- Run the following command: “/usr/sbin/setenforce 0”
- Go to $ORACLE_INSTANCE/bin and run “./opmnctl startall”
- In the configuration, you should be able to resume the installation.
If you prefer to permanently disable SE Linux during a system reboot, you will need to do the following:
- Log in with the root user
- Make a backup of /etc/selinux/config
- Open up /etc/selinux/config in a text editor
- Change “SELINUX=enforcing” to “SELINUX=disabled”
- Save and close the file
- Restart the Linux server
Reference: Oracle Support Note 1240845.1