[syslog-ng] syslog-ng to syslog not working

Gerardo Amaya joseg at galileo.edu
Fri Jul 29 01:59:20 CEST 2005


Roberto Nibali wrote:

>Gerardo Amaya wrote:
>  
>
>>Hello all. I have a syslog-ng server and I want to forward some messages
>>to a Syslogd Server. I don't want stunnel or anything special, just send
>>syslog-ng messages via udp(514), but right now I get the following error:
>>    
>>
>
>Can you netcat to 192.168.4.252 port 514 and send some lines? If this
>works then something with syslog-ng might not be ok. If this (the netcat
>thing) does not work, then you might have a problem with a filter or a
>routing table entry for example.
>
>  
>
>>Jul 22 20:10:06 s_localhost at RHTSRV syslog-ng[31406]: io.c: do_write:
>>write() fai
>>led (errno 111), Connection refused
>>    
>>
>
>Do you have a packet filter between your host and the syslogd server? Is
>the syslogd really listening on 192.168.4.252:512 (UDP) on the server?
>Is this address routed and connected physically to the correct interface?
>
>ECONNREFUSED (errno 111) normally means that no one is listening on the
>remote address.
>
>Regards,
>Roberto Nibali, ratz
>  
>
I tried to send to 192.168.4.252 UDP 514 syslog messages via another 
computer with Kiwi Syslog gen and the packets arrive with no problem at all.

So I guess the problem resides on my syslog-ng server. What could it be?

Thanks in advance

Gerardo Amaya


More information about the syslog-ng mailing list