delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/29/05:56:29

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
From: "Nicolas JEAN" <nj AT nicolasjean DOT com>
To: <cygwin AT cygwin DOT com>
Subject: 1.5.5-1: ftp: ftp/tcp: unknown service
Date: Mon, 29 Sep 2003 11:56:05 +0200
Message-ID: <008501c3866f$e6cc5af0$6400100a@xp>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

Hi,

 (cygwin on windows XP SP1)

when I tried to run ftp, I've got :
> ftp server
ftp: ftp/tcp: unknown service

I have the same with telnet

I tried to change the access right on the file services
but nothing change

I wrote this little C program:

#include <netdb.h>
main () {

 struct servent *s;
 s = getservent();
 if ( s != 0x00 )
  printf("%d\n", s->s_port);
 else
  printf("NO !\n");
}

which work perfectly, so I guess the access right are OK
if I tried to run getservbyname it failed.

/etc/services is a link to WIN/system32/drivers/etc/services
and cygwin use this last one, not the link

any idea ?!

I don't think I started or stopped any windows service.

best regards,

Nicolas


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