From owner-freebsd-questions Mon Sep 23 21:57:42 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 9E87337B404 for ; Mon, 23 Sep 2002 21:57:40 -0700 (PDT) Received: from stjohn.stjohn.ac.th (stjohn.stjohn.ac.th [202.21.144.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id AFF1A43E65 for ; Mon, 23 Sep 2002 21:57:38 -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 VAA24712 for ; Mon, 23 Sep 2002 21:55:41 -0700 (GMT) Message-Id: <3.0.6.32.20020924115700.007ccad0@stjohn.stjohn.ac.th> X-Sender: mcrogerm@stjohn.stjohn.ac.th X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Tue, 24 Sep 2002 11:57:00 +0700 To: freebsd-questions@FreeBSD.ORG From: Roger Merritt Subject: init: can't get /dev/console 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 This morning, when I tried to run a script to portupgrade (created by 'portversion -c > needs.update') my server rebooted spontaneously. Since then I haven't been able to access the console. Luckily I *have* been able to log in via SSH and then su to root, but the console is stuck. The last line showing on the screen is: Local package initialization: apache and the cursor is just sitting there blinking. In fact the mysql server and client daemons have also been started, but apparently local initialization stopped before Samba was started. There were two processes running the shell script rc with the command autoboot. After I killed them I was able to start Samba by running the script in /usr/local/etc/rc.d. The only messages I can find in /var/log/messages that seem to be related are recurring "init: can't get /dev/console for controlling terminal: Operation not permitted" that seem to be coming up about once a minute. uname -a shows: FreeBSD poppy.imp.ac.th 4.6-STABLE FreeBSD 4.6-STABLE #0: Mon Jul 29 18:24:53 ICT 2002 Except for spontaneous rebooting whenever I try to run portsdb -Uu remotely the machine has been running fine since I last built world. The portsdb problem has existed since I installed the damned thing, but I've been too lazy to deinstall portupgrade since it (usually) works from the console. I'm lost. How can I get control of my console again? -- Roger To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message