Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: No more PTYs
PostPosted: Tue Dec 14, 2010 12:36 am 
Offline
Newbie

Joined: Tue Dec 14, 2010 12:31 am
Posts: 4
Hi all,

I love Linode so far but I am having issues with screen. When I start screen it gives me:

"No more ptys"

I have never seen this before and I have googled for hours and hours about it, rebuilt my server with a new distro (from centos to debian) and still no cigar. Some say to change /dev/pty permissions and that has not worked. I wonder if this is a kernel issue? I am using the latest linode stable kernel.

Any good advice?


Top
   
 Post subject:
PostPosted: Tue Dec 14, 2010 12:50 am 
Offline
Newbie

Joined: Tue Dec 14, 2010 12:31 am
Posts: 4
Sorry to double post but looks like Ubuntu 10.10 on latest kernel works with screen. But this is still a wierd issue.


Top
   
 Post subject:
PostPosted: Tue Dec 14, 2010 5:18 am 
Offline
Newbie

Joined: Tue Dec 14, 2010 5:14 am
Posts: 2
I'm having this issue too, with a new CentOS 5.5 build. If I'm logged in as root, screen works fine. If I'm an ordinary user, I get the 'No more PTYs' error and it kicks me out.


Top
   
 Post subject:
PostPosted: Tue Dec 14, 2010 5:27 am 
Offline
Newbie

Joined: Tue Dec 14, 2010 5:14 am
Posts: 2
Okay, I found this:
http://fooninja.net/2010/12/02/screen-n ... tys-error/

Running the mount command there (and adding the line to /etc/fstab) solved the issue. But it looks like this isn't the optimal way of fixing the problem (using udev would be).


Top
   
 Post subject:
PostPosted: Tue Dec 14, 2010 6:55 pm 
Offline
Newbie

Joined: Tue Dec 14, 2010 6:47 pm
Posts: 4
Greetings everyone. My first post :-D

Anyway, I had this problem a couple weeks ago when setting up my first linode using Debian as my distribution. After I installed screen, I attempted to run it as a normal user but got the "no more PTYs" error. The root user was able to run screen without issue.

I spent a while searching on Google looking for an answer. Since it was a few weeks ago, I do not remember the exact steps I went through. But I do know that after I did:
Code:
apt-get install udev

And restarted my linode, everything was fine. I'm sure there's a way to get it to work without a restart, but since I was under hardly any load at the time that was the quickest/easiest method for me.

I hope that points you in the right direction.
-- devsforev


Top
   
 Post subject:
PostPosted: Tue Dec 14, 2010 9:57 pm 
Offline
Newbie

Joined: Tue Dec 14, 2010 12:31 am
Posts: 4
Thanks for the tip, if I come across this again, Ill know what to do. :D


Top
   
 Post subject:
PostPosted: Tue Feb 08, 2011 8:19 am 
Offline

Joined: Tue Feb 08, 2011 8:16 am
Posts: 1
Thanks devsforev, we just had this same issue, applied your fix and it works fine.
The only thing different is I didn't need reboot, I just logged in again as the normal user and all was working.

Hope this helps.

Regards, Nick :)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group