adoafmctl.sh: exiting with status 152
ERROR
Starting OPMN managed OAFM OC4J instance …
adoafmctl.sh: exiting with status 152
And the log file says:
Error
–> Process (index=1,uid=457054968,pid=12684564)
time out while waiting for a managed process to start
SOLUTION
Step 1. $rm $ORA_CONFIG_HOME/10.1.3/opmn/logs/states/*
Clear the TLD cache:
– stop all middle tier services
-Make sure there are not background unix processes ‘ps -ef|grep applmgr’
– Delete/backup the file:
$COMMON_TOP/_TldCache
Step 2. delete all .lock files from the below directory subtrees:
$INST_TOP/ora/10.1.3/j2ee/forms/persistence/forms_default_group_1/
$INST_TOP/ora/10.1.3/j2ee/oacore/persistence/oacore_default_group_1/
$INST_TOP/ora/10.1.3/j2ee/oafm/persistence/oafm_default_group_1/