delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/20/15:50:23

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: Mon, 20 Jan 2003 15:50:11 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: "Kirschner, Paul E. UTRC" <KirschPE AT UTRCCT DOT res DOT utc DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: inetd fails to start services
In-Reply-To: <62835D8790DBD111981100805FA7E4C4056059E0@EXPRESS1>
Message-ID: <Pine.GSO.4.44.0301201546110.10883-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Mon, 20 Jan 2003, Kirschner, Paul E.        UTRC wrote:

> I cannot get inetd services to start even after following the README. I've
> got win2000, the latest cygwin and inetutils-1.3.2-20 installed.
>
> I added "CYGWIN=binmode tty ntsec" and "d:\cygwin\bin" to the path for the
> system variables.
> Did the "/usr/sbin/inetd --install-as-service" and "net start inetd". (inetd
> uses LocalSystem as the login account.) inetd seems to start OK...
>
> net start inetd
> The CYGWIN inetd service is starting.
> The CYGWIN inetd service was started successfully.
>
> However, "netstat -a" shows no services. In the application event viewer is
> the error message...
>
> "The description for Event ID ( 0 ) in Source ( inetd ) cannot be found. The
> local computer may not have the necessary registry information or message
> DLL files to display messages from a remote computer. The following
> information is part of the event: inetd : Win32 Process Id = 0x2B8 : Cygwin
> Process Id = 0x2B8 : /etc/inetd.conf: No such file or directory."
>
> BUT inetd.conf IS there...
>
> ls -al /etc/in*
> -rwxrwxrwx    1 Administ Administ     1973 Jan 20 10:10 /etc/inetd.conf
>
> I tried different owners to no avail.
>
> I followed these same instructions on two other machines and it worked!
>
> Why can't inetd find inetd.conf?
>
> Any Help? thanks...
>
> Paul Kirschner

Paul,

First off, make sure your /etc is executable by all (this is needed for
SYSTEM to access any file in that directory).
Secondly, did you perhaps install "For yourself only"?  In that case, you
will be missing the mount table for the user SYSTEM, and it won't know
where /etc is.  To fix this, remount "/", "/usr/bin", and "/usr/lib" as
system mounts instead of user mounts.

Had you included the output of "cygcheck -svr", as per
<http://cygwin.com/bugs.html>, this would have been a more informed
opinion, rather than the guesswork that it is.
	Igor
-- 
				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