Operating System - HP-UX
1833172 Members
3682 Online
110051 Solutions
New Discussion

telnet session open problem

 
Shah Gaurang B.
Frequent Advisor

telnet session open problem

Hello experts,

I am facing problem in doing telnet when session is increased more than 28. When 29th session tying to connect it gives error
"telnetd:telnet device drivers missing:no such devices

connection to host lost"
after this error connection closed.Pl guide me how to solved this problem

Thanks to all in advance
10 REPLIES 10
Jannik
Honored Contributor

Re: telnet session open problem

try to set the number of ptys in the kernel higher:
npty 60 - 60
nstrpty 60 - 60

What is your value?
# kmtune | grep pty

allsow have a look at maxusers:
# kmtune | grep maxusers
maxusers 185 - 185
jaton
Shah Gaurang B.
Frequent Advisor

Re: telnet session open problem

hi jennik,

already both are set fine .

kmtune | grep npty
npty 60 - 60
root @ testsvr4:/>kmtune | grep maxusers
maxusers 512 - 512

Mancboy
Valued Contributor

Re: telnet session open problem

what happens if you start an ssh session as your 29th session?
What about an rlogin?
Shah Gaurang B.
Frequent Advisor

Re: telnet session open problem

Hi Mancboy,

When tried to ssh it closed windows immediately.Not able to connect through ssh too.
Ludovic Derlyn
Esteemed Contributor

Re: telnet session open problem

hi,

what is your calue of nstrtel, by default it's 60

kctune nstrtel
Tunable Value Expression
nstrtel 60 Default
Ludovic Derlyn
Esteemed Contributor

Re: telnet session open problem

hi

look :

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=988543&admit=-682735245+1154679954175+28353475

and verify if the two patch are installed
(patch are indicated of the end of message)

Regards

L-DERLYN
Mancboy
Valued Contributor

Re: telnet session open problem

whjat about double checking the number of terminals created, we've 60 tels here.

eg

# kmtune -q nstrtel
Parameter Current Dyn Planned Module Version
===============================================================================
nstrtel 60 - 60

# ls /dev/pts/t?|wc
60 60 720
Shah Gaurang B.
Frequent Advisor

Re: telnet session open problem

Hi Mancboy & Derlyn,

output is
Parameter Current Dyn Planned Module Version
===============================================================================
nstrtel 60 - 60
root @ testsvr4:/tmp>ls /dev/pts/t?|wc
60 60 720
Ludovic Derlyn
Esteemed Contributor

Re: telnet session open problem

hi,

Have you checked the patchs ?
(swlist -l fileset |grep -i PH*)
regards

L-DERLYN
Mancboy
Valued Contributor

Re: telnet session open problem

it's possible that the device files are corrupt or missing somewhere along the line.

you could try rmsf-ing the files and then
insf -e