X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Mon, 12 Nov 2007 21:16:12 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: syslog-ng-config errors Message-ID: <20071112201612.GA30049@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list 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 2.0.5.1. 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 -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/