Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Thu, 12 Jul 2001 09:09:29 +0200
From: Corinna Vinschen <cygwin@cygwin.com>
To: cygwin@sourceware.cygnus.com
Subject: Re: cron 1003.2 - W2k Professionl - not starting
Message-ID: <20010712090929.A421@cygbert.vinschen.de>
Mail-Followup-To: Corinna Vinschen <cygwin@cygwin.com>,
	cygwin@sourceware.cygnus.com
References: <1ynnbypv.fsf@blue.sea.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <1ynnbypv.fsf@blue.sea.net>; from jari.aalto@poboxes.com on Thu, Jul 12, 2001 at 02:44:10AM +0300

On Thu, Jul 12, 2001 at 02:44:10AM +0300, Jari Aalto+tpu.misc wrote:
> 
> 
> I have trouble installing and starting cron with w2k Professional. I'm
> always logged in as Administrator at this home pc.
> 
> I did:
> 
>     cygrunsrv -I cron -p /usr/sbin/cron -a -D
>     cygrunsrv -S cron
> 
>     cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
>     The service has not been started.

Did you look into the event log? There might be an error output from cron.
Are your /etc/passwd and /etc/group files ok?

> Same error from the w2k "service" panel, cron didn't start. Next I ran
> 
>     strace cron --help 2>&1 cron.strace
> 
> Which gave error
> 
>     seteuid: Invalid argument

Sure. cron needs privileges only given to SYSTEM by default.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
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/

