emctl start agent ...... Failed
765364Apr 8 2010 — edited Apr 12 2010Hi,
I am a Junior Oracle DBA and need help with an issue I am having with the OEM agent please.
When I run the command emctl start agent i get the below message.
Starting agent ................................. failed.
I have already tried the following as seen on other forums:
1. Changing the port number in the emd.properties file to 3873 - Didnt work
2. Changing the AgentListenOnAllNICs in the emd.properties file to be FALSE - Didnt work
3. Removing all files from agent10g/sysman/emd/state/ and agent10g/sysman/emd/upload/ and running emctl clearstate - Didnt work
Any help on this would be greatly appreciated. Thanks. Below are the log files.
emdctl.trc
=======
2010-04-08 10:21:14 Thread-4136921312 WARN http: snmehl_connect: connect failed to (db3.domain.com:3872): Network is unreachable (error = 101)
2010-04-08 10:21:14 Thread-4136921312 ERROR main: nmectla_agentctl: Error connecting to http://db3.domain.com:3872/emd/main/. Returning status code 1
2010-04-08 10:21:44 Thread-4136921312 WARN http: snmehl_connect: connect failed to (db3.domain.com:3872): Network is unreachable (error = 101)
2010-04-08 10:21:44 Thread-4136921312 ERROR main: nmectla_agentctl: Error connecting to http://db3.domain.com:3872/emd/main/. Returning status code 1
2010-04-08 10:22:14 Thread-4136921312 WARN http: snmehl_connect: connect failed to (db3.domain.com:3872): Network is unreachable (error = 101)
2010-04-08 10:22:14 Thread-4136921312 ERROR main: nmectla_agentctl: Error connecting to http://db3.domain.com:3872/emd/main/. Returning status code 1
2010-04-08 10:22:44 Thread-4136921312 WARN http: snmehl_connect: connect failed to (db3.domain.com:3872): Network is unreachable (error = 101)
2010-04-08 10:22:44 Thread-4136921312 ERROR main: nmectla_agentctl: Error connecting to http://db3.domain.com:3872/emd/main/. Returning status code 1
2010-04-08 10:23:14 Thread-4136921312 WARN http: snmehl_connect: connect failed to (db3.domain.com:3872): Network is unreachable (error = 101)
2010-04-08 10:23:14 Thread-4136921312 ERROR main: nmectla_agentctl: Error connecting to http://db3.domain.com:3872/emd/main/. Returning status code 1
emagent.nohup
===========
----- Thu Apr 8 10:21:14 2010::Checking status of EMAgent : 4693 -----
sh: line 1: 5919 Aborted (core dumped) /opt/oracle/product/10.2.0/agent10g/bin/emdctl status agent 300 >/dev/null 2>&1
----- Thu Apr 8 10:21:44 2010::Checking status of EMAgent : 4693 -----