Way to success...

--"Running Away From Any PROBLEM Only Increases The DISTANCE From The SOLUTION"--.....--"Your Thoughts Create Your FUTURE"--.....--"EXCELLENCE is not ACT but a HABIT"--.....--"EXPECT nothing and APPRECIATE everything"--.....

Tuesday, October 10, 2017

Configuring Oracle Forms and Reports 11g Release 2 (11.1.2.2.0) fails at a step "opmnctl startproc ias-component=RptSvr_xxxx_xxx"


Issue:

Configuring Oracle Forms and Reports 11g Release 2 (11.1.2.2.0) fails at a given "start report server component" step 

"opmnctl startproc ias-component=RptSvr_xxxx_xxx"

Checking INSTANCE_HOME/diagnostics/logs/ReportsServerComponent/ReportsServer_instance1_instance/console~ReportsServer_instance1_instance~1.log log file the following is being recorded

ORACLE_HOME/bin/rwserver: error while loading shared libraries: libXm.so.3: cannot open shared object file: No such file or directory

 




Cause:

"rwserver" is looking for a shared library libXm.so.3

This error is thrown because the motif library for Oracle Linux 7 and SUSE 12 (SP1+) contains the upgraded version, libXm.so.4*.



Solution:

To fix this problem, create a symlink named libXm.so.3 that points to the location of libXm.so.4* under /usr/lib64/ before running configuration.

1. As a "root" user - Go to directory : /usr/lib64
2. Run command : ln -s /usr/lib64/libXm.so.4.0.4 libXm.so.3
3. Append /usr/lib64 to all LD_LIBRARY_PATH referenced in $ORACLE_HOME/bin/config.sh, like so:



4. Run the config.sh from $ORACLE_HOME/bin.