From owner-freebsd-questions Sun Sep 29 18:41: 3 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD44037B401 for ; Sun, 29 Sep 2002 18:41:02 -0700 (PDT) Received: from stjohn.stjohn.ac.th (stjohn.stjohn.ac.th [202.21.144.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A8F343E6A for ; Sun, 29 Sep 2002 18:41:01 -0700 (PDT) (envelope-from mcrogerm@stjohn.ac.th) Received: from tulip ([203.151.134.104]) by stjohn.stjohn.ac.th (8.9.3+Sun/8.9.3) with SMTP id SAA24096 for ; Sun, 29 Sep 2002 18:39:07 -0700 (GMT) Message-Id: <3.0.6.32.20020930084023.0082eaf0@stjohn.stjohn.ac.th> X-Sender: mcrogerm@stjohn.stjohn.ac.th X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Mon, 30 Sep 2002 08:40:23 +0700 To: freebsd-questions@FreeBSD.ORG From: Roger Merritt Subject: How to restore 'getty' 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 Last week my server rebooted spontaneously while running 'portupgrade', and froze during initialization of local packages. Luckily, I have been able to get in using SSH from another terminal. The problem that shows up in /var/log/messages is: "init: can't get /dev/console for controlling terminal: Operation not permitted". After doing some research, I tried running 'getty' and my session froze. It looks like the 'getty' binary somehow got farkled (stray alpha particle?). So I went to /usr/src/libexec/getty and tried to run "make install". I got the error message: "install: getty: No such file or directory". I'm sure there's a way to do this without building world. Can someone direct me to the solution? -- Roger To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message