delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/22/16:43:59

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: fred AT ontosys DOT com
Date: Mon, 22 Oct 2001 15:40:05 -0500
Cc: cygwin AT cygwin DOT com
Subject: Re: cygrunsrv: possible solution to a common problem -- suggested patch
Message-ID: <20011022154005.A24552@ontosys.com>
References: <000001c15b2e$b9c89c80$a3eab8c3 AT milessabin DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <000001c15b2e$b9c89c80$a3eab8c3@milessabin.com>; from miles@mistral.co.uk on Mon, Oct 22, 2001 at 08:21:17PM +0100

On Mon, Oct 22, 2001 at 08:21:17PM +0100, Miles Sabin wrote:
> suggested that adding --dep LanmanWorkstation would help.
> 
> And it did ... automatic startup now seems to work perfectly. My
> hunch is that this will also cure startup problems with other daemons
> which attempt to bind ports early on in their startup sequence.

Very good!

Since I've messed with the cygrunsrv source before, I took a few
minutes to write up an addition to the cygrunsrv.README file to
describe the solution that you found.

I no longer follow the Cygwin developer lists, so I'm posting the
suggested patch here.

-- 
Fred Yankowski           fred AT OntoSys DOT com      tel: +1.630.879.1312
Principal Consultant     www.OntoSys.com       fax: +1.630.879.1370
OntoSys, Inc             38W242 Deerpath Rd, Batavia, IL 60510, USA

--
2001-10-22  Fred Yankowski  <fred AT ontosys DOT com>

	* cygrunsrv.README: Suggest dependency on LanmanWorkstation.

--

Index: cygrunsrv.README
===================================================================
RCS file: /home/cvs/cvsroot/src/cygrunsrv/cygrunsrv.README,v
retrieving revision 1.2
diff -u -p -r1.2 cygrunsrv.README
--- cygrunsrv.README	2001/06/28 20:31:56	1.2
+++ cygrunsrv.README	2001/10/22 20:36:21
@@ -331,6 +331,16 @@ appropriate code to run as Windows servi
 of cygrunsrv.
 
 **********************************************
+Troubleshooting
+
+If the service fails to start, consider whether the service process
+depends on other services and reinstall the service using the '--dep'
+parameter to ensure that those other services are running first.  In
+particular, any service application that uses network services (such
+as socket connections) depends on the "Workstation" service; this
+dependency can be declared as '--dep LanmanWorkstation'.
+
+**********************************************
 Contact Information
 
 For support, contact the cygwin mailing list cygwin AT cygwin DOT com.  cygrunsrv was originally created by Corinna Vinschen.

	

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