delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/10/13/11:45:30

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Wed, 13 Oct 2004 17:45:15 +0200
Message-Id: <I5J53F$DF706511FB24C5D6B8108E42E8D90DE2@libero.it>
Subject: Re: inetd is unable to accept incoming connections when started as service on WinXP SP1
MIME-Version: 1.0
X-Sensitivity: 3
From: "mliberi\@iol\.it" <mliberi AT iol DOT it>
To: "cygwin" <cygwin AT cygwin DOT com>
X-XaM3-API-Version: 4.1 (B27)
X-type: 0
X-SenderIP: 193.42.138.132
X-Virus-Scanned: by amavisd-new at libero.it serv2
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i9DFjPs2022087

Igor,

thank you for quick replying.

I read the page following the link you gave me. It addresses another problem.

When I run 'inetd' from command line (bash) all works fine. That means there is
 not a configuration problem.
The key information is that 'inetd' refuses ALL incoming connections when
started as a service, no port is reachable.
I think there's a problem with 'accept' system call.

Michele Liberi

---------- Initial Header -----------

From      : "Igor Pechtchanski" pechtcha AT cs DOT nyu DOT edu
To          : mliberi AT iol DOT it
Cc          : cygwin AT cygwin DOT com
Date      : Tue, 12 Oct 2004 12:18:50 -0400 (EDT)
Subject : Re: inetd is unable to accept incoming connections when started as
service on WinXP SP1

> On Tue, 12 Oct 2004, mliberi wrote:
>
> > I downloaded on October, 7 a fresh cygwin package set, then I installed
> > it on an XP SP1 box.
> >
> > After reading inetutils*.README, I tried to setup inetd as a service,
> > with the following steps:
> >
> > 1. added CYGWIN='binmode tty ntsec' to environment variables set
> > 2.added c:\cygwin\bin to PATH environment variable
> > 3.run 'mount' to ensure that /usr/bin, /usr/lib and / mountpoints have
'system' attribute set.
> > 4.rebooted the box
> > 5.installed inetd as service, /usr/sbin/inetd --install-as-service
> > 6.manually started service using windows GUI
> >
> > All seems ok, ps -ef reports two instances of running inetd , as
> > expected.
> > But when I try a connection to any server present in /etc/inetd.conf, I
> > always obtain a 'can't connect' error message.
> > Example:
> > ftp localhost
> > ...... connection refused
> > ftp>
> >
> > It seems that inetd can't 'accept' the incoming connection.
> >
> > If I start inetd from command line (not as a service), all works fine.
> >
> > Does anybody know how to get it working as a service?
>
> It's hard to guess given the amount of information you provided, but it's
> possible that <http://cygwin.com/ml/cygwin/2004-10/msg00631.html> could be
> useful for you as well.
> 	Igor
> --
> 				http://cs.nyu.edu/~pechtcha/
>       |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
> ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
>      |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
>     '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
>
> "Happiness lies in being privileged to work hard for long hours in doing
> whatever you think is worth doing."  -- Dr. Jubal Harshaw
> 



____________________________________________________________
Libero ADSL: navighi gratis a 1.2 Mega, senza canone e costi di attivazione. 
Abbonati subito su http://www.libero.it 



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