Operating System - HP-UX
1753518 Members
4948 Online
108795 Solutions
New Discussion юеВ

Re: Unable to telnet into HP-UX 11iv3

 
SOLVED
Go to solution
arkie
Super Advisor

Unable to telnet into HP-UX 11iv3

Hi

We are unable to telnet into an HP-UX 11iv3 on rx2620 from LAN. The message says:-

telnetd: Telnet device drivers missing: No such device

Connection to host lost.

Locally the output of `telnet localhost` is:-

Trying...
Connected to localhost.
Escape character is '^]'.
telnetd: Telnet device drivers missing: No such device
Local flow control off
Connection closed by foreign host.

Can anyone pls help

Thanks!
8 REPLIES 8
Kapil Jha
Honored Contributor

Re: Unable to telnet into HP-UX 11iv3

My server has


# ls -lrt|grep tel
dr-xr-xr-x 2 bin bin 96 Sep 9 2004 telnet
crw-rw-rw- 1 root sys 72 0x000060 Dec 11 2006 telnetm

so I suppose you should have this file.

BR,
Kapil+


I am in this small bowl, I wane see the real world......
Johnson Punniyalingam
Honored Contributor
Solution

Re: Unable to telnet into HP-UX 11iv3

can you try the below ?

rm /dev/pts/*
rm /dev/pty/*
then
cd /dev
insf -e
insf -d telm
insf -d tels

Also check the kernel parameters


npty nstrpty nstrtel

once you problem has been fixed, Hope you need look for "telnet" patches
Problems are common to all, but attitude makes the difference
arkie
Super Advisor

Re: Unable to telnet into HP-UX 11iv3

Hi Kapil

Yes, its there:-

root@te02smx:/dev>ls -lrt|grep tel
dr-xr-xr-x 2 bin bin 96 Oct 20 2007 telnet
crw-rw-rw- 1 root sys 72 0x000068 Mar 27 2009 telnetm

Also grepped to see if the service is listening:-

root@te02smx:/dev>netstat -an |grep LISTEN |grep 23
tcp 0 0 *.2301 *.* LISTEN
tcp 0 0 *.23 *.* LISTEN

Checked the /etc/inetd.conf & /etc/services. Tried with `inetd -c` also. But still its not working
arkie
Super Advisor

Re: Unable to telnet into HP-UX 11iv3

Hi Johnson,

Is it advisable to do so? Because, the server is live.

Further, how can we check the kernel parameters: npty nstrpty nstrtel?

And where to look for the telnet patches?
Jupinder Bedi
Respected Contributor

Re: Unable to telnet into HP-UX 11iv3

try with insf -e

All things excellent are as difficult as they are rare
Kapil Jha
Honored Contributor

Re: Unable to telnet into HP-UX 11iv3

Please install PHNE_25913 or better PHNE_34015.

Please read instructions for this also.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
arkie
Super Advisor

Re: Unable to telnet into HP-UX 11iv3

Thanks Johnson,

That really worked. I have not changed the kernel parameter values for npty, nstrpty & nstrtel. All of them are 60 (default).

But, I couldn't really figure out what really happened with the old device files

Thanks all for your time & support
T. M. Louah
Esteemed Contributor

Re: Unable to telnet into HP-UX 11iv3

Typical corruption of device files, insf re-reates those.

t#
Little learning is dangerous!