Sunday, November 15, 2009

Oracle 10g Agent Failed to start HTTP listener---Quick fix

while starting the Agent we faced the issue..which resulted in message "Failed to start HTTP listener"

Try to start the Agent

moesel(agent):/ora/product/agent/10203/agent10g/sysman/log>emctl start agent


Oracle Enterprise Manager 10g Release 3 Grid Control 10.2.0.3.0.
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Starting agent ....... failed.
Failed to start HTTP listener----------------message?

We checked the logs in


moesel(agent):/ora/product/agent/10203/agent10g/sysman/log>vi emagent.nohup
found somthing like this....
----- Sun Nov 15 12:52:01 2009::Checking status of EMAgent : 12151 -----
----- Sun Nov 15 12:52:31 2009::Checking status of EMAgent : 12151 -----
----- Sun Nov 15 12:52:52 2009::Checking status of EMAgent : 12151 -----
----- Sun Nov 15 12:52:52 2009::EMAgent exited at Sun Nov 15 12:52:52 2009 with signal 9 -----

A Quick fix

11/14/09 00:42:38 (PZSKNX):


moesel(agent):/export/home/oracle>emctl status agent

Oracle Enterprise Manager 10g Release 3 Grid Control 10.2.0.3.0.
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
Agent is Not Running

moesel(agent):/export/home/oracle>ps -ef|grep agent

root 16008 16007 0 Sep 04 ? 0:00 /bin/sh -c /bin/sh -c "./aex-runinvnow -c >../aex-invagentlastrun.log 2>&1"
root 2587 2219 0 Jun 20 ? 27:45 /opt/Tivoli/im/Solaris_agent/bin/SolarisAgent
root 16007 2219 0 Sep 04 ? 0:00 /bin/sh -c PATH="${PATH}:/opt/altiris/notification/nsagent/var/packages/{45F064
root 16077 16010 3 Sep 04 ? 101676:07 aex-invagent-configuration
root 14300 14299 0 Jul 17 ? 0:00 /bin/sh -c /bin/sh -c "./aex-runinvnow -c >../aex-invagentlastrun.log 2>&1"
root 16973 2219 0 20:00:06 ? 0:00 /opt/ctmagent/ctm/exe/p_ctmag -e /opt/ctmagent/ctm -i INETD
oracle 12129 2219 0 15:35:14 ? 0:09 /ora/product/agent/10203/agent10g/perl/bin/perl /ora/product/agent/10203/agent1
root 14301 14300 0 Jul 17 ? 0:00 /bin/sh -c ./aex-runinvnow -c >../aex-invagentlastrun.log 2>&1
root 14333 14302 3 Jul 17 ? 172204:55 aex-invagent-configuration
root 14299 2219 0 Jul 17 ? 0:00 /bin/sh -c PATH="${PATH}:/opt/altiris/notification/nsagent/var/packages/{45F064oracle 25627 23930 0 20:11:12 pts/2 0:00 grep agent
root 16009 16008 0 Sep 04 ? 0:00 /bin/sh -c ./aex-runinvnow -c >../aex-invagentlastrun.log 2>&1
oracle 12151 12129 0 15:35:16 ? 3:26 /ora/product/agent/10203/agent10g/bin/emagent

moesel(agent):/export/home/oracle>kill -9 12151

ahc565(agent):/export/home/oracle>emctl start agent
Oracle Enterprise Manager 10g Release 3 Grid Control 10.2.0.3.0.
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Starting agent ................ started.
ahc565(agent):/export/home/oracle>

Agent started....

but need to chk the other trace file as it is a bug...in 10203 agent..

1 comment:

  1. the solution for this is to upgrade the agent to the same or later version..we upgraded the GC agent to 10204..it worked..

    ReplyDelete