This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: cron 1003.2 - W2k Professionl - not starting


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]