delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/08/14/20:37:27

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r DOT berber AT computer DOT org>
Subject: Re: Error when attempting to start inetd
Date: Tue, 14 Aug 2007 19:36:32 -0500
Lines: 22
Message-ID: <f9thql$2bm$1@sea.gmane.org>
References: <A7A043E14D064EADBF1214005E4DAA7F AT FAMILYROOM>
Mime-Version: 1.0
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
In-Reply-To: <A7A043E14D064EADBF1214005E4DAA7F@FAMILYROOM>
OpenPGP: url=hkp://wwwkeys.pgp.net
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

Michael Grand wrote:

> It appears as though "inetd --install-as-service" is either bugged or I
> somehow used it incorrectly (although I can't see how that would have
> happened, it's pretty straight forward).  I reinstalled inetutils and
> instead of running "inetd --install-as-service" I ran this command:
> 'cygrunsrv -I inetd -p /usr/sbin/inetd -d "CYGWIN inetd"' and I can now
> start the inetd service.  However, inetd now stops automatically after 7
> seconds.

You are missing (at least) one parameter:

cygrunsrv -I inetd -p /usr/sbin/inetd --args "-D" -d "CYGWIN inetd"

If you don't tell inetd to run in the foreground it will run as a daemon, w=
hich
is not what cygrunsrv expects (unless you also use -x).
--=20
Ren=E9 Berber


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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