www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/11/19:20:18

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
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: Andrew DeFaria <ADeFaria AT Salira DOT com>
Subject: 1.5.3 - can't start cron nor apache service - operation not permitted
Date: Thu, 11 Sep 2003 16:12:43 -0700
Lines: 54
Message-ID: <bjqvdk$ant$3@sea.gmane.org>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
X-Accept-Language: en-us, en, zh

Since upgrading to 1.5.3 I cannot start cron or apache as services. They 
were added as follows:

$ cygrunsrv -I cron -p /usr/sbin/cron -a -D -d "Cygwin cron" -e 
"MAILTO=$USER@<domain>" -e "CYGWIN=ntsec
$ cygrunsrv -I apache -p /usr/sbin/httpd -a -k -d "Cygwin Apache" -f 
"Apache for Cygwin"
$ cygrunsrv -S cron
cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
The service has not been started.
$ cygrunsrv -S apache
cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
The service has not been started.

Examining the Event Viewer yeilds:

Event Type:    Error
Event Source:    cron
Event Category:    None
Event ID:    0
Date:        9/11/2003
Time:        3:23:08 PM
User:        NT AUTHORITY\SYSTEM
Computer:    ADEFARIA
Description:
cron : PID 3856 : starting service `cron' failed: execv: 1, Operation 
not permitted

And

Event Type:    Error
Event Source:    Apache
Event Category:    None
Event ID:    0
Date:        9/11/2003
Time:        3:27:26 PM
User:        NT AUTHORITY\SYSTEM
Computer:    ADEFARIA
Description:
The description for Event ID ( 0 ) in Source ( Apache ) cannot be found. 
The local computer may not have the necessary registry information or 
message DLL files to display messages from a remote computer. You may be 
able to use the /AUXSOURCE= flag to retrieve this description; see Help 
and Support for details. The following information is part of the event: 
Apache : PID 4000 : starting service `Apache' failed: execv: 1, 
Operation not permitted.

I looked through the list and didn't find anything that helped me.

(BTW: Interestingly enough, I no longer have a /usr/doc/Cygwin/cron.README!)


Obligatory witty saying: Consciousness: That annoying time between naps.



--
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