Error Solved

Finally I solved the error

Archive for July 2009

CentOS: Server refused to allocate pty

without comments

The Problem
When I tried to login to my VPS using putty, It gave me message.

Server refused to allocate pty

And then I was not able to execute any commands.

The solution
Execute following two commands, and it should solve the problem.


/sbin/MAKEDEV pty
/sbin/MAKEDEV tty

I am using lxadmin, so I logged into lxadmin and run above commands from command center.
That’s it ! It works.

Written by daringtakers

July 14, 2009 at 10:43 am

Posted in linux

Tagged with ,