This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: telnet, ftp unknown service


On Wed, Oct 08, 2003 at 05:03:43PM +0200, vdu wrote:
> Hi,
> 
> I noticed that cygwin telnet works when I specify the port to use in the
> command line like this :
> telnet <hosts> 23.
> So I presumed it was a problem with my "services" file, I took the one of a
> colleague (where cygwin telnet works correctly) but it's still the same.
> Please, any help is welcome, I am desperate.

I'm sorry but I can't help.  I have no clue why Winsock on your machine
returns that error.  Just to be sure, you did use and change the services
file in ${windir}/system32/drivers/etc?  And did you check if that file
is readable for Everyone?

Corinna

> "Corinna Vinschen" <corinna-cygwin@cygwin.com> wrote in message
> 20031002204145.GZ11435@cygbert.vinschen.de">news:20031002204145.GZ11435@cygbert.vinschen.de...
> > On Thu, Oct 02, 2003 at 02:19:36PM +0200, V D wrote:
> > > here is the result of strace on a telnet, if you need specifically on
> ftp
> > > just let me know.
> >
> > Well, the strace is a bit confusing.  The error returned from
> > WinSocks getservbyname function is 11004.  The meaning is according
> > to `net helpmsg':
> >
> >   "The requested name is valid and was found in the database, but it
> >     does not have the correct associated data being resolved for."
> >
> > a message, I don't quite understand.  I tried if it could be a binary
> > vs. textmode issue but Winsock reads the services file in both variations
> > equally well, at least on my XP system.
> >
> > Please check your services file.  Is it somehow corrupted?
> >
> > Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]