Getting Data In

connection errors when I restart splunk

RuthBishop
New Member

Hi I cannot get the universal forwarder to move to active mode.

I get the following error in splunkd logs. Can you help me sort this out.

05-08-2014 11:49:28.432 -C- Connection to host=10.1.1.xxx :9997 failed
05-08-2014 11:49:58.257 -0400 WARN TcpOutputFd - Connect to 10.1.1.xxx:9997 fa iled. Connection refused
05-08-2014 11:49:58.257 -0400 ERROR TcpOutputFd - Connection to host=10.1.1.146 :9997 failed
05-08-2014 11:50:28.268 -0400 WARN TcpOutputFd - Connect to 10.1.1.xxx:9997 fa iled. Connection refused
05-08-2014 11:50:28.268 -0400 ERROR TcpOutputFd - Connection to host=10.1.1.xxx :9997 failed
05-08-2014 11:50:58.261 -0400 WARN TcpOutputFd - Connect to 10.1.1.xxx:9997 fa iled. Connection refused
05-08-2014 11:50:58.261 -0400 ERROR TcpOutputFd - Connection to host=10.1.1.xxx :9997 failed
[root@d1asepric577 bin]# tail 200 /opt/splunkforwarder/var/log/splunk/splunkd.log

Tags (1)
0 Karma

martin_mueller
SplunkTrust
SplunkTrust

Sounds as if the forwarder is getting a connection refused on port 9997 of 10.1.1.146 - make sure you have turned on receiving on that Splunk instance, and that the network path including firewalls is open.

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

That's 10.1.1.136, the forwarder seems to complain about 10.1.1.146.

0 Karma

RuthBishop
New Member

I'm able to telent to the indexer on that port.

[root@d1asepric578 bin]# telnet d1asepric567 9997
Trying 10.1.1.136...
Connected to d1asepric567.
Escape character is '^]'.

But I agree something is blocking the connection and it seems to be on the forwarer side. I not quite sure were to look.

0 Karma
Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...