Current Issue


Table of contents

CD-ROM

Sys Admin and The Perl Journal CD-ROM version 12.0

Version 12.0 delivers every issue of Sys Admin from 1992 through 2006 and every
issue of The Perl Journal from 1996-2002 in one convenient CD-ROM!

Order now!

Sys Admin Magazine > Archives > 2004 > November 2004

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.



MarketPlace

Free Download Speeds Up PCs
Make Your PC Faster --New Diskeeper 2008 Speeds Up PCs --Download Free Trial Now!

Six Sigma Certification
100% Online-Six Sigma Certificate from Villanova - Find Out More Now.

Automate Software Builds with Visual Build Pro
Easily create an automated, repeatable process for building and deploying software.

Flowcharts from C/C++ code -- Free trial download
Understand C/C++ code in less time. A new team member ? Inherited legacy code ? Get up to speed faster with Crystal Flow for C/C++. Code-formatting improves readability. Flowcharts are integrated with code browser. Export flowcharts to Visio.

Wanna see your ad here?