This is the mail archive of the
mailing list for the Cygwin project.
Re: syslog-ng-config errors
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 12 Nov 2007 21:16:12 +0100
- Subject: Re: syslog-ng-config errors
- References: <loom.20071112T180607firstname.lastname@example.org>
- Reply-to: cygwin at cygwin dot com
On Nov 12 18:22, Tony Benham wrote:
> I've decided to run syslog-ng on my cygwin installation. I updated to latest
> version 126.96.36.199. When I run syslog-ng-config I get four errors
> setfacl : illegal acl entries
> Is this to be expected ?
All four setfacl calls try to add the SYSTEM user to file/directory ACLs.
If that doesn't work, the SYSTEM user doesn't exist in your /etc/passwd
file, apparently. If so, your /etc/passwd is broken. You should fix it
by rerunning mkpasswd.
> I then modified syslog-ng.conf to change root group to Administrators as I don't
> have a root group in /etc/groups.
This means your installation isn't ok. The root group is added to
/etc/mkgroup by one of the generic postinstall scripts after running
setup.exe. The base-passwd package, which is part of the Base category
does that for you.
> When I start syslog-ng daemon via cp/services, it starts then immediately stops.
> The logfile states
> Error binding socket; addr='AF_UNIX(/dev/log)', error='Bad file descriptor (9)'
> Error initializing source driver; source='applications'
> Is there anything I can do to fix this ?
Fix what I have written above and then rerun the syslog-ng-config
script. Afterwards, make sure the /dev directory exists and is set to
rwx for SYSTEM (getfacl /dev should show and entry "group:SYSTEM:rwx" or
"user:SYSTEM:rwx"). Also make sure that a /dev/log file doesn't exist
before starting syslog-ng.
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html