Saturday, August 20, 2011

Issue : R12 Apache Service not coming UP after performing HRMS Upgrade & Autoconfig.

Apps : 12.1.3

Database : 11.2.0.2

Checking the status of Apache service using below command

[AMD64] apkiranginni@kiranginni > adapcctl.sh start

You are running adapcctl.sh version 120.7.12010000.2

Starting OPMN managed Oracle HTTP Server (OHS) instance ...

opmnctl: opmn is already running.

opmnctl: starting opmn managed processes...

================================================================================

opmn id=kiranginni:10025

no processes or applications matched this request

adapcctl.sh: exiting with status 0

adapcctl.sh: check the logfile /kiranginni/mtlog/kiranginni_kiranginni/logs/appl/admin/log/adapcctl.txt for more information ...

On Another Node 08:

****************************************************

You are running adapcctl.sh version 120.7.12010000.2

Starting OPMN managed Oracle HTTP Server (OHS) instance ...

opmnctl: opmn is already running.

opmnctl: starting opmn managed processes...

================================================================================

opmn id=ramuginni:10025

0 of 1 processes started.

ias-instance id=kiranginni_ramuginni.ramuginni.mydomain.com

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

--------------------------------------------------------------------------------

ias-component/process-type/process-set:

HTTP_Server/HTTP_Server/HTTP_Server/

Error

-> Process (index=1,uid=1849172640,pid=9919)

failed to start a managed process after the maximum retry limit

Log:

/kiranginni/mtlog/kiranginni_ramuginni/logs/ora/10.1.3/opmn/HTTP_Server~1.log

adapcctl.sh: exiting with status 0

adapcctl.sh: check the logfile /kiranginni/mtlog/kiranginni_ramuginni/logs/appl/admin/log/adapcctl.txt for more information ...

.end std out.

.end err out.

From error Log :

/kiranginni/inst/apps/kiranginni_ramuginni/ora/10.1.3/Apache/Apache/bin/apachectl startssl: execing httpd

Syntax error on line 92 of /kiranginni/inst/apps/kiranginni_ramuginni/ora/10.1.3/Apache/Apache/conf/trusted.conf:

--------

11/08/14 20:50:11 Start process

--------

/kiranginni/inst/apps/kiranginni_ramuginni/ora/10.1.3/Apache/Apache/bin/apachectl startssl: execing httpd

Syntax error on line 92 of /kiranginni/inst/apps/kiranginni_ramuginni/ora/10.1.3/Apache/Apache/conf/trusted.conf:

[AMD64] apkiranginni@ramuginni > adident Header trusted.conf

trusted.conf:

$Header trusted_conf_1013.tmp 120.1.12000000.3 2008/02/19 11:16:21 upinjark ship $

[AMD64] apkiranginni@ramuginni >

[AMD64] apkiranginni@ramuginni > /Apache/conf/trusted.conf <

/kiranginni/inst/apps/kiranginni_ramuginni/ora/10.1.3/Apache/Apache/conf/trusted.conf:

$Header trusted_conf_1013.tmp 120.3.12010000.4 2009/11/10 09:18:23 sbandla ship $

Solution : Copied from Old snapshot before the activity and then tested by starting the services

[AMD64] apkiranginni@ramuginni > adopmnctl.sh status

You are running adopmnctl.sh version 120.6.12010000.5

Checking status of OPMN managed processes...

Processes in Instance: kiranginni_ramuginni.ramuginni.mydomain.com

---------------------------------+--------------------+---------+---------

ias-component | process-type | pid | status

---------------------------------+--------------------+---------+---------

OC4JGroup:default_group | OC4J:oafm | 10238 | Alive

OC4JGroup:default_group | OC4J:oacore | 9972 | Alive

OC4JGroup:default_group | OC4J:oacore | 9971 | Alive

HTTP_Server | HTTP_Server | 19869 | Alive

adopmnctl.sh: exiting with status 0

adopmnctl.sh: check the logfile /kiranginni/mtlog/kiranginni_ramuginni/logs/appl/admin/log/adopmnctl.txt for more information ...

Fixed on another Node 08:



Cause of the Issue : After analysis found that improper customisations during Pre-Health checks caused the issue.

Need to be very careful while doing customizations. In this case since this file has wrong syntax clearly, we are on top of it to correct and made the service available soon.



Thanks
Kiran G

No comments:

Post a Comment