* 1.5.5-1: ftp: ftp/tcp: unknown service
@ 2003-09-29 9:59 Nicolas JEAN
0 siblings, 0 replies; only message in thread
From: Nicolas JEAN @ 2003-09-29 9:59 UTC (permalink / raw)
To: cygwin
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/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-09-29 9:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-29 9:59 1.5.5-1: ftp: ftp/tcp: unknown service Nicolas JEAN
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).