Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 From: "Chandresh Prakash" To: Subject: cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: Date: Mon, 22 Dec 2003 12:41:36 -0800 Message-ID: <000001c3c8cc$015e80c0$584c16ac@chandresh> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-HotPOP: ----------------------------------------------- Sent By HotPOP.com FREE Email Get your FREE POP email at www.HotPOP.com ----------------------------------------------- X-IsSubscribed: yes Hi, I am getting the following on running query on cron service: ----------------------------------------------------------------- $ cygrunsrv.exe -Q cron Service cron exists Type : Own Process Current State : Stopped Controls Accepted : chandresh AT chandresh ~ $ cygrunsrv.exe -S cron cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: The service has not been started. ----------------------------------------------------------------- The file /var/cron/cron.log is empty. Following is the complete process I tried to install and run cron. ----------------------------------------------------------------- $ cygrunsrv.exe -E cron chandresh AT chandresh ~ $ cygrunsrv.exe -R cron chandresh AT chandresh ~ $ cygrunsrv.exe -I cron -p /usr/sbin/cron.exe chandresh AT chandresh ~ $ cygrunsrv.exe -S cron cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: The service has not been started. chandresh AT chandresh ~ $ cygrunsrv.exe -Q cron Service cron exists Type : Own Process Current State : Stopped Controls Accepted : ----------------------------------------------------------------- Please help if you have an idea as to why the cron service is not starting. Here is what I get in the application log on trying to start cron service: ---------------------------------------- Event Type: Error Event Source: cron Event Category: None Event ID: 0 Date: 12/22/2003 Time: 12:40:07 PM User: NT AUTHORITY\SYSTEM Computer: CHANDRESH Description: The description for Event ID ( 0 ) in Source ( cron ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. The following information is part of the event: cron : PID 1580 : starting service `cron' failed: execv: 0, No error. --------------------------------------- Thanks, Chandresh -- 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/