Mail Archives: cygwin/2002/12/03/15:35:42
Hello-
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
<--snip-->
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
User: NT AUTHORITY\SYSTEM
Computer: ASPDATA1
Description:
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.
Cron.log:
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:
SYSTEM:*:18:544:,S-1-5-18::
Administrators:*:544:544:,S-1-5-32-544::
RGIMBEL:unused_by_nt/2000/xp:11015:10512:Robert
Gimbel,U-DOMAIN\RGIMBEL,S-1-5-21-841769095-1711675769-1846952604-1015:/home/
RGIMBEL:/bin/bash
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: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -