[syslog-ng]syslog-ng on Solaris

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


--i0LFOk513GRb+T2w
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(=
);=20
> >};
> >
> When I do that, I get this error;
>=20
> root@diamond: syslog-ng -Fv
> connecting fd 5 to inetaddr 127.0.0.1, 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(127.0.0.1:2220), reopening in 10 seconds
> Garbage collecting while idle...
> Objects alive: 151, garbage collected: 2
>=20
> It just sits there and continues to spew out the "Garnage=20
> collecting....." error and the following line.  It runs, but doesn't log=
=20
> 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.
--=20
It is better to live rich than to die rich.
                -- Samuel Johnson


--i0LFOk513GRb+T2w
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE9Chi/WpDEZMF673kRAu5pAJ9VMrznFm5/KAuZoFZ/4lvMDwfYeACbBIG2
7OE0p5eN6fAt2ciGncPnvd0=
=Ccco
-----END PGP SIGNATURE-----

--i0LFOk513GRb+T2w--