No connection could be made because the target machine actively refused it.

Tags:

#1 jvaira

Hello,
nxlog was sending to nagios log server just fine for a few days and then all of a sudden we started seeing the below errors in the nxlog.log file that are preventing logs from being sent.

ERROR om_tcp send failed; An existing connection was forcibly closed by the remote host.

ERROR couldn't connect to tcp socket on xx.xx.xxx.xx:3515; No connection could be made because the target machine actively refused it.

Is this something that you would support or would we need to go through Nagios support instead? We have already tried restarting the nxlog service but the issue remains.

 

Thank you 

#2 adm Nxlog ✓
#1 jvaira
Hello, nxlog was sending to nagios log server just fine for a few days and then all of a sudden we started seeing the below errors in the nxlog.log file that are preventing logs from being sent. ERROR om_tcp send failed; An existing connection was forcibly closed by the remote host. ERROR couldn't connect to tcp socket on xx.xx.xxx.xx:3515; No connection could be made because the target machine actively refused it. Is this something that you would support or would we need to go through Nagios support instead? We have already tried restarting the nxlog service but the issue remains.   Thank you 

It's unlikely that this is due to nxlog itself. The connection is refused because the log server crashed or is no longer accepting connections. From the error message it sounds like the first may be the case.