Betr.: Re: [syslog-ng]pbs on syslog-ng 1.5.23 on freebsd 4.7 on / partition read-only !

Borzenkov Andrey Andrey.Borzenkov@siemens.com
Wed, 11 Dec 2002 16:04:30 +0300


>=20
>=20
> Hi,
>=20
> Really, as mentioned by Balazs, try using /var/run/log in your
> syslog-ng.conf file.
>=20
> On Freebsd 4.5:
> syslog.h:#define        _PATH_LOG       "/var/run/log"
>=20

I dare to say, it is exactly what configure script is for :-)

-andrey

> /dev/log is a symbolic link to /var/run/log, so you can not use it to
> create your socket. I guess it provides an interface for applications =
to
> log to /dev/log.
>=20
> Trying to start the bsd syslogd with /dev/log (syslogd -p /dev/log) =
will
> also fail.
>=20
>=20
> Regards,
> Esteban.
>=20
>=20
>=20
> ___________________________________________
> wok, n.:
>         Something to thwow at a wabbit.
> ___________________________________________
>=20
>=20
>=20
> |---------+-------------------------------->
> |         |           "Balazs Scheidler"   |
> |         |           <bazsi@balabit.hu>   |
> |         |           Verzonden door:      |
> |         |           syslog-ng-admin@lists|
> |         |           .balabit.hu          |
> |         |                                |
> |         |                                |
> |         |           11-12-2002 12:40     |
> |         |           Antwoord a.u.b. aan  |
> |         |           syslog-ng            |
> |         |                                |
> |---------+-------------------------------->
>   =
>-----------------------------------------------------------------------=

> --------------------------------------------------------|
>   |       Aan:      rmkml <rmkml@wanadoo.fr>
> |
>   |       cc:       syslog-ng@lists.balabit.hu
> |
>   |Onderwerp:       Re: [syslog-ng]pbs on syslog-ng 1.5.23 on freebsd =
4.7
> on / partition read-only !                              |
>   =
>-----------------------------------------------------------------------=

> --------------------------------------------------------|
>=20
>=20
>=20
>=20
> On Wed, Dec 11, 2002 at 12:35:36PM +0100, rmkml wrote:
> > excuse me,
> >
> > but i not have /var/run/log file !
> >
> > on partition / read-only, syslogd good start & job !
> >
> > why syslog-ng fail with error msg  ?
> > io.c: bind_unix_socket(): bind failed /dev/log (Address already in =
use)
> >
> > because not process "use" /dev/log !
>=20
> I don't really understand you here. syslog-ng fails to open /dev/log =
as
> creating a socket is a write operation.
>=20
> Try ktrace-ing the original syslogd to see what it does to create its
> socket. Maybe it creates /var/run/log and /dev/log is a symlink to
> /var/run/log ?
>=20
> I'm Ccing you to the syslog-ng list, they might have an answer ready =
for
> you.
>=20
> --
> Bazsi
> PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E =
C82C
> 8EB1
>=20
> _______________________________________________
> syslog-ng maillist  -  syslog-ng@lists.balabit.hu
> https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Frequently asked questions at =
http://www.campin.net/syslog-ng/faq.html
>=20
>=20
>=20
>=20
>=20
>=20
>=20
> =
------------------------------------------------------------------------=
--
> ----
>=20
> De Belastingdienst gebruikt e-mail niet voor officiele mededelingen.
>=20
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D
> =3D=3D=3D=3D
>=20
>=20
> _______________________________________________
> syslog-ng maillist  -  syslog-ng@lists.balabit.hu
> https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Frequently asked questions at =
http://www.campin.net/syslog-ng/faq.html