delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/03/15:35:42

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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: <F54BD573127E464389F57ABEB39E2BA046B5@postal.anasazisoftware.com>
From: Robert Gimbel <rgimbel AT anasazisoftware DOT com>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: CRON Help -- Operation not permitted
Date: Tue, 3 Dec 2002 13:35:32 -0700

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019