RE: telnet: tcp/telnet: unknown service (XP)

2006-05-29 Thread Dave Korn
On 29 May 2006 12:01, Jose Luis Fernandez wrote:

> Hi,
> 
> After doing a lot more googleing, I've stumbled upon
> this fix.  Wonder if you know about this issue?


  Yep, we sure do, that's about the third time you've posted it.  Can you
check if there's a copy stuck in your yahoo outbox and delete it?  Looks like
yahoo thinks it's failing to send when it actually succeeded and it tries
again every time you log in.

cheers,
  DaveK
-- 
Can't think of a witty .sigline today


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



RE: telnet: tcp/telnet: unknown service (XP)

2006-05-18 Thread Dave Korn
On 18 May 2006 12:59, Jose Luis Fernandez wrote:

>  --- Dave Korn <[EMAIL PROTECTED]> escribió:

>> any.  Ok, let's see..
>> 
>> Output from C:\cygwin\bin\id.exe (nontsec)
>> UID: 12554(jlfdiaz) GID: 10545(mkgroup-l-d)
>> 0(root) 544(Administradores)
>> 545(Usuarios)
>> 10545(mkgroup-l-d)
>> 
>> Output from C:\cygwin\bin\id.exe (ntsec)
>> UID: 12554(jlfdiaz) GID: 10545(mkgroup-l-d)
>> 0(root) 544(Administradores)
>> 545(Usuarios)
>> 10545(mkgroup-l-d)
>> 
>> 
>>   Hey!  Sort your passwd and group files out!

> I don't understand you. What is wrong in my group and
> passwd files ?

  You aren't really a member of a group called "mkgroup-l-d"!  This name is a
hint to you from cygwin that there is no entry in the groups file for (at
least one of) the groups you are a member of and you need to run mkgroup to
update it.  For more information about mkgroup and mkpasswd, see

http://cygwin.com/cygwin-ug-net/using-utils.html#mkpasswd

http://cygwin.com/cygwin-ug-net/using-utils.html#mkgroup

  You appear to be in a domain, so you probably want to use both "-l" and "-d"
options for both of them.  I can't say for certain whether it will help or
not, but having your passwd/groups files incomplete can cause problems with
permissions which might be responsible for blocking your access to certain
files.  Out of curiousity, what output do you see from the commands

ls -la /cygdrive/c/WINDOWS/system32/drivers/etc/
ls -la /etc/{hosts,protocols,services,networks}
wc -l /etc/{hosts,protocols,services,networks}

cheers,
  DaveK
-- 
Can't think of a witty .sigline today


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



RE: telnet: tcp/telnet: unknown service (XP)

2006-05-18 Thread Dave Korn
On 18 May 2006 07:38, Jose Luis Fernandez wrote:

> After doing a lot more googleing, I've stumbled upon
> this fix.  Wonder if you know about this issue?

  Yes, of course we do.  This is a duplicate of the post you sent last week.

Oh, I get it.  You just resent an old post as an easy way to send
your cygcheck output and you didn't edit the text any.  Ok, let's see..

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 12554(jlfdiaz) GID: 10545(mkgroup-l-d)
0(root) 544(Administradores)545(Usuarios)
10545(mkgroup-l-d)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 12554(jlfdiaz) GID: 10545(mkgroup-l-d)
0(root) 544(Administradores)545(Usuarios)
10545(mkgroup-l-d)


  Hey!  Sort your passwd and group files out!  

cheers,
  DaveK
-- 
Can't think of a witty .sigline today


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



RE: telnet: tcp/telnet: unknown service

2006-05-16 Thread Jose Luis Fernandez
$ echo $SYSTEMROOT 
C:\WINDOWS

[EMAIL PROTECTED] ~
$ cygcheck telnet
Found: C:\cygwin\bin\telnet.exe
C:/cygwin/bin/telnet.exe
  C:\cygwin\bin\cygwin1.dll
C:\WINDOWS\system32\ADVAPI32.DLL
  C:\WINDOWS\system32\ntdll.dll
  C:\WINDOWS\system32\KERNEL32.dll
  C:\WINDOWS\system32\RPCRT4.dll

Regards,
Jose Luis.




> After doing a lot more googleing, I've stumbled upon
> this fix.  Wonder
> if you know about this issue?
> 
> In regedit go to
>
HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
> edit DataBasePath change %SystemRoot% to its real
> value (on mine its
> C:\WINDOWS)  Don't know why but this fixed my issue.


  The reason it fixed your issue is probably because
SYSTEMROOT is not set in
your cygwin environment, and this causes winsock
failures, which manifest when
telnet (client) tries to look up the well-known port
number for telnet
(service) in the ports database.  So the interesting
question is, what is
going on in your environment?  Is SYSTEMROOT set or
not?  Is it correct or
not?  If that doesn't explain it, 

--->Problem reports:  
http://cygwin.com/problems.html

read the bit about sending your cygcheck output *as an
attachment please* to
the list and we'll see if anything obvious shows up.



__ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com

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



Re: telnet: tcp/telnet: unknown service

2006-05-16 Thread Brian Dessent
Jose Luis Fernandez wrote:

> After doing a lot more googleing, I've stumbled upon
> this fix.  Wonder
> if you know about this issue?
> 
> In regedit go to
> HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
> edit DataBasePath change %SystemRoot% to its real
> value (on mine its
> C:\WINDOWS)  Don't know why but this fixed my issue.

Well, that may work but it's suboptimal.  The real fix is to ensure that
the environment variable SYSTEMROOT is always set, which is normally
done by Windows without the user having to do anything.  Unsetting this
may cause any number of things to break, and this may only be one of
them -- even if your particular telnet problem is solved you need to
make sure that SYSTEMROOT isn't being unset somewhere.

You see this happen sometimes when an app spawns a child process (such
as CGI) and tries to be clever about clearing its environment of
unnecessary things.  If SYSTEMROOT is one of them, random thing start
breaking.  There is code in Cygwin to try to prevent this from ever
happening, but this obviously is of no use to non-Cygwin programs or
programs that go behind Cygwin's back (such as by calling the win32 API
directly.)

Another version of this problem crops up if some program (perhaps a
brain-dead installer) changes this particular registry key from a
REG_EXPAND_SZ to a standard string (REG_SZ) type, in which case the
environment variable will not be expanded.  It must be type
REG_EXPAND_SZ.

Brian

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



RE: telnet: tcp/telnet: unknown service

2006-05-16 Thread Dave Korn
On 16 May 2006 09:56, Jose Luis Fernandez wrote:

> After doing a lot more googleing, I've stumbled upon
> this fix.  Wonder
> if you know about this issue?
> 
> In regedit go to
> HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
> edit DataBasePath change %SystemRoot% to its real
> value (on mine its
> C:\WINDOWS)  Don't know why but this fixed my issue.


  The reason it fixed your issue is probably because SYSTEMROOT is not set in
your cygwin environment, and this causes winsock failures, which manifest when
telnet (client) tries to look up the well-known port number for telnet
(service) in the ports database.  So the interesting question is, what is
going on in your environment?  Is SYSTEMROOT set or not?  Is it correct or
not?  If that doesn't explain it, 

--->Problem reports:   http://cygwin.com/problems.html

read the bit about sending your cygcheck output *as an attachment please* to
the list and we'll see if anything obvious shows up.



cheers,
  DaveK
-- 
Can't think of a witty .sigline today


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



RE: telnet: tcp/telnet: unknown service

2006-05-16 Thread Jose Luis Fernandez


After doing a lot more googleing, I've stumbled upon
this fix.  Wonder
if you know about this issue?

In regedit go to
HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
edit DataBasePath change %SystemRoot% to its real
value (on mine its
C:\WINDOWS)  Don't know why but this fixed my issue.

Regards,
Jose Luis

 --- Jose Luis Fernandez
<[EMAIL PROTECTED]> escribió:

> 
> Hi,
> 
> When I try to connect to a remote machine with
> telnet
> I get the message below:
> 
> telnet: tcp/telnet: unknown service
> 
> I have tried to fix this problem removing
> /etc/services,  /etc/hosts, /etc/protocols,
> /etc/networks, and re-running
> /etc/postinstall/base-files-mketc.sh.done, but it
> didn't work.
> 
> Any hint?
> 
> 
> 
>   
>   
>   
> __ 
> LLama Gratis a cualquier PC del Mundo. 
> Llamadas a fijos y móviles desde 1 céntimo por
> minuto. 
> http://es.voice.yahoo.com
> 
> --
> 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/
> 
> 






__ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com

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