Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Content-Type: text/plain; charset=us-ascii Re: mkpasswd - mkgroup inconsistency in W2K Professional (cron problem) References: To: > 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/