From owner-freebsd-arch@FreeBSD.ORG Tue Aug 29 10:14:48 2006 Return-Path: X-Original-To: freebsd-arch@FreeBSD.ORG Delivered-To: freebsd-arch@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B1DF16A4DF; Tue, 29 Aug 2006 10:14:48 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FF8443D53; Tue, 29 Aug 2006 10:14:46 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (sxeryj@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id k7TAEe0M008050; Tue, 29 Aug 2006 12:14:45 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id k7TAEerO008049; Tue, 29 Aug 2006 12:14:40 +0200 (CEST) (envelope-from olli) Date: Tue, 29 Aug 2006 12:14:40 +0200 (CEST) Message-Id: <200608291014.k7TAEerO008049@lurza.secnetix.de> From: Oliver Fromme To: freebsd-arch@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG, babak badaei In-Reply-To: <20060829062232.4446.qmail@web55202.mail.re4.yahoo.com> X-Newsgroups: list.freebsd-arch User-Agent: tin/1.8.0-20051224 ("Ronay") (UNIX) (FreeBSD/4.11-STABLE (i386)) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Tue, 29 Aug 2006 12:14:45 +0200 (CEST) Cc: Subject: Re: What could cause /DEV to clear out? X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@FreeBSD.ORG, babak badaei List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Aug 2006 10:14:48 -0000 babak badaei wrote: > Today I was not able to log into my machine using SSH. I got this > following message "Server refused to allocate pty". I was, somewhat > fortunately, able to log using SCP. So SCP works. You can use "ssh -T" which disables allocation of a pty (pseudo tty). You probably won't be able to use full- screen programs (such as vi), and maybe your shell's editing functions won't work (depending on the shell), but at least you will get a shell prompt. See the ssh(1) manual page for details. > The file system > looked good for the most part; until I checked out "/DEV". Almost > everything was GONE! Including MAKEDEV. Not sure what to do. What version of FreeBSD are you running? FreeBSD 5 and 6 use DEVFS, so MAKEDEV isn't required anymore (it wouldn't work anyway). If you're still running FreeBSD 4, then there should be /dev/MAKEDEV. > Possible clue: Before this happened, last time I was actually > logged in via SSH, I ran a dropdb command on one of my postgres > databases and got an error message saying I did not have permission > to "/DEV/NULL". Not sure what to do, I set permissions to allow write > on "NULL". I have done "dropdb" many times before and had never seen > that message. Please give the output from these commands: uname -a ls -al /dev mount | grep dev > I hope this is in the right forum. This is the closest thing to right > place for this question in my mind but if this is in the wrong place > please direct me to the right forum. Why do you think -arch would be the most appropriate place? This should rather go to -questions (I've redirected it). Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "anyone new to programming should be kept as far from C++ as possible; actually showing the stuff should be considered a criminal offence" -- Jacek Generowicz