X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r.berber@computer.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@FAMILYROOM>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1
Content-Transfer-Encoding:  quoted-printable
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@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

