1827302 Members
3248 Online
109961 Solutions
New Discussion

Re: Telnet sessions die

 
Youlette Etienne_2
Regular Advisor

Telnet sessions die

Hello:

We have a k580, 11.0 hp9000 system. Today, all of the logged in reflections X telnet sessions to this box froze and no new sessions could be started. The system was still up, and I was able to login at the console and rebooted the box. Yesterday I installed an sos patch PHNE_19984 which, according to HP, would not affect the box. I also increased the size of maxdsiz. This is an oracle 8.0.5 box, and the DBA is checking to see if one of the two instances was the cause of this problem since one of them was down.

Has anyone encountered this type of problem?
If at first you don't succeed, change the rules!
5 REPLIES 5
Rick Garland
Honored Contributor

Re: Telnet sessions die

Try inetd -c to reread the inetd file.

Also, look in the inetd.sec file for any blocks
Antoanetta Naghiu
Esteemed Contributor

Re: Telnet sessions die

Check if your patch has dependences and if you have them installed.
Telnet sessions die (I suppose the existing ones), can you re-login issuing new telnet session? That message did you get?
Berlene Herren
Honored Contributor

Re: Telnet sessions die

Check for cannot allocate pty in syslog.log. You may need to increase the amount of them in the kernel. For 11.0, increase npty, nstrpty and nstelpty to the same amount.

grep pty /stand/system >> how many in the kernal

/dev/ll pt* | wc -l >> how many device files are created?


Berlene
http://www.mindspring.com/~bkherren/dobes/index.htm
Youlette Etienne_2
Regular Advisor

Re: Telnet sessions die

Thank you for responding so quickly.

I checked the inetd.sec file. There were no blocks.

At the time the sessions froze, I was logged in from my NT workstation as root. I just went to the console to see if I could log in there first. I did not try to start a new session from my workstation, but the DBA said she was unable to start a new session.
We were able to login via telnet sessions with no problmes once I rebooted the box.

There were no "cannot allocate pty" error messages in the syslog file. This was the first place I checked for any clues.

ls /dev/pty |wc -w ---> 60

# grep pty /stand/system
strpty_included
nstrpty 60

HP recommends increasing NPTY and NSTRPTY to 512.

If at first you don't succeed, change the rules!
Antoanetta Naghiu
Esteemed Contributor

Re: Telnet sessions die

If happened again, try to telnet to the box itself.
#telnet . (telnet_space_dot).
Increase npty
Check the network patches in the machine.
Can you get an rlogin session when telnet is not working?
Finally, I don't know what you tried to fix with that patch, but if is doing that, just remove it (swremove).