Questions and Answers
Amy Rich
Q I have installed syslog-ng and am using
stunnel to encrypt the connection between syslog clients and a central
server. I followed the directions from:
http://www.stunnel.org/examples/syslog-ng.html
I know I have syslog-ng working without the stunnel bit, so I'm
guessing that's where the issue is. When I start syslog-ng, my logs show
the following error:
Sep 2 17:10:35 src@host.my.domain syslog-ng[7633]: \
syslog-ng version 1.6.4 starting
Sep 2 17:10:35 src@host.my.domain syslog-ng[7633]: \
connect_callback(): connect() failed
Sep 2 17:10:35 src@host.my.domain syslog-ng[7633]: \
Error connecting to remote host AF_INET(127.0.0.1:514), \
reattempting in 60 seconds
When I try to send a message to syslog via the logger command, after a bunch of
"Garbage collection" and "Object" lines, I get this error:
Sep 2 17:11:36 src@host.my.domain syslog-ng[7633]: \
connecting fd 6 to inetaddr 127.0.0.1, port 514
Sep 2 17:11:36 src@host.my.domain syslog-ng[7633]: \
io.c: do_write: write() failed (errno 32), Broken pipe
Sep 2 17:11:36 src@host.my.domain syslog-ng[7633]: \
pkt_buffer::do_flush(): Error flushing data
Sep 2 17:11:36 src@host.my.domain syslog-ng[7633]: \
Connection broken to AF_INET(127.0.0.1:514), reopening in 60 seconds
I tried googling for the answer to this, but the only thing I really came up with
was a post from 2002 on the syslog-ng mailing list by someone having a
similar problem:
https://lists.balabit.hu/pipermail/syslog-ng/2002-June/003416.html
No one came up with a solution as far as I could see, and they suggested he upgrade.
|