delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/27/02:20:19

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
Subject: FW: Invoker question
MIME-Version: 1.0
Date: Fri, 27 Apr 2001 15:43:44 +1000
Message-ID: <EA18B9FA0FE4194AA2B4CDB91F73C0EF08EF45@itdomain002.itdomain.net.au>
content-class: urn:content-classes:message
X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: Invoker question
Thread-Index: AcDO2/SKPEp70FF4TX+D2S7udInyjQAAL3ZgAAAS9SA=
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id CAA15823

oops - forgot the list.
> -----Original Message-----
> From: Robert Collins 
> Sent: Friday, April 27, 2001 3:43 PM
> To: 'Michael Erdely'
> Subject: RE: Invoker question
> 
> 
> Apps that run as services should not exit() the process 
> started by the service manager. Whether this is as a native 
> service, or vi srvany/invoker etc.
> 
> So sshd -D is the correct way, as is squid -D.
> 
> If this isn't done, the service manager will think the 
> process has quit, and will show as stopped.
> 
> (The application may still work... but that's another story).
> 
> Rob
> 
> > -----Original Message-----
> > From: Michael Erdely [mailto:cygwin AT cygwin DOT com]
> > Sent: Friday, April 27, 2001 3:19 PM
> > To: cygwin AT cygwin DOT com
> > Subject: RE: Invoker question
> > 
> > 
> > Karl,
> >   I have never, with srvany or firedaemon, ever needed the 
> > "-D" option.
> > If you read the web page on invoker from the authors, Win2k 
> > is untested.
> > I attempted to set up sshd with invoker just as I have with 
> srvany and
> > firedaemon and got the same error you were.  Honestly, I 
> think it's a
> > Win2k compatibility issue because, even with the Win2k 
> Service errors,
> > invoker DOES kick off sshd.  I can connect, but Win2k sees 
> the service
> > as stopped.
> > 
> > -ME
> > 
> > -----Original Message-----
> > From: cygwin-owner AT sources DOT redhat DOT com
> > [mailto:cygwin-owner AT sources DOT redhat DOT com] On Behalf Of Karl M
> > Sent: Thursday, April 26, 2001 8:12 PM
> > To: karlm30 AT hotmail DOT com; cygwin AT cygwin DOT com
> > Subject: Re: Invoker question
> > 
> > 
> > Hi All...
> > 
> > I will now answer my own question.
> > 
> > sshd wants (I could hear it talk to me) the -D option to be provided
> > when 
> > run as a service (SrvAny, Invoker, ...) on WinNT/Win2000. The 
> > -D option 
> > prevents sshd from forking and detaching (which is a good 
> thing in the
> > *nix 
> > world). Instead, the process stays under the control of the service
> > wrapper 
> > (SrvAny, Invoker, ...), so it can be stopped and started at will.
> > 
> > I have tested this with SrvAny. I believe it will resolve the 
> > problem I
> > had 
> > with Invoker as well. I will check it tomorrow.
> > 
> > Thanks,
> > 
> > ...Karl
> > 
> > >From: "Karl M" <karlm30 AT hotmail DOT com>
> > >To: cygwin AT cygwin DOT com
> > >Subject: Invoker question
> > >Date: Wed, 28 Mar 2001 13:33:22 -0800
> > >
> > >Hi All...
> > >
> > >I'm using Invoker to install sshd as a service on a win2k box.
> > >
> > >I set it up to automatically start sshd when the machine boots up.
> > >
> > >It works fine, except that it shows the service as stopped 
> > even though 
> > >it
> > >is
> > >started and so it won't let you stop the service. 
> Attempting to start
> > the
> > >service again results in the Overlapped I/O error message 
> that I have
> > seen
> > >mentioned in this mailing list.
> > >
> > >Is this an inherent limitation of invoker (with win2k?) or 
> > do I need to
> > 
> > >set things up differently?
> > >
> > >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
> > >
> > 
> > _________________________________________________________________
> > 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
> > 
> > 
> > 
> > --
> > Want to unsubscribe from this list?
> > Check out: http://cygwin.com/ml/#unsubscribe-simple
> > 
> > 
> 

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