delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/21/15:24:08

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-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: Andrew DeFaria <ADeFaria AT Salira DOT com>
Subject: Re: Can't start inetd
Date: Fri, 21 Feb 2003 12:17:23 -0800
Lines: 48
Message-ID: <3E568953.6040908@Salira.com>
References: <AE39FCBED6A1644197E6009BD5660FB03519CE AT ntvsimail DOT vitshoppe DOT com> <AE39FCBED6A1644197E6009BD5660FB03519CE AT ntvsimail DOT vitshoppe DOT com> <5 DOT 2 DOT 0 DOT 9 DOT 2 DOT 20030221100912 DOT 027cea38 AT pop3 DOT cris DOT com>
Mime-Version: 1.0
X-Complaints-To: usenet AT main DOT gmane DOT org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01
X-Accept-Language: en-us, en, ru, zh

Randall R Schulz wrote:

> At 09:59 2003-02-21, Corinna Vinschen wrote:
>
>> On Fri, Feb 21, 2003 at 12:00:21PM -0500, Jim Peng wrote:
>> > Can someone help me with this:
>> >
>> > i installed latest cygwin 1.3.20 with inetutils on window 2k with 
>> sp3, i
>> > followed the README for inetd installation but it can NOT be 
>> started with
>> > message: service did not responds to the start or control request in a
>> > timely fashion.
>> > here is what i did
>> > 1) inetd --install-as-service
>> > 2) set CYGWIN system variable as "binmode tty ntsec"
>> > 3) add d:\cygwin\bin to PATH system variable
>> > 4) net start inertd or start it from service manager
>> >
>> > the same result with another w2k box, when i try to start it 
>> directly using
>> > inetd.exe on one box nothing happened on the another box it errors out
>> > saying cygwin1.dll could NOT be found in the PATH, but i am sure 
>> it's in the
>> > PATH
>> >
>> > where i did wrong?
>>
>> Forgot to reboot?
>>
>> Corinna
>
> Corinna,
>
> Why would that be necessary on Win 2K? I did not find that simply 
> installing the "inetd" service required a reboot on my Win 2K or 
> another Win XP machine to make it function correctly. 

Because, assuming you are logged in and just added Cygwin's bin 
directory to your system wide PATH environment variable it would not 
become effective until you reboot. Why? Because the system environment 
space is only built when you boot and because services are started from 
the system environement, the environment in effect *before* you log in.

Why did it work for you? Probably because you already had Cygwin's bin 
in your systemwide PATH environment *before* you logged in and installed 
inetd as a service.



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