Wednesday, November 26, 2014

adopmnctl.sh: exiting with status 2



   After a brief OS update when we started the Oracle Apps Services, opmn services were stalled and it was ending with the following error for OACORE,FORMS,OAFM and FORMS-C4WS.

OPMN Services are failed to start with the error:
Starting Apache...
Apache started successfully.


Starting OACORE oc4j...
EXIT CODE is 2. Please check the log file for more details.


Starting FORMS oc4j...
EXIT CODE is 2. Please check the log file for more details.


Starting OAFM oc4j...
EXIT CODE is 2. Please check the log file for more details.


Starting FORMS-C4WS oc4j...
EXIT CODE is 2. Please check the log file for more details.



adopmnctl.sh: exiting with status 2


There is no entry in any of the log file even after enabled the logging and restarting the services.

Solution:

The Problem was due to the changes made automatically in /etc/hosts file.

Just need to correct the entries of your application server  host to IP details and restart the services. This will clear the error.

1 comment:

Saqib Ahmed said...

thank you very much boss my issue is resolved...........


thanks again saqib ahmed from karachi