Wednesday, 28 April 2010

Error - FRM-92101 after clone R12


Error -  FRM-92101 after clone to Test instance, Oracle Apps R12 Installation in RHEL4.6
Today  I have cloned my R12 instance in RHEL 4.6 to TEST instance and when I started services it will not having any errors but when I was trying to access the forms, getting the following error
FRM-92101: There was a failure in the Forms Server during startup. This could happen due to invalid configuration. Please look into the web-server log file for details


Java Exception
oracle.forms.net.ConnectionException:Forms sessionfailed during startup:no response from runtime process
at oracle.forms.net.ConnectionException.createConnectionException(Unknown Source)
at oracle.forms.net.HTTPNStream.getResponse(Unknown source)
at oracle.forms.net.HTTPNStream.doFlush(Unknown Source)
at oracle.forms.net.HTTPNStream.flush(Unknown Source)
at java.io.DataOutputStream.flush(Unknown source)
…………………………………………………………..

I have looked into the forms server log file which is given below

$LOG_HOME/ora/10.1.3/opmn/forms_default_group_1/formsstd.out
and found the following error

10/04/28 13:23:18 FormsServlet init():
configFileName:     /appsR12/apps/VIS/inst/apps/TEST_apps12i/ora/10.1.2/forms/server/appsweb.cfg
    testMode:           false
10/04/28 13:23:18 Oracle Containers for J2EE 10g (10.1.3.4.0)  initialized
10/04/28 13:31:38 ListenerServlet init()
10/04/28 13:31:42 Forms session <1> aborted: runtime process failed during startup with errors /appsR12/apps/VIS/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
10/04/28 13:47:51 Shutting down...

The Actual cause of this error for my test instance is that openmotif package not installed along with pre-requisites for R12 in TEST instance server.

So I have installed both openmotif packages from RHEL 4.6 III CD.

$rpm -Uvh openmotif21-2.1.30-11.RHEL4.6.i386.rpm
$rpm –Uvh openmotif-devel-2.2.3-10.1.e14.i386.rpm

then after that i hav relinked the frmweb executable of forms server after shutting the apps services by giving the following commands

$cd $ADMIN_SCRIPTS_HOME
$adstpall.sh apps/
Then
$cd $ORACLE_HOME/forms/lib
$make -f ins_forms.mk install

Then restarted the services using adstrtal.sh apps/
Now there is no issue of form errors and was able to access the forms from my TEST instance.

Please leave your comments about similar issue......

Related Posts by Categories



6 comments:

Karthikeyan K said...

/usr/bin/ld: cannot find /u01/apps/tech_st/10.1.2/lib/stubs/libc.so.6
collect2: ld returned 1 exit status
make: *** [frmbld] Error 1

I got the above error while running make cmd. So I copied from source server to target.

Then I again ran
$make -f ins_forms.mk install

/usr/bin/ld: cannot find /u01/.../apps/tech_st/10.1.2/lib/stubs/libc.so.6
collect2: ld returned 1 exit status
make: *** [frmbld] Error 1

Now it is pointing to old servers loc.

How to rectify it??

Ajikumar G said...

Hi Karthikeyan
Do one thing login as Applmgr and change the value to your new mapping location in libc.so

using vi $ORACLE_HOME/lib/stubs/libc.so

and try to compile again.

Thanks

michael said...

Hi AjiKumar,

Thanks for your valuable blog with the missing rpm. I had exactly same issue, missing openmotif21, spent 3 hours on "my oracle suppot" without success. At the end you saved my day. Thanks a lot.

Just for your information, you don't need to relink the executable. just bouncing the application would fix the issue.

Michael Sesuraj
Melbourne
Australia

Ajikumar G said...

Thanks Mr.Michael Sesuraj for the comments and suggestion
Ajikumar G

Tanmoy said...

what is the openmotif package for el5PAE ? is there any group or user needs to be created before installation ?

Anonymous said...

Thank you so much for this post...it took me a while but I reconfigured ldconfig to look in the correct directories, then used ldd on frmweb, and hey presto ...everything works.

Cheers