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

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
From: posting-list AT MailAndNews DOT com (Jari Aalto)
To: cygwin AT sources DOT redhat DOT com
Subject: Re: mkpasswd - mkgroup inconsistency in W2K Professional (cron
problem)
Keywords: cron,cygrunsrv,error,service,cygwin,win32,usr,starting
X-Sender-Info: Emacs resources http://tiny-tools.sourceforge.net/
http://home.eu.org/~jari/homepage.html. ICQ 'jari-aalto' 82313129
PGP 2.6.x keyid 47141D35 http://www.pgpi.net/
Date: Sun, 29 Jul 2001 17:54:33 +0300
Message-ID: <7kwr945y.fsf@blue.sea.net>
Lines: 57
MIME-Version: 1.0

Re: mkpasswd - mkgroup inconsistency in W2K Professional (cron problem)
References: <vgkerx4p DOT fsf AT blue DOT sea DOT net>
To: <cygwin at sources dot redhat dot com>

> Prentis Brooks schrieb am 2001-07-27, 15:45:
>
> > Umm, there is a system account on Win2k.

I mean, there is no "user" named SYSTEM to which I could log into.
The commands were ran while logged as Administrator.

> > I think the actual cygrunsrv command line should be:
> >
> > cygrunsrv -I cron -p /usr/sbin/cron -a'-D' -e CYGWIN="tty ntsec"

This is odd. Whatever I try, it always gives the same error:

    //root AT W2KPICASSO /cygdrive/g $ env | grep CYGWIN
    CYGWIN=tty ntsec binmode

    $ cygrunsrv --stop cron && cygrunsrv --remove cron

With env -a "-D -e CYGWIN=\"tty ntsec binmode\""

    $ cygrunsrv -I cron -p /usr/sbin/cron -a "-D -e CYGWIN=\"tty ntsec binmode\"" && cygrunsrv --start cron
    cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
    The service has not been started.

With quotes -a "-D"

    $ cygrunsrv -I cron -p /usr/sbin/cron -a "-D" && cygrunsrv --start cron
    cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
    The service has not been started.

Without quotes -a -D

    $ cygrunsrv -I cron -p /usr/sbin/cron -a -D && cygrunsrv --start cron
    cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
    The service has not been started.

Without -a -D

    $ cygrunsrv -I cron -p /usr/sbin/cron && cygrunsrv --start cron
    cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
    The service has not been started.

Event log says:

    The description for Event ID ( 0 ) in Source ( cron ) 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: cron : Win32
    Process Id = 0x214 : Cygwin Process Id = 0x214 : starting service
    `cron' failed: execv: 255, error 0.

Any more ideas are welcome, how can I help to debug this?
Jari


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