Operating System - HP-UX
1833166 Members
3286 Online
110051 Solutions
New Discussion

Re: telnet problem in 11i

 
SOLVED
Go to solution
Gopinath_3
Advisor

telnet problem in 11i

I installed hp-ux 11i on a N4000 machine without any errors. telnet to and from the machine was working fine. I then installed the GOLDBASE11i & GOLDAPPS 11i patch bundles. Since then telnet (even to the same machine) gives this error:
telnet: tcp/telnet: unknown service.

There is an uncommented entry for telnet in /etc/services, its permissions are 444 (I have tried other perms too) and there is no deny for telnet in /var/adm/inetd.sec

I removed the two patch bundles but I still cant get telnet to work. I can ping to other machines on the NW but neither telnet/rlogin work either way.

Thanks

Gopi
8 REPLIES 8
Craig Rants
Honored Contributor

Re: telnet problem in 11i

What about the /etc/inetd.conf file. Is telnet commented out of there? This only matters on inbound connections, using telnetd.

Outbound uses the telnet command, what are the permissions on those two files as well.

Let us know,
C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
Sanjay_6
Honored Contributor
Solution

Re: telnet problem in 11i

UNIX Engr
Advisor

Re: telnet problem in 11i

Gopi,
Another option is presented in this thread. Similar to the thread given by Sanjay, although you said you have already checked /etc/services.

Good Luck,
C

http://us-support.external.hp.com/cki/bin/doc.pl/sid=e5033c811ad52e1fff/screen=ckiDisplayDocument?docId=200000006413938
Roger Baptiste
Honored Contributor

Re: telnet problem in 11i

hi,


If your problem is not being
able to telnet into the system from another box or even from the same box, the problem has to be with one of:
**/etc/services
** /etc/inetd.conf

do a grep telnet /etc/inetd.conf and see what the entry is.

Also check /var/adm/inetd.sec and see whether there is any deny entry for telnet in it.

Does the same problem occur with ftp or rlogin??

HTH and don''t forget to inform us how it got working.
(it sure will!)


raj
Take it easy.
Uday_S_Ankolekar
Honored Contributor

Re: telnet problem in 11i

Hi,

Check your /etc/nsswitch.conf file.

-USA.
Good Luck..
Roger Baptiste
Honored Contributor

Re: telnet problem in 11i

Hi,

iF you problem is with telnet itself: then
***
On Problemsystem
telnet testsystem
-> does this work??
If it does not, then check the telnet binary:
#which telnet
#ll `which telnet`
#what `which telnet`
-> make sure the size and versions of the binary is correct. (compare it with a working box).
***

-raj
Take it easy.
Gopinath_3
Advisor

Re: telnet problem in 11i

Sanjay's pointer helped.

There was no nsswitch.conf. I copied the hp_defaults file and modified it for my env. I can telnet out but not in.

telnetd has 544 perms and is owned by bin:bin

telnet is not commented out in /etc/inetd.conf
Gopinath_3
Advisor

Re: telnet problem in 11i

works fine now. I had to modify nsswitch.conf for my env, rebooted and telnet works fine both ways.

Thanks for the help

GOpi