delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/12/22/01:59:01

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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" <chandreshprakash AT hotpop DOT com>
To: <cygwin AT cygwin DOT com>
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
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019