1.5.3 - can't start cron nor apache service - operation not permitted

Andrew DeFaria ADeFaria@Salira.com
Thu Sep 11 23:20:00 GMT 2003


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/



More information about the Cygwin mailing list