This is the mail archive of the
mailing list for the Cygwin project.
RE: cron - Error starting a service: QueryServiceStatus: Win32 error 1062:
- From: "House, Mark" <Mark dot House at MSL dot com>
- To: "Harig, Mark A." <maharig at idirect dot net>,<cygwin at cygwin dot com>
- Date: Thu, 13 Feb 2003 11:25:15 -0500
- Subject: RE: cron - Error starting a service: QueryServiceStatus: Win32 error 1062:
Thanks for responding to this.
I found the problem. Apparently, I had tried to add the SYSTEM account to a second group. So, that in my /etc/passwd file it looked like SYSTEM:*:18:18,544:,S-1-5-18::/bin/bash
This caused the problem. I went and removed that ,544 and my cron service has started up.
Perhaps adding a check on the proper SYSTEM account in /etc/passwd to cron_diagnose.sh may be appropriate. Although, I'm not too sure that anyone else will do anything quite this strange.
From: Harig, Mark A. [mailto:email@example.com]
Sent: Tuesday, February 11, 2003 6:48 PM
To: House, Mark; firstname.lastname@example.org
Subject: RE: cron - Error starting a service: QueryServiceStatus: Win32
I can't see any glaring errors. Here a some things you might try:
1. You're running Windows 2000, SP2. Is there any reason you haven't
I doubt that this has any effect, but it might be worth trying.
2. You have Windows 2000 installed on your 'c:' drive, but Cygwin is
on your 'd:' drive. You might try installing a minimal Cygwin on
drive, and retrying cron. Have you been running Cygwin on 'd:' all
If you find a fix that you think could be detected by the
script, please let me know so that it can improve.
From: House, Mark [mailto:Mark.House@MSL.com]
Sent: Monday, February 10, 2003 10:45 AM
Subject: cron - Error starting a service: QueryServiceStatus: Win32
I have been experiencing this error ever since I rebooted my server. I
am now unable to start the cron service. I have attached my cygcheck
file and I have run cron_diagnose.sh as suggested by Mark A. Harig on
his posting on 20-Dec-2002.
In addition, I have uninstalled and reinstalled the cron service and I
have reinstalled the cron and cygrunsrv components.
I am using Win2000 Server. My Event Log displays the following error.
The following information is part of the event: cron : Win32
Process Id = 0x9A0 : Cygwin Process Id = 0x9A0 : starting service `cron'
failed: execv: 1, Operation not permitted.
I would appreciate any suggestions that you can offer.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html