From owner-freebsd-questions Wed Nov 7 16:29:42 2001 Delivered-To: freebsd-questions@freebsd.org Received: from webs1.accretive-networks.net (webs1.accretive-networks.net [207.246.154.13]) by hub.freebsd.org (Postfix) with ESMTP id AE93137B405 for ; Wed, 7 Nov 2001 16:29:37 -0800 (PST) Received: from localhost (davidk@localhost) by webs1.accretive-networks.net (8.11.1/8.11.3) with ESMTP id fA80Tad67754; Wed, 7 Nov 2001 16:29:36 -0800 (PST) Date: Wed, 7 Nov 2001 16:29:36 -0800 (PST) From: David Kirchner X-X-Sender: To: brain_damaged Cc: m p , Subject: Re: psuedo terminal cannot be allocated error In-Reply-To: <200111061358.AA765657268@florida-wireless.com> Message-ID: <20011107162801.O44499-100000@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 6 Nov 2001, brain_damaged wrote: > Hello > I rebooted and no luck. > When i try to ssh in I get this error on the console > sshd[395]: error: openpty: No such file or directory > sshd[395[: failed to allocate pty > > On the reboot I found another error: > /etc/rc: /usr/lib/.fx/./xs: not found > however it is there. > I did a cd /usr/lib > then a cd /.fx then if i do a ls -l the xs is there. > I did not find any reference to xs in rc.conf or > inetd.conf so not sure were its coming from. > thanks > bd No idea what "/usr/lib/.fx" would be - could you have been hacked? It seems like if you were, that xs line would have been added to /etc/rc to make sure the hack survived a reboot. Anyways, it is sounding like you need to cd to /dev and run sh MAKEDEV pty1 sh MAKEDEV pty2 sh MAKEDEV pty3 sh MAKEDEV pty4 Then if you get "device not configured" you need to up your pty value in your kernel config. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message