Hi, Really, as mentioned by Balazs, try using /var/run/log in your syslog-ng.conf file. On Freebsd 4.5: syslog.h:#define _PATH_LOG "/var/run/log" /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. Trying to start the bsd syslogd with /dev/log (syslogd -p /dev/log) will also fail. Regards, Esteban. ___________________________________________ wok, n.: Something to thwow at a wabbit. ___________________________________________ |---------+--------------------------------> | | "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 ! | -------------------------------------------------------------------------------------------------------------------------------|
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 !
I don't really understand you here. syslog-ng fails to open /dev/log as creating a socket is a write operation. 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 ? I'm Ccing you to the syslog-ng list, they might have an answer ready for you. -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1 _______________________________________________ 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 ------------------------------------------------------------------------------ De Belastingdienst gebruikt e-mail niet voor officiele mededelingen. ==============================================================================