This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

CRON Help -- Operation not permitted


I have been trying to get CRON to work with cygwin and have not been getting
to far and am now stumped and need a fresh set of eyes on my problem.

1.) I have started with the current versions of cygwin and cron.

 	923k 2002/11/27 d:\cygwin\bin\cygwin1.dll
   		Cygwin DLL version info:
       			DLL version: 1.3.17
	cron                3.0.1-7

2.) I have installed cron as a service with the following command line.  It
was verified that it made it into the services and running as SYSTEM.
	cygrunsrv -I CygCron -p /usr/sbin/cron -a -D -e "CYGWIN=tty ntsec"

3.) When I try to start this service I get the following:

	Event Log:
		Event Type:	Error
		Event Source:	CygCron
		Event Category:	None
		Event ID:	0
		Date:		12/3/2002
		Time:		12:53:44 PM
		Computer:	ASPDATA1
		The description for Event ID ( 0 ) in Source ( CygCron )
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: CygCron :
Win32 Process Id = 0x894 : Cygwin Process Id = 		0x894 : starting
service `CygCron' failed: execv: 1, Operation not permitted.
		seteuid: Invalid argument
		seteuid: Invalid argument
		seteuid: Invalid argument
	And from the command line:
		cygrunsrv: Error starting a service: QueryServiceStatus:
Win32 error 1062:
		The service has not been started.

>From here I have tried things with the /etc/passwd file which is here:

I have also verified filesystem permissions so that both SYSTEM and EVERYONE
have full control to the files in the cygwin directory.. Right or Wrong it
was something to try!

Any suggestions where I need to look to figure this lil bugger out?  

Thanks for any help and suggestions,

Robert Gimbel

Unsubscribe info:
Bug reporting:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]