[syslog-ng] Cygwin bind_unix_socket(): bind failed /dev/log

Alessio Massaro masariello at gmail.com
Thu Aug 24 13:28:56 CEST 2006


Hi,

On cygwin syslog-ng fails to start with the following in /var/log/syslog-ng.log

io.c: bind_unix_socket(): bind failed /dev/log (Bad file descriptor)
Error initializing configuration, exiting.

Any help is greatly appreciated. Thanks

I have a virgin intallation created by syslog-ng-config which creates
the following /etc/syslog-ng.conf

options {
  keep_hostname(yes);
  chain_hostnames(no);
  owner("system");
  group("root");
  perm(0664);
  sync(0);
};

source applications {
  unix-dgram("/dev/log");
  internal();
};

source kernel {
  file("/dev/kmsg", log_prefix("kernel: "));
};

destination messages {
  file("/var/log/messages");
};

log {
  source(applications);
  destination(messages);
};

log {
  source(kernel);
  destination(messages);
};


More information about the syslog-ng mailing list