[syslog-ng] unix_stream socket
Balazs Scheidler
bazsi at balabit.hu
Mon Nov 27 11:43:20 CET 2006
On Mon, 2006-11-27 at 10:41 +0000, pat.hartemann at bluewin.ch wrote:
> Hello all,
>
> I'm configuring syslog-ng 2.0 on a RHEL ES 4 U4 system. One of the
> destination is an unix stream socket.
> After the first log writen on this socket, I get the error message
> :
>
> -------------------------------------------------------------------------------------------------------
> Nov 27 11:32:30 ch-syslog-1 syslog-ng[10153]: I/O error occurred
> while writing; fd='8', error='Connection refused (111)'
> Nov 27 11:32:30 ch-syslog-1 syslog-ng[10153]: Connection broken;
> time_reopen='10'
>
please check syslog-ng using strace, and see where it gets the
connection refused error.
might happen that the perl script uses SOCK_DGRAM while syslog-ng uses
SOCK_STREAM ?
--
Bazsi
More information about the syslog-ng
mailing list