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:

  1. Log in with the root user
  2. Run the following command: “/usr/sbin/setenforce 0”
  3. Go to $ORACLE_INSTANCE/bin and run “./opmnctl startall”
  4. 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:

  1. Log in with the root user
  2. Make a backup of /etc/selinux/config
  3. Open up /etc/selinux/config in a text editor
  4. Change “SELINUX=enforcing” to “SELINUX=disabled”
  5. Save and close the file
  6. Restart the Linux server

Reference: Oracle Support Note 1240845.1