delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/12/03:47:10

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Thu, 12 Jul 2001 09:09:29 +0200
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: cron 1003.2 - W2k Professionl - not starting
Message-ID: <20010712090929.A421@cygbert.vinschen.de>
Mail-Followup-To: Corinna Vinschen <cygwin AT cygwin DOT com>,
cygwin AT sourceware DOT cygnus DOT com
References: <1ynnbypv DOT fsf AT blue DOT sea DOT net>
Mime-Version: 1.0
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 AT cygwin DOT 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/

- Raw text -


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