Date: Sun, 1 Jun 2003 22:39:20 +0000 From: Daniela <dgw@liwest.at> To: "Fernando M. Maresca" <f_maresca@ciudad.com.ar>, questions@freebsd.org Subject: Re: Problems with my terminal device files Message-ID: <200306012239.20792.dgw@liwest.at> In-Reply-To: <20030601201053.GA3432@troilo.qlp.com.ar> References: <200306011848.28701.dgw@liwest.at> <200306012131.29278.dgw@liwest.at> <20030601201053.GA3432@troilo.qlp.com.ar>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 01 June 2003 20:10, Fernando M. Maresca wrote: > Sorry, i can't figure out how is th problem in your system, but looks > like the forkpty or openpty syscall fails, so in some way your kernel > have reach some limits or there are a lot of processes running. There are certainly a lot of processes running, I have a server. I guess there are too many ssh logins, so I'm out of pty's. Is it sufficient to edit the /etc/ttys file? Would be bad if I had to reboot. > Look at ps ax output and see for weird things, such as zombies or so. > There is no way that X can not get more ptys that i can think now, but a > couple of things you can do to track down the problem: > try another window manager and see if the problem presists. I can't allocate new pty's, no matter what I do. > ps ax Nothing special. > sysctl -a |grep pty No output. > top As usual. > Sorry about my bad english. It's better than mine :-) > Fernando > > On Sun, Jun 01, 2003 at 09:31:29PM +0000, Daniela wrote: > > On Sunday 01 June 2003 17:41, Fernando M. Maresca wrote: > > > On Sun, Jun 01, 2003 at 06:48:28PM +0000, Daniela wrote: > > > > I have with the konsole in KDE and with SSH. > > > > I logged out from KDE and logged back in, and suddenly, when I try to > > > > open a konsole, I get the following error: > > > > Unable to open a suitable terminal device. > > > > > > > > Fortunately, I have some shells open from my previously saved > > > > session. When I try to open a konsole from one of these, I see the > > > > following: Can't open a pseudo teletype. > > > > > > > > Next I tried: > > > > %ssh 127.0.0.1 > > > > ... > > > > Warning: no access to tty (Bad file descriptor). > > > > Thus no job control in this shell. > > > > > > > > I guess there's something wrong with my device files, but I didn't > > > > change anything. Before logging out, the konsole worked (haven't > > > > tried SSH in the last few days). > > > > What's going on here? Please help. > > > > > > > > Daniela > > > > > > don't understand: you can not open konsoles (kde-xterm) or you can't > > > loggin in a pseudo tty? Not the same: if teh problem is konsole, try > > > xterm, the x window system terminal emulation. try ssh localhost from > > > inside xterm, should work. > > > > Thanks for your reply. > > Xterm says that I don't have enough ptys. How do I make more? > > > > Daniela > > > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306012239.20792.dgw>