Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Sep 2002 11:57:00 +0700
From:      Roger Merritt <mcrogerm@stjohn.ac.th>
To:        freebsd-questions@FreeBSD.ORG
Subject:   init: can't get /dev/console
Message-ID:  <3.0.6.32.20020924115700.007ccad0@stjohn.stjohn.ac.th>

next in thread | raw e-mail | index | archive | help
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




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