This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: inetd is unable to accept incoming connections when started as service on WinXP SP1
- 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
- References: <I5H4XN$59898597E3F748426C3F64118A08AC1A@libero.it>
- Reply-to: cygwin at cygwin dot com
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@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.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
--
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/