My Oracle Support Banner

OGG Monitor Agent Can Not Connect to Monitor Server OGGMON-20283 OGGMON-20581 Connection refused to host (Doc ID 2249279.1)

Last updated on MAY 08, 2023

Applies to:

Management Pack for Oracle GoldenGate - Version 12.2.1.0.0 and later
Information in this document applies to any platform.

Symptoms

Oracle GoldenGate Monitor Agent (jagent) get "connection refused" type errors at startup when it tries to
connect to Oracle GoldenGate Monitor Server.

Telnet to OGG Monitor Server (jmx.server.host) on server (jmx.server.port) port works OK.

Example configuration:

Config.properties
------------
jagent.host=<IP address>

monitor.host=<IP address>
monitor.jmx.port=5502
------------

Monitor.properties
-----------
monitor.jmx.server.host=<IP address>
monitor.jmx.server.port=5502
----------

 
ogg_agent.log would display the following errors:

[2016-08-24T13:59:40.214+07:00] [JAGENT] [ERROR] [OGGMON-20283]
[com.goldengate.monitor.jagent.jmx.MBeansContainerImpl] [tid:
agentRegistration] [ecid: 0000LQuUcOM7a6yLw6L6iW1NjGnO000004,0] [[
JAgent is unable to establish a connection to Monitor Server. Monitor Server
is probably down. Retry again in 10 seconds.
JAgent connection info: Jagent Host=dr, Jagent JMX Port=5555, Jagent Config
Dir=/data/goldengate/monitor_agent/cfg, Monitor Host=<IP address>, Monitor
Port=5502,
]]

[2016-08-24T13:59:40.214+07:00] [JAGENT] [ERROR] [OGGMON-20581]
[com.goldengate.monitor.jagent.jmx.MBeansContainerImpl] [tid:
agentRegistration] [ecid: 0000LQuUcOM7a6yLw6L6iW1NjGnO000004,0] IOException
##### [[
java.io.IOException: Failed to retrieve RMIServer stub:
javax.naming.ServiceUnavailableException [Root exception is
java.rmi.ConnectException: Connection refused to host: <IP address>; nested
exception is:
java.net.ConnectException: Connection refused]

 
"telnet test" from OGG Monitor Agent to OGG Monitor Server box

oracle@Solaris11:/data/goldengate$ telnet <IP address> 5502
Trying 11.10.11.13...
Connected to <IP address>.
Escape character is '^]'.

 

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
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.