[syslog-ng] syslog-ng fails to bind socket

Balazs Scheidler bazsi at balabit.hu
Fri Jul 29 10:36:52 CEST 2005


On Thu, 2005-07-28 at 11:23 -0400, javier rojas wrote:
> hello,
> 
> im configuring syslog-ng to log on central logserver, however, when
> trying to start the server i get this error:
> 
> jrojas:/etc/syslog-ng# /etc/init.d/syslog-ng start    # Start
> syslog-ng
> CONSOLE_LOG_LEVEL is of unaccepted value.
> KERNEL_RINGBUF_SIZE is of unaccepted value.
> Starting system logging: syslog-ngio.c: bind_unix_socket(): bind
> failed /etc/log/log (No such file or directory)
> Error initializing configuration, exiting.
>  start failed.
> 
> can anyone help me out here... do i have to add the ip entry
> on /etc/hosts on the server side?, i allowed the entry on the client
> side...

It is not a network socket, but a UNIX domain socket, which is
represented by a filename. You specified /etc/log/log which does not
exist. Depending on your platform it is /dev/log or /var/run/log

You might want to read the file named INSTALL in the syslog-ng source
tree.

-- 
Bazsi



More information about the syslog-ng mailing list