delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/18/13:29:48

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Tue, 18 Feb 2003 13:28:06 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Randall R Schulz <rrschulz AT cris DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: error setting up ipc-daemon
In-Reply-To: <5.2.0.9.2.20030218100657.01da6858@pop3.cris.com>
Message-ID: <Pine.GSO.4.44.0302181326350.7773-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

Oops.  Boy, am I glad I augmented my comment with an "if you use
cygrunsrv"... :-D
The below still stands for launching services using cygrunsrv, though.
	Igor

On Tue, 18 Feb 2003, Randall R Schulz wrote:

> Igor,
>
> I was under the impression that the currently recommend way to get
> inetd running as a cygwin service was this:
>
>      inetd --install-as-service
>
> The resulting Windows service does not use cygrunsrv to invoke
> inetd--it is launched directly:
>
> Path to executable: D:\cygwin\usr\sbin\inetd.exe
>
> Randall Schulz
>
>
> At 10:01 2003-02-18, Igor Pechtchanski wrote:
> >Randall,
> >
> >An excerpt from "cygrunsrv --help" below
> >
> >   -e, --env <VAR=VALUE>     Optional environment strings which are added
> >                             to the environment when service is started.
> >                             You can add up to 255 environment strings using
> >                             the `--env' option.
> >                             Note: /bin is always added to $PATH to allow all
> >                             started applications to find at least
> > cygwin1.dll.
> >
> >shows that you shouldn't really need to add c:\cygwin\bin to your system
> >path (if one uses cygrunsrv, that is).  If that is not the case, then it's
> >a bug in cygrunsrv (or an error in documentation).
> >     Igor
> >
> >On Tue, 18 Feb 2003, Randall R Schulz wrote:
> >
> > > Daya,
> > >
> > > When I recently installed Cygwin anew on a system not my own and wanted
> > > to enable the Cygwin inetd, I had what might be the same problem. One
> > > thing that tipped me off was the fact that although the message was
> > > about the service not starting up "in a timely fashion," the failure
> > > occurred essentially immediately upon my attempt to manually start the
> > > service.
> > >
> > > It turned out that the system-wide PATH must contain the directory
> > > holding the Cygwin1.dll. I think that's because inetd is in /usr/sbin
> > > and Cygwin1.dll is in /bin (a.k.a. /usr/bin). Were they in the same
> > > directory, I don't think a PATH addition would be required to locate
> > > dependent DLLs.
> > >
> > > You'll also want to make sure that all your Cygwin mounts are system
> > > mounts, or they won't be seen by inetd and it may not be able to find
> > > other files it needs
> > >
> > > Randall Schulz
> > >
> > > At 06:31 2003-02-18, Daya Kiran Sunkara wrote:
> > > >Hi
> > > >I am trying to run ipc-daemon as a service under
> > > >windows xp. But i get the following error message
> > > >"Error 1053: The service did not respond to the start
> > > >or control request in a timely fashion"
> > > >
> > > >Can anyone please explain me what this means!!!
> > > >Bye
> > > >Daku
>
>
> --
> 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/
>

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
  -- /usr/games/fortune


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