Operating System - HP-UX
1833767 Members
2923 Online
110063 Solutions
New Discussion

Problem with telnet session

 
Oscar Castillo Murillo
Occasional Advisor

Problem with telnet session

Error en syslog

scrco telnetd[10869]: Cannot allocate pty
popper[16634]: Failed attempted login to
4 REPLIES 4
baiju_3
Esteemed Contributor

Re: Problem with telnet session

You may have to increase the npty value and rebuild the kernel.


kmtune |grep npty .


Thanks,
BL.


Good things Just Got better (Plz,not stolen from advertisement -:) )
Rick Garland
Honored Contributor

Re: Problem with telnet session

You have run out of pseudo tty's

Need to rebuild kernel with an increase in npty value
Raj D.
Honored Contributor

Re: Problem with telnet session

Hi Oscar,

You are running out of pty ,

And need to increase the kernel parameter for this value,

Hope you are having npty defined 60. And need to increase ,
Do the following:

# kmtune -s npty=200
# kmtune -s nsrpty=200
# kmtune -s nstrtel=200

# ./mk_kernel
# ./kmupdate
# shutdown -r -y 0


After reboot , check the pty values,
# kmtune | grep -e "npty" -e "nsrpty" -e "nstrtel"


Enjoy..
Cheers,
Raj
" If u think u can , If u think u cannot , - You are always Right . "
HGN
Honored Contributor

Re: Problem with telnet session

Hi

Like others who mentioned here ,you ran out of pty's, you need to reboot and bring the server backup (run a os backup) change the kernel parameter npty.

Rgds

HGN