EM 12c, EM 13c: Enterprise Manager Cloud Control emctl start agent Fails With Error: Possible port conflict on port(): Retrying the operation (Doc ID 1509575.1)

Last updated on MAY 03, 2017

Applies to:

Enterprise Manager Base Platform - Version 12.1.0.1.0 and later
Information in this document applies to any platform.

Symptoms

$AGENT_INST/bin/emctl start agent

fails with the following error:

Oracle Enterprise Manager Cloud Control 12c Release 2
Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
Starting agent ............ failed.
HTTP Listener failed at Startup
Possible port conflict on port(3872): Retrying the operation...
Failed to start the agent after 1 attempts. Please check that the port(3872) is available.
Consult emctl.log and emagent.nohup in: /oracle/product/agent12c/agent_inst/sysman/log

agent_inst/sysman/log/gcagent.log reports the following message:

2012-01-02 10:33:10,377 [1:3305B9] INFO - *jetty*: Logging to oracle.sysman.gcagent.comm.agent.http.HTTPListenerLogger@1265109 via oracle.sysman.gcagent.comm.agent.http.HTTPListenerLogger
2012-01-02 10:33:10,449 [1:3305B9] INFO - *jetty*: jetty-7.0.1.v20091125
2012-01-02 10:33:10,496 [1:3305B9] WARN - *jetty*: FAILED SslSelectChannelConnector@0.0.0.0:1850: java.net.BindException: Address already in use
2012-01-02 10:33:10,498 [1:3305B9] WARN - *jetty*: FAILED org.eclipse.jetty.server.Server@5db5ae: java.net.BindException: Address already in use
2012-01-02 10:33:10,508 [1:3305B9] WARN - Agent failed to Startup for TM Listener in step 0
oracle.sysman.gcagent.comm.agent.FatalException: unable to start the HTTP server on port: 1850
at oracle.sysman.gcagent.comm.agent.http.HTTPListener.start(HTTPListener.java:859)
at oracle.sysman.gcagent.comm.agent.http.HTTPListener.tmNotifier(HTTPListener.java:232)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)

 

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