public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Nicolas JEAN" <nj@nicolasjean.com>
To: <cygwin@cygwin.com>
Subject: 1.5.5-1: ftp: ftp/tcp: unknown service
Date: Mon, 29 Sep 2003 09:59:00 -0000	[thread overview]
Message-ID: <008501c3866f$e6cc5af0$6400100a@xp> (raw)

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/

                 reply	other threads:[~2003-09-29  9:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='008501c3866f$e6cc5af0$6400100a@xp' \
    --to=nj@nicolasjean.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).