Monday 1 July 2013

adapcctl.sh: exiting with status 204

Apache services are not coming up after clone in Oracle Application
============================================


apptest@ctssd $ adopmnctl.sh status

You are running adopmnctl.sh version 120.6.12010000.5

Checking status of OPMN managed processes...

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


adopmnctl.sh: exiting with status 0

adopmnctl.sh: check the logfile /u01/erpapp/inst/apps/ebstest_apptest/logs/appl/admin/log/adopmnctl.txt for more information ...

apptest@ctssd $

Apache  log file contain
======================
[Thu Jun 27 12:32:47 2013] [crit] (125)Address already in use: make_sock: could not bind to port 8036
[Thu Jun 27 12:32:50 2013] [crit] (125)Address already in use: make_sock: could not bind to port 8036

$LOG_HOME/ora/10.1.3/opmn/HTTP_Server~1.log
============================

no processes or applications matched this request

13/06/27 12:32:42 Start process
--------
/u01/erpapp/inst/apps/ebstest_apptest/ora/10.1.3/Apache/Apache/bin/apachectl startssl: execing httpd

--------
13/06/27 12:32:48 Start process
--------

/u01/erpapp/inst/apps/ebstest_apptest/ora/10.1.3/Apache/Apache/bin/apachectl startssl: execing httpd


Opmn execution logfile contain
=====================
opmnctl: starting opmn managed processes...

opmn id=ctssd:6236
0 of 1 processes started.

ias-instance id=ebstest_apptest.apptest.user.com
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
--------------------------------------------------------------------------------
ias-component/process-type/process-set:
HTTP_Server/HTTP_Server/HTTP_Server/

Error
--> Process (index=1,uid=1763906133,pid=4778)
failed to start a managed process after the maximum retry limit
Log:
/u01/erpapp/inst/apps/ebstest_apptest/logs/ora/10.1.3/opmn/HTTP_Server~1.log


06/27/13-12:32:52 :: adapcctl.sh: exiting with status 204

Note: i did many things to resolve this issue but i did not concentrate on this error
(Address already in use: make_sock: could not bind to port 8036).

i stopped apache and started it again failing with status 204 and sometimes with status 150.


Cause:8036 Apache port number is using by some other application services.Use a different port for the clone instance.Below is the details.

apptest@ctssd $ netstat -an|grep -i 8036
*.8036 *.* 0 0 49152 0 LISTEN
apptest@ctssd $ lsof -i|grep -i 8036
httpd 7825 appdev 18u IPv4 0x6003824d840 0t0 TCP *:8036 (LISTEN)
httpd 7881 appdev 18u IPv4 0x6003824d840 0t0 TCP *:8036 (LISTEN)
httpd 7908 appdev 18u IPv4 0x6003824d840 0t0 TCP *:8036 (LISTEN)
httpd 7909 appdev 18u IPv4 0x6003824d840 0t0 TCP *:8036 (LISTEN)
httpd 7910 appdev 18u IPv4 0x6003824d840 0t0 TCP *:8036 (LISTEN)
httpd 7912 appdev 18u IPv4 0x6003824d840 0t0 TCP *:8036 (LISTEN)
httpd 7913 appdev 18u IPv4 0x6003824d840 0t0 TCP *:8036 (LISTEN)
httpd 7953 appdev 18u IPv4 0x6003824d840 0t0 TCP *:8036 (LISTEN)
httpd 7956 appdev 18u IPv4 0x6003824d840 0t0 TCP *:8036 (LISTEN)
httpd 7957 appdev 18u IPv4 0x6003824d840 0t0 TCP *:8036 (LISTEN)
httpd 8690 appdev 18u IPv4 0x6003824d840 0t0 TCP *:8036 (LISTEN)
httpd 8691 appdev 18u IPv4 0x6003824d840 0t0 TCP *:8036 (LISTEN)
appdev@ctssd $ ps -fu appdev|grep -i http|Wc -l
ksh: Wc: not found
appdev@ctssd $ ps -fu appdev|grep -i http|wc -l
20
appdev@ctssd $


Solution:
1)Stop application services
2)take the backup of xml file.
3)Modify the port number to new port number which is free in my case it free on 8035 which i globally changed it to 8035.
4)Run autoconfig .
5)Re test issue.

Happy learning!!!!!!!

1 comment:

  1. I have read your blog and i got a very useful and knowledgeable information, about the oracle Online Training is one of the leading Online Training institute in Hyderabad.
    Oracle fusion financials training

    ReplyDelete