[syslog-ng]pbs on syslog-ng 1.5.23 on freebsd 4.7 on / partition read-only !

rmkml rmkml@wanadoo.fr
Tue, 10 Dec 2002 18:48:08 +0100


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.