[syslog-ng]syslog-ng on Solaris

Nate Campi nate@campin.net
Fri, 14 Jun 2002 09:24:32 -0700

Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Jun 14, 2002 at 12:04:01PM -0400, Matthew C Valites wrote:
> >
> >
> >
> >Use a source like this:
> >
> >source src { sun-stream("/dev/log" door("/etc/.syslog_door")); internal(=
> >};
> >
> When I do that, I get this error;
> root@diamond: syslog-ng -Fv
> connecting fd 5 to inetaddr, port 2220
> syslog-ng version 1.5.13 starting
> io.c: do_write: write() failed (errno 32), Broken pipe
> pkt_buffer::do_flush(): Error flushing data
> Connection broken to AF_INET(, reopening in 10 seconds
> Garbage collecting while idle...
> Objects alive: 151, garbage collected: 2
> It just sits there and continues to spew out the "Garnage=20
> collecting....." error and the following line.  It runs, but doesn't log=
> anything.  Any ideas?

Looks like a destination you're trying to send to isn't working. Are you
trying to forward over stunnel or something? It seems it must be that,
or something like it since it's trying to write on an AF_INET socket on=20
the localhost.

Make sure it's not collecting logs generated locally, your file
destinations should still be fine.

 $ logger -p local2.info FOO BAR BAZ

=2E..and see if it gets into your logs.

OBTW, upgrade your syslog-ng, the newer versions have lots of bugfixes
and feature additions.
It is better to live rich than to die rich.
                -- Samuel Johnson

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org