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

Balazs Scheidler bazsi@balabit.hu
Wed, 11 Dec 2002 12:40:00 +0100


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