Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Sep 2000 21:08:08 +0100
From:      Ben Smithurst <ben@FreeBSD.org>
To:        JEAH Communications <root@jeah.net>
Cc:        questions@freebsd.org
Subject:   Re: Missing TTY?
Message-ID:  <20000910210808.L77593@strontium.scientia.demon.co.uk>
In-Reply-To: <Pine.BSF.4.21.0009092256180.63274-100000@awww.jeah.net>
References:  <Pine.BSF.4.21.0009092256180.63274-100000@awww.jeah.net>

next in thread | previous in thread | raw e-mail | index | archive | help
JEAH Communications wrote:

> Sep  9 22:55:50 awww sshd[63168]: error: openpty: No such file or
> directory
> Sep  9 22:55:50 awww sshd[63168]: error: Failed to allocate pty.
> 
> That appears when people try to connect via SSH every once in awhile.
> 
> Any idea how to find out what's missing or setup wrong and how to fix
> it?  I would appreciate any help.  This has been going on for awhile now.

How many PTYs do you have configured into your kernel?  Do the
appropriate device nodes exist for all of those devices? (`ls /dev/[tp]ty*`)

The problem might just be that too many people are logged in at any one
time (or using PTYs for other things) so you can just add more to your
kernel ('pseudo-device pty 256' or however many you want, IIRC) and make
the devices. ('sh MAKEDEV pty0' makes 32, IIRC, 'sh MAKEDEV pty1' makes
the next 32, and so on.  I'm not 100% sure though so read the MAKEDEV
script to check what it actually does.)

-- 
Ben Smithurst / ben@FreeBSD.org / PGP: 0x99392F7D


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000910210808.L77593>