Thursday, January 10, 2013

Error while loading shared libraries: libXm.so.2


Error:
====

Error while loading shared libraries: libXm.so.2

Scenario : =======

Settting up a new clone R12.1.1 to a fresh linux machine, when i call any form i get the error:


Error Description :
===================
While we started loading the forms we get the following error :
 
FRM-92101 There was a failure in the Forms server during startup. 
This could happen due to an invalid configuration.
Please look into the web server log for the details.
Details...
Java Exception:
oracle.forms.net.ConnectionException...
...

We checked the Log file :

$LOG_HOME/ora/10.1.3/opmn/forms_default_group_1/formsstd.out
...
13/01/09 21:56:07.123 formsweb: Forms session <1> aborted: runtime process failed during startup with errors /R12/apps/tech_st/10.1.2/bin/frmweb: error while loading shared libraries: libXm.so.2: cannot open shared object file: No such file or directory
...

Solution: 
=======

Create directory and copy paste the contents of /usr/X11R6/lib from another server that exists libXm.so.2 or download it from the internet for your specific linux version. 

Or if you are missing the prerequisite rpms, install the following RPM packages: 

Workaround: 

Create directory and copy paste the contents of /usr/X11R6/lib from another server that exists libXm.so.2 or download it from the internet for your specific linux version. 
Or if you are missing the prerequisite rpms, install the following RPM packages: 
Or if you are missing the prerequisite rpms, install the following RPM packages: 
xorg-x11-libs-compat-6.8.2-1.EL.33.0.1
xorg-x11-libs-6.8.2-1.EL.33.0.1.WB1.i386.rpm
libXp-1.0.0-8.1.el5 
openmotif21-2.1.30-11.EL5 

Now After install Clear the Persistance Cache and Bounce the opmn.

No comments: