CentOS: Server refused to allocate pty

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.

Advertisements
Leave a comment

3 Comments

  1. try to remove udev

    yum remove udev

    these actually remove udev, hal, and pm-util packages

    then reboot

    work for me

    Reply
  2. bill

     /  March 27, 2011

    Thanks, this was driving me nuts!

    Reply
  1. CentOS: Server refused to allocate pty | Memorias de un Programador Mercenario

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: