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 21, 2020

Applies to:

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


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 ( on server (jmx.server.port) port works OK.

Example configuration:
------------<IP address><IP address>
-----------<IP address>

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

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

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

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



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

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