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

Last updated on SEPTEMBER 26, 2017

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

Example configuration:

jagent.host=<IP address>

monitor.host=<IP address>

monitor.jmx.server.host=<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
##### [[
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
Connected to <IP address>.
Escape character is '^]'.



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