delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/31/10:59:46

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: [24.0.161.175]
From: "Karl M" <karlm30 AT hotmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygrunsrv fails to start
Date: Thu, 31 May 2001 07:59:16 -0700
Mime-Version: 1.0
Message-ID: <F259EmP9CDBHy3SpwBG0000b17a@hotmail.com>
X-OriginalArrivalTime: 31 May 2001 14:59:16.0325 (UTC) FILETIME=[430E1150:01C0E9E2]

Hi Corinna...

I fear that some --dep hay help, but for the wrong reasons, it may just 
change the timing so that the problem disappears for now without actually 
being fixed.

I don't think that I see any actual dependencies. Do you suspect any?

So...I've been reading what I could find about services and have a couple 
questions. Since the problem occurs only on (one of) my machine, I should 
see what I can learn from it for all of us.

1) How do I build cygrunsrv? (configure and make instructions...and I saw a 
fill in the blank in the make file)

2) When the SCM autostarts a service, does it also use start_service? Or is 
there other code involved when the system starts the service at boot-up?

3) I think that it may be a deadlock of some kind, rather than a --dep 
problem.

4) Does the SCM actually call service_handler (as in the comments), or is it 
just sc.exe and any SCP (GUI panels) that call service_handler?

5) I was thinking about getting the checkpoint value into the system log so 
I can see how far it got?

My log has two messages. First

Timeout (30000 milliseconds) waiting for the OpenSSH service to connect.

followed by

The OpenSSH service failed to start due to the following error: The service 
did not respond to the start or control request in a timely fashion.

6) I don't see where the first error message in my log file is comming from. 
Do you know where it is comming from?

7) Is there any problem with adding some syslog_starterr calls to mark 
success also to see how far it gets at startup? (ie will this cause any 
undesired interactions with being a service?)

Thanks,

...Karl

>From: Corinna Vinschen <cygwin AT cygwin DOT com>
>To: cygwin AT cygwin DOT com
>Subject: Re: cygrunsrv fails to start
>Date: Thu, 31 May 2001 15:18:57 +0200
>
>On Wed, May 30, 2001 at 03:04:28PM -0700, Karl M wrote:
> > Hi Fred and Corinna...
> >
> > I just tried an experiment. I set the eventlog service to manual and
> > rebooted my machine. (Stopping the event log was not available as an
> > option.)
> >
> > The result--the sshd service started up just fine that time. So I 
>conclude
> > that there is not a --dep needed for the event log.
>
>Sounds like a timing problem on that machine. Some --dep could help, 
>though.
>
>Corinna
>
>--
>Corinna Vinschen                  Please, send mails regarding Cygwin to
>Cygwin Developer                                mailto:cygwin AT cygwin DOT com
>Red Hat, Inc.
>
>--
>Want to unsubscribe from this list?
>Check out: http://cygwin.com/ml/#unsubscribe-simple
>

_________________________________________________________________
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