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 Message-ID: From: Robert Gimbel To: "'Harig, Mark A.'" , Robert Gimbel , cygwin AT cygwin DOT com Subject: RE: CRON Help -- Operation not permitted Date: Tue, 3 Dec 2002 14:52:26 -0700 See below.. Thanks, Rob -----Original Message----- From: Harig, Mark A. [mailto:maharig AT idirect DOT net] Sent: Tuesday, December 03, 2002 1:42 PM To: Robert Gimbel; cygwin AT cygwin DOT com Subject: RE: CRON Help -- Operation not permitted 1. Did you read through /usr/doc/Cygwin/cron.README? **RG** Yes, along with /usr/doc/cron and various hits off google. 2. What are the ownership and permissions of /var/cron and /var/cron/tabs? **RG** /var/cron drwxrwxrwx+ 3 RGIMBEL Domain A 0 Aug 25 21:38 ./ drwxrwxrwx+ 6 Administ Domain A 0 Aug 25 21:38 ../ drwxrwxrwx+ 2 RGIMBEL Domain A 0 Dec 3 12:02 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. **RG** For the record here it is: Cygwin Win95/NT Configuration Diagnostics Current System Time: Tue Dec 03 14:49:02 2002 Windows 2000 Server Ver 5.0 Build 2195 Service Pack 3 Path: d:\cygwin\usr\local\bin d:\cygwin\bin d:\cygwin\bin c:\WINNT\system32 c:\WINNT c:\WINNT\System32\Wbem c:\Program Files\Dell\OpenManage\OMSA\bin c:\Program Files\Dell\OpenManage\OMSA\ c:\Program Files\Dell\OpenManage\OMSA\help c:\Program Files\Dell\OpenManage\oma\bin c:\Program Files\Dell\OpenManage\LU\bin c:\Program Files\Dell\OpenManage\oldiags\bin SysDir: C:\WINNT\System32 WinDir: C:\WINNT CYGWIN = `tty notitle glob' HOME = `d:\cygwin\home\RGIMBEL' MAKE_MODE = `unix' PWD = `/home/RGIMBEL' USER = `RGIMBEL' Use `-r' to scan registry a: fd N/A N/A c: hd NTFS 4094Mb 41% CP CS UN PA FC Dell Server d: hd NTFS 99896Mb 79% CP CS UN PA FC e: cd N/A N/A f: hd NTFS 114470Mb 21% CP CS UN PA FC FireWire0 g: hd NTFS 76316Mb 9% CP CS UN PA FC FireWire1 d:\cygwin / system textmode d:\cygwin/bin /usr/bin system textmode d:\cygwin/lib /usr/lib system textmode . /cygdrive user textmode,cygdrive Found: d:\cygwin\bin\bash.exe Found: d:\cygwin\bin\cat.exe Not Found: cpp (good!) Found: d:\cygwin\bin\find.exe Not Found: gcc Not Found: gdb Not Found: ld Found: d:\cygwin\bin\ls.exe Not Found: make Found: d:\cygwin\bin\sh.exe 643k 2002/11/09 d:\cygwin\bin\cygcrypto.dll 45k 2001/04/25 d:\cygwin\bin\cygform5.dll 35k 2002/01/09 d:\cygwin\bin\cygform6.dll 19k 2002/02/20 d:\cygwin\bin\cyggdbm.dll 17k 2001/06/28 d:\cygwin\bin\cyghistory4.dll 20k 2002/10/10 d:\cygwin\bin\cyghistory5.dll 929k 2002/06/24 d:\cygwin\bin\cygiconv-2.dll 22k 2001/12/13 d:\cygwin\bin\cygintl-1.dll 28k 2002/09/20 d:\cygwin\bin\cygintl-2.dll 81k 2000/12/05 d:\cygwin\bin\cygitcl30.dll 35k 2000/12/05 d:\cygwin\bin\cygitk30.dll 26k 2001/04/25 d:\cygwin\bin\cygmenu5.dll 20k 2002/01/09 d:\cygwin\bin\cygmenu6.dll 156k 2001/04/25 d:\cygwin\bin\cygncurses++5.dll 175k 2002/01/09 d:\cygwin\bin\cygncurses++6.dll 226k 2001/04/25 d:\cygwin\bin\cygncurses5.dll 202k 2002/01/09 d:\cygwin\bin\cygncurses6.dll 15k 2001/04/25 d:\cygwin\bin\cygpanel5.dll 12k 2002/01/09 d:\cygwin\bin\cygpanel6.dll 40k 2001/11/21 d:\cygwin\bin\cygpcre.dll 39k 2001/11/21 d:\cygwin\bin\cygpcreposix.dll 22k 2002/06/09 d:\cygwin\bin\cygpopt-0.dll 108k 2001/06/28 d:\cygwin\bin\cygreadline4.dll 127k 2002/10/10 d:\cygwin\bin\cygreadline5.dll 169k 2002/11/09 d:\cygwin\bin\cygssl.dll 390k 2000/12/05 d:\cygwin\bin\cygtcl80.dll 5k 2000/12/05 d:\cygwin\bin\cygtclpip80.dll 10k 2000/12/05 d:\cygwin\bin\cygtclreg80.dll 623k 2000/12/05 d:\cygwin\bin\cygtk80.dll 50k 2002/03/12 d:\cygwin\bin\cygz.dll 923k 2002/11/27 d:\cygwin\bin\cygwin1.dll Cygwin DLL version info: DLL version: 1.3.17 DLL epoch: 19 DLL bad signal mask: 19005 DLL old termios: 5 DLL malloc env: 28 API major: 0 API minor: 67 Shared data: 3 DLL identifier: cygwin1 Mount registry: 2 Cygnus registry name: Cygnus Solutions Cygwin registry name: Cygwin Program options name: Program Options Cygwin mount registry name: mounts v2 Cygdrive flags: cygdrive flags Cygdrive prefix: cygdrive prefix Cygdrive default prefix: Build date: Wed Nov 27 18:54:29 EST 2002 Shared id: cygwin1S3 Cygwin Package Information Package Version _update-info-dir 00096-1 ash 20020731-1 base-files 1.1-1 base-passwd 1.0-1 bash 2.05b-8 bc 1.06-1 cron 3.0.1-7 crypt 1.0-1 cygrunsrv 0.95-1 cygutils 1.1.3-1 cygwin 1.3.17-1 diff 1.0-1 diffutils 2.8.1-1 expect 20010117-1 fileutils 4.1-1 findutils 4.1.7-4 gawk 3.1.1-5 gdbm 1.8.0-4 grep 2.5-1 gzip 1.3.3-4 initscripts 0.9-1 less 374-1 libiconv2 1.8-2 libintl1 0.10.40-1 libintl2 0.11.5-1 libncurses5 5.2-1 libncurses6 5.2-8 libpopt0 1.6.4-4 libreadline4 4.1-2 libreadline5 4.3-2 login 1.7-1 more 2.11o-1 ncurses 5.2-8 openssh 3.5p1-2 openssl 0.9.6g-2 openssl-devel 0.9.6g-2 pcre 3.7-1 perl 5.6.1-2 readline 4.3-2 sed 4.0.1-1 sh-utils 2.0-2 shutdown 1.2-2 ssmtp 2.38.7-3 sysvinit 2.84-2 tar 1.13.25-1 tcltk 20001125-1 termcap 20020930-1 terminfo 5.2-3 texinfo 4.2-4 textutils 2.0.21-1 unzip 5.50-1 vim 6.1-2 w32api 2.1-1 wget 1.8.2-1 which 1.5-1 zip 2.3-2 zlib 1.1.4-1 Use -h to see help about each section > -----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/