delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/11/25/17:38:49

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding
:in-reply-to; q=dns; s=default; b=Aej3Dbxw06BJbRmIFKc9k6mwqqVQxB
kx8nDLAbhHxg6/ohKudsm5UVSJGpbTXML7U7qjfFFFzGWGPSTtTbGDlWWyjHV1+g
z/rj+w8KYEAOTIH7J7cFO5jQNMFREkcczVGAGzj3AasbNgCX00+LLECfoA9mj/yT
qvHjR4Kqxq3n4=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding
:in-reply-to; s=default; bh=bHJ3cqH8eb5c5wTl64Rl6O0rcfA=; b=ChfU
pGL88CKICou2gIHyi8QU4lO5k6j6fpwo0/Z/swGHf1gfJ4dsHuK2NLMyak/Hmz88
PEr6zmqv7rGWNh58R5mpYh5m1bcTxO1gptAusyNa14efiPJXjokj1pnRt/scgsLR
WglBOW8lSnwiRseNREJQbgEruAZGMINqTiazdI8=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: Yes, score=5.4 required=5.0 tests=AWL,BAYES_50,RDNS_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r DOT berber AT computer DOT org>
Subject: Re: attempting to get the latest version of Xinetd and Inetd going on the latest version of 64 bit cygwin
Date: Mon, 25 Nov 2013 16:37:52 -0600
Lines: 41
Message-ID: <l70jfm$qoq$1@ger.gmane.org>
References: <509d8a9c0c3d4cb1b6c1ea09461a8b2b AT BN1PR01MB135 DOT prod DOT exchangelabs DOT com>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Lightning/0.9 Thunderbird/2.0.0.19 Mnenhy/0.7.6.0
In-Reply-To: <509d8a9c0c3d4cb1b6c1ea09461a8b2b@BN1PR01MB135.prod.exchangelabs.com>
X-IsSubscribed: yes

On 11/25/2013 3:41 PM, Katherine Moss wrote:

> Hi all, I'm just learning how to do this, so please forgive me if
> I've missed something obvious.  I'm in the process of installing
> Cygwin on a Windows 8.1 machine with the Inetutils package installed.
> My goal is to get Xinetd working properly so that I can define some
> other services with it.  I've used the following command to attempt
> to install it since by default /etc/xinetd.conf is not there; do I
> need to create it?
 > Cygrunsrv -I xinetd -d "Cygwin xinetd" -p
> /usr/sbin/xinetd This command results in: "interactive is only
> allowed with install."
 > What am I missing here?  The same thing
> happens when I attempt to install Inetd.  Thanks all for any
> feedback. all is welcome.

All packages come with a README under /usr/share/doc/Cygwin/, for 
instance inetutils.README... but it seems to be missing some instructions:

There are several ways to install the service, one is with the included 
files AND by also installing sysvinit (the System-V init script runner) 
which then will run the /etc/rc.d/init.d scripts (in this case 
/etc/rc.d/init.d/inetd).

The other way is as you tried, which is as a Windows service.  I have no 
idea why the message you show appears, it shouldn't.  But there's also 
the missing details, xinetd will probably not work w/o additional 
parameters (perhaps keep it in the foreground, so cygrunsrv can actually 
control it -- but this should be in the README, I just don't have xinetd 
installed so I don't know).

The configuration file should be among those installed, or its 
equivalent (I see that inetutils installs 
/etc/defaults/etc/xinetd.d/ftpd, and others; it also installs 
/etc/defaults/etc/inetd.conf which probably needs to be copied into 
/etc).  Start by checking what is actually installed:

cygcheck -l inetutils

-- 
René Berber


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019