Friday 7 June 2013

adoafmctl.sh: exiting with status 152

While trying to start all services, adoafmctl.sh fails with below error :

adoafmctl.sh: exiting with status 152

Processes in Instance: ebstest_apptest.apptest.user.com
---------------------------------+--------------------+---------+---------
ias-component | process-type | pid | status
---------------------------------+--------------------+---------+---------
OC4JGroup:default_group | OC4J:oafm | N/A | Down
OC4JGroup:default_group | OC4J:forms | 26249 | Alive
OC4JGroup:default_group | OC4J:oacore | 24769 | Alive
HTTP_Server | HTTP_Server | 24447 | Alive

Metalink id:
OAFM OC4J is Not Starting. Error: "time out while waiting for a managed process to start" [ID 952583.1]


Symptoms
Unable to start oafm using adstrtal.sh. Running adoafmctl.sh ends with timeout.


You are running adoafmctl.sh version 120.6.12000000.3 
Starting OPMN managed OAFM OC4J instance ... 
adoafmctl.sh: exiting with status 152 
adoafmctl.sh: check the logfile.

Cause
Existing JSP Tag Library Cache content was preventing the TLD Cache for the mapviewer app from initialising correctly.

Solution:

To implement the solution, please execute the following steps:

1)stop all middle tier services

2)Delete/backup all the files under directory:

cd $COMMON_TOP
mv _TldCache _TldCache_bkp

Take persistance backup or remove it.
==================================================

rm -rf $INST_TOP/ora/10.1.3/j2ee/oacore/persistence/*
rm -rf $INST_TOP/ora/10.1.3/j2ee/oafm/persistence/*
rm -rf $INST_TOP/ora/10.1.3/j2ee/forms/persistence/*
rm -f $INST_TOP/ora/10.1.3/opmn/logs/states/.opmndat


3)start all middle tier services 

after doing above steps issue got resolved .

Processes in Instance: ebstest_apptest.apptest.user.com
---------------------------------+--------------------+---------+---------
ias-component | process-type | pid | status
---------------------------------+--------------------+---------+---------
OC4JGroup:default_group | OC4J:oafm | 27257 | Alive
OC4JGroup:default_group | OC4J:forms | 26249 | Alive
OC4JGroup:default_group | OC4J:oacore | 24769 | Alive
HTTP_Server | HTTP_Server | 24447 | Alive

No comments:

Post a Comment