My Oracle Support Banner

EM 12c, EM 13c: Enterprise Manager Cloud Control Agent Deployment Fails with Error: Agent free port check failed (Doc ID 1926498.1)

Last updated on SEPTEMBER 01, 2023

Applies to:

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

Symptoms

Enterprise manager Cloud Control Agent installation from the console fails with the following logged error:

From <Agent_HOME>/cfgtoollogs/agentDeploy_2014-09-11_14-29-08-PM.log:

SEVERE: User has specified -ignorePrereqs when invoking the installer.  All pre-requisite checks will be ignored for this installation session.  Configuration failures may result if proper pre-requisites are not satisfied.

INFO: SEVERE: Agent free port check failed.
INFO:
INFO: perform - mode finished for action: configure
INFO:
INFO: You can see the log file: /oracle/agent12c/core/12.1.0.4.0/cfgtoollogs/oui/configActions2014-09-11_02-39-00-PM.log
INFO: Plugin homes:
INFO: Plugin homes:
INFO: /oracle/agent12c/core/12.1.0.4.0/oui/bin/runConfig.sh ORACLE_HOME=/oracle/agent12c/core/12.1.0.4.0 RESPONSE_FILE=/oracle/agent12c/core/12.1.0.4.0/agent.rsp ACTION=configure MODE=perform COMPONENT_XML={oracle.sysman.top.agent.11_1_0_1_0.xml} RERUN=true completed with status=3
SEVERE:
ERROR: Agent Configuration Failed
SEVERE:
ERROR: Agent Deployment Failed

 <Agent_Home>/cfgtoollogs/prereqlogs/OraInstall<Timestamp>/prereqchecker<Timestamp>.log

2018-11-21 12:17:26,937 INFO  [9] oracle.sysman.oip.oipc.oipcl.OipclPrereqLogger - Checking PortCheck
     Checking for port availability and hostname validity.
2018-11-21 12:17:26,945 INFO  [9] oracle.sysman.oii.oiio.oiiol.OiiolTextLogger - The agent port is not passed by the user.
2018-11-21 12:17:26,964 INFO  [9] oracle.sysman.oii.oiio.oiiol.OiiolTextLogger - PortHandlerException while getting free portThe Agent Port value is null
2018-11-21 12:17:26,964 INFO  [9] oracle.sysman.oii.oiio.oiiol.OiiolTextLogger - Agent Port check failed.
2018-11-21 12:17:26,965 INFO  [9] oracle.sysman.oip.oipc.oipcl.OipclPrereqLogger - Expected result: Either port 3872 must be available or a port in the range of 1830 to 1849 must be available on host <Target Hostname>.
Actual Result: Port 3872, which is bound to IP address <Target Host IP> on host <Target Hostname> is busy. Port 1830, which is bound to IP address <Target Host IP> on host <Target Hostname> is busy. Port 1831, which is bound to IP address <Target Host IP> on host <Target Hostname> is busy. Port 1832, which is bound to IP address <Target Host IP> on host <Target Hostname> is busy. Port 1833, which is bound to IP address <Target Host IP> on host <Target Hostname> is busy. Port 1834, which is bound to IP address <Target Host IP> on host <Target Hostname> is busy. Port 1835, which is bound to IP address <Target Host IP> on host <Target Hostname> is busy. Port 1836, which is bound to IP address <Target Host IP> on host <Target Hostname> is busy. Port 1837, which is bound to IP address <Target Host IP> on host <Target Hostname> is busy. Port 1838, which is bound to IP address <Target Host IP> on host <Target Hostname> is busy. Port 1839, which is bound to IP address <Target Host IP> on host <Target Hostname> is busy. Port 1840, which is bound to IP address <Target Host IP> on host <Target Hostname> is busy. Port 1841, which is bound to IP address <Target Host IP> on host <Target Hostname> is busy. Port 1842, which is bound to IP address <Target Host IP> on host <Target Hostname> is busy. Port 1843, which is bound to IP address <Target Host IP> on host <Target Hostname> is busy. Port 1844, which is bound to IP address <Target Host IP> on host <Target Hostname> is busy. Port 1845, which is bound to IP address <Target Host IP> on host <Target Hostname> is busy. Port 1846, which is bound to IP address <Target Host IP> on host <Target Hostname> is busy. Port 1847, which is bound to IP address <Target Host IP> on host <Target Hostname> is busy. Port 1848, which is bound to IP address <Target Host IP> on host <Target Hostname> is busy. Port 1849, which is bound to IP address <Target Host IP> on host <Target Hostname> is busy.
Check complete. The overall result of this check is: Failed <<<<

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.