Gentoo Archives: gentoo-user

From: Denis Shcherbakov <denis.che@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] after recent update - openpty failed: 'out of pty devices' - please help?
Date: Fri, 28 Jun 2013 19:07:06
Message-Id: CAATejyCCT2dCnfaoQYWU0Kg0gYLaP=ukQ9VA8POfvBr-hEv95w@mail.gmail.com
1 I was doing a lot of upgrading, and eventually I ended up with a situation
2 where if I run emerge, I get
3
4 openpty failed: 'out of pty devices'
5
6 If I try to remote log in to my SSH server, it says "server refused to
7 allocate pty".
8
9 I upgraded to GCC 4.6.3 today and switched my profile over to it, while
10 most of my system has been build on GCC 4.4 - I'm not sure if that matters
11 here. I'm currently on kernel 2.6.35-gentoo-r12, and I was making strides
12 to upgrade the system so I could migrate to udev-204 from udev-171-r6 which
13 I currently have.
14
15 When I upgraded to the 3.8.13 kernel today, I got the normal gdm login
16 interface I use, but when I tried to login - no dice! SSH server refused
17 to allocate PTY, and I could not kill X in order to get into a terminal (at
18 least, it starts right back up).
19
20 So I figured maybe I made a mistake configuring the new kernel, so I
21 reverted back to my 2.6.35-gentoo-r12 kernel, and X of course wouldn't come
22 up because my nvidia modules have been re-made for the new kernel. I was
23 able to log in to the system under the old kernel, but when I run any
24 emerge, it says "openpty failed: 'out of pty devices'".
25
26 So all of a sudden it doesn't seem to be connected to my upgrade to the new
27 kernel, as the old kernel does the same thing.
28
29 Where do I start looking for a problem? I can follow instructions, but
30 beyond using emerge and updating the system, I don't know a whole lot about
31 inner workings.
32
33 I sure woud appreciate some help to get me out of this bind. :-(
34
35 Thank you,
36 Denis

Replies

Subject Author
Re: [gentoo-user] after recent update - openpty failed: 'out of pty devices' - please help? Michael Orlitzky <michael@××××××××.com>