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

Roberto Nibali ratz at tac.ch
Tue Jul 26 09:56:22 CEST 2005


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
-- 
-------------------------------------------------------------
addr://Rathausgasse 31, CH-5001 Aarau  tel://++41 62 823 9355
http://www.terreactive.com             fax://++41 62 823 9356
-------------------------------------------------------------
terreActive AG                       Wir sichern Ihren Erfolg
-------------------------------------------------------------


More information about the syslog-ng mailing list