System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Server refuses to allocate pty

steria-npr
Occasional Visitor

Server refuses to allocate pty

I'm hanginging on a problem with a TRU64 Alpha Machine running Digital UNIX V4.0F (Rev. 1229)
(yes i know it's an old OS but it's running a development server running a db here normally logings are not needed unless some administration must be done)

Connections through SSH are refused with the message "Server refused to allocate pty"

the number of nptys is 1024 and the number of ptys in /dev show

ls pty* |wc -l
479

If I try to login using telnet i get the following error
"All network ports are in use"

Any hints how to solve this problem? Searching the web did not shown any relevant information.
4 REPLIES
Ivan Ferreira
Honored Contributor

Re: Server refuses to allocate pty

¿How many connections do you have currently? Check with w and netstat commands.

Maybe you need to increse the ammount of devices with:

# cd /dev
# ./MAKEDEV pty

Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
steria-npr
Occasional Visitor

Re: Server refuses to allocate pty

Thanks for your answer,

but that unfortunately does not help
for instance problem arised with following status quo:


# netstat |grep -e ESTABLISHED -e TIME_WAIT -e CLOSE_WAIT |wc -l
56
# netstat | grep -e LISTEN | wc -l
4
# ls /dev/pty* |wc -l
479
# w |wc -l
9

Rob Leadbeater
Honored Contributor

Re: Server refuses to allocate pty

Hi,

I would check for clues in /var/adm/messages or /var/adm/syslog.dated//*.log

Cheers,

Rob
steria-npr
Occasional Visitor

Re: Server refuses to allocate pty

thks for your reply.

i don't have for now access to the machine, as i'm away from office. Will inverstigate further asap.