pbs on syslog-ng 1.5.23 on freebsd 4.7 on / partition read-only !
Hello, I have a pbs on use syslog-ng 1.5.23 on my freebsd 4.7 box (libol 0.3.5) can my partition / on read-only syslog-ng not start and this view msg : io.c: bind_unix_socket(): bind failed /dev/log (Address already in use) my conf is : options { sync(0); }; source src { unix-dgram("/dev/log"); file("/dev/klog"); internal(); }; destination messages { file("/var/log/messages"); }; log { source(src); destination(messages); }; when I delete : unix-dgram("/dev/log") syslog-ng start ! or use my conf on / read-write: syslog-ng start ! # ls -la /dev/log srw-rw-rw- 1 root wheel 0 Dec 10 18:34 /dev/log If I use syslogd (internal FreeBSDv47) on / read-only, syslogd start and GOOD jobs ! Can you help me ? Regards.
On Tue, Dec 10, 2002 at 06:48:08PM +0100, rmkml wrote:
Hello,
I have a pbs on use syslog-ng 1.5.23 on my freebsd 4.7 box (libol 0.3.5)
can my partition / on read-only
syslog-ng not start and this view msg :
io.c: bind_unix_socket(): bind failed /dev/log (Address already in use) If I use syslogd (internal FreeBSDv47) on / read-only, syslogd start and GOOD jobs !
IIRC FreeBSD uses /var/run/log instead of /dev/log to avoid having to create a socket on the root partition. -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1
participants (2)
-
Balazs Scheidler
-
rmkml