X-Spam-Check-By: sourceware.org Message-ID: <45B545C3.DF70C019@dessent.net> Date: Mon, 22 Jan 2007 15:16:19 -0800 From: Brian Dessent X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Can't start cron daemon in Cygwin 1.5.23 under WinXP SP2 References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Steve Rowley wrote: > (1) Starting it via the cron-config script produces this: Normally this is the only thing you have to do. > >In case of problem, examine the log file for cron, > >/var/log/cron.log, and the Windows event log > >for information about the problem cron is having. This is the key thing to look at, the actual reason for why it can't start should be in one of those two locations. > >/usr/bin/cygrunsrv: Error enumerating services: OpenService: Win32 error 5: > >Access is denied. This usually just means there's a registry key for a service that has an ACL that returns an error when cygrunsrv tries to query its information to find out if it's a Cygwin service. Most of the time this can be ignored as it's some other service not related to Cygwin. You can get an idea of what service it is by just running "cygrunsrv -VL" (which is all that cygcheck is doing here) and see at what point in the list it stops. Cygrunsrv should probably be patched to not take this as a fatal error and continue enumerating services if it hits one that it cannot read. In any case it has no bearing on cygrunsrv --install or --remove, or on your problem I suspect. > [ATTACHMENT ~/My Documents/cygcheck_output.txt, text/plain] You didn't actually attach anything, just this text. Brian -- 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/