Thursday 13 May 2010

After IP address change, oafm,forms and oacore not starting up - R12

When change the IP address of my linux machine, the following errors found from the logs

adformsctl.sh exiting with status 204
adoafmctl.sh  exiting with status 204
adoacorectl.sh exiting with status 204

The reason for this error is that, OC4J lock files contains the IP adress, after the ip adress change the lock files includes the wrong Ip  adress which caused the OJ4J to fail.

Solution for this issue:
1. open a new shell and set your apps environment
2. cd $ADMIN_SCRIPTS_HOME
3. adopmnctl.sh stop or adopmnctl.cmd stop for windows

4. delete the following:

rm -fr $INST_TOP/ora/10.1.3/j2ee/oacore/persistence/*
rm -fr $INST_TOP/ora/10.1.3/j2ee/oafm/persistence/*
rm -fr $INST_TOP/ora/10.1.3/j2ee/forms/persistence/*

for windows

rm -fr %INST_TOP%\ora\10.1.3\j2ee\oacore\persistence\*
rm -fr %INST_TOP%\ora\10.1.3\j2ee\oafm\persistence\*
rm -fr %INST_TOP%\ora\10.1.3\j2ee\forms\persistence\*

Use the explorer to validate if they are deleted for windows.

5. execute autoconfig at the Application Tier
6. start all Applications Services
7. check if the issue has been resolved: adapcctl.sh status or for windows adapcctl.cmd status

Related Posts by Categories



No comments: