Operating System - Linux
1753614 Members
6185 Online
108797 Solutions
New Discussion юеВ

Re: Could not get a PTY. ptyfork failed in ptysystem. Linux RH ES

 
rico_cebiche
Advisor

Could not get a PTY. ptyfork failed in ptysystem. Linux RH ES

Hi,

Each time I try to use pbrun I get the next error message:

pblocald3.2.1-01@abc123.com: 3341 Could not get a pty
pblocald3.2.1-01: 5425.01 ptyfork failed in ptysystem: No such file or directory
pbrun3.2.1-01@abc123.com: 3005 Request ended unexpectedly

I created pty devices using command MAKEDEV ptyp, but the error message still there.

This is the uname -a for this Linux box:

Linux abc123 2.6.9-42.0.8.ELsmp #1 SMP Tue Jan 23 12:49:51 EST 2007 x86_64 x86_64 x86_64 GNU/Linux

Hardware is ProLiant BL45p G1. Is this kernel related ? What is ptyfork ? I cannot find a command ptyfork in the server.

Thanks for your responses.
2 REPLIES 2
Ivan Krastev
Honored Contributor

Re: Could not get a PTY. ptyfork failed in ptysystem. Linux RH ES

See how many pty's are in use and what is limit:

sysctl -a | grep pty
kernel.pty.nr = 2
kernel.pty.max = 4096

Here is more info - http://www.die.net/doc/linux/man/man7/pty.7.html

regards,
ivan
rico_cebiche
Advisor

Re: Could not get a PTY. ptyfork failed in ptysystem. Linux RH ES

Good suggestion. Thanks. Problem solved upgrading PowerBroker.