delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/01/19:57:42

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
X-Originating-IP: [216.135.220.54]
From: "Karl M" <karlm30 AT hotmail DOT com>
To: fred AT ontosys DOT com
Cc: cygwin AT cygwin DOT com
Subject: Re: cygrunsrv fails to start
Date: Fri, 01 Jun 2001 16:57:34 -0700
Mime-Version: 1.0
Message-ID: <F97V6uPDVniSnRMWuLn0000285f@hotmail.com>
X-OriginalArrivalTime: 01 Jun 2001 23:57:34.0972 (UTC) FILETIME=[A0F63BC0:01C0EAF6]

Hi All...

>From: Fred Yankowski <fred AT ontosys DOT com>
>To: Karl M <karlm30 AT hotmail DOT com>
>CC: cygwin AT cygwin DOT com
>Subject: Re: cygrunsrv fails to start
>Date: Fri, 1 Jun 2001 16:23:24 -0500
>
>I would suggest adding some trace statements that write to a file
>rather than depending on the syslog facility.  I would put one right
>after the entry to main() to see if the process is even entered.  Be
>sure to flush() the trace output after each message in case the
>process aborts and loses buffered output.  I would put another trace
>message at the point where StartServiceCtrlDispatcherA() fails in
>main().  Then I'd put another right after the entry to service_main().

Can you give me something real specific here (an example of the file open, 
write and flush)? If you give me a starting point, I can adapt.

>It looks like failure of StartServiceCtrlDispatcherA() would not be
>reported currently, given that error() writes to stderr and that
>stream is useless in this case.  However, it's hard to see how that
>API could fail in some cases and not others.

We could at least print out a pass/fail indication if it ever returns and 
print the error code.

>Your questions about possible problems in loading the cygwin1.dll
>occurred to me too, but I don't know anywhere near enough about Cygwin
>to suggest how to explore that possibility.

Anyone else have ideas?

Thanks,

...Karl

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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