Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Subject: RE: CRON Help -- Operation not permitted Date: Tue, 3 Dec 2002 15:41:57 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Harig, Mark A." To: "Robert Gimbel" , Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id gB3KgQJ04448 1. Did you read through /usr/doc/Cygwin/cron.README? 2. What are the ownership and permissions of /var/cron and /var/cron/tabs? 3. It looks as though you might be running WinNT/2K with NTFS, but you did not include the output of 'cygcheck' (as an attached file 'cygcheck.txt'), so it's not possible to know for sure. > -----Original Message----- > From: Robert Gimbel [mailto:rgimbel AT anasazisoftware DOT com] > Sent: Tuesday, December 03, 2002 3:36 PM > To: 'cygwin AT cygwin DOT com' > Subject: CRON Help -- Operation not permitted > > > 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-18469526 > 04-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/ > > -- 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/