EM 10G and 11G - Grid Control Agent Startup Fails with "Failed to Start HTTP Listener" Error (Doc ID 443524.1)

Last updated on DECEMBER 18, 2015

Applies to:

Enterprise Manager Base Platform - Version 10.2.0.1 to 11.1.0.1 [Release 10.2 to 11.1]
Generic UNIX
Checked for relevance on Feb-16-2013
Checked for relevance on 17-Jul-2014

Symptoms

The Grid Agent fails to start with: 

Starting agent ....... failed.
Failed to start HTTP listener.
Consult the log files in: /u01/app/oracle/product/agent10g/sysman/log

The <AGENT_HOME>/sysman/log/emagent.trc file shows the following:

Error = 2007-07-09 17:04:27,517 Thread-3086939840 ERROR http: snmehl_allocateListenerPort: failed to bind socket: Address already in use (errno=98)
2007-07-09 17:04:27,517 Thread-3086939840 ERROR http: nmehl_startHttpListener: failed to listen to HTTP port for http://<hostname>:1830/emd/main/

The <AGENT_HOME>/sysman/log/emagent.nohup shows:

2007-07-09 09:06:18 Thread-1 Starting Agent 10.2.0.3.0 from /u01/app/oracle/product/agent10g
2007-07-09 09:06:18 Thread-1 <Agent Startup> : Startup of HTTP LISTENER failure (00716)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms