Constant rebooting after power loss
Stefan `Sec` Zehl
sec at 42.org
Fri Apr 1 15:47:34 UTC 2011
Hi,
On Fri, Apr 01, 2011 at 13:27 +0200, Marko Lerota wrote:
> Today one of my home servers lost power two times in a short
> period of time. After that, the system just couldn't get up.
> Background checks couldn't get started. The messages was how
> / /tmp /var etc...had to much errors. And at the end, always
> got this: "automatic reboot will start in 15sec".
>
> I went to single user mode, and ran FSCK manually. That solved
> the problem. But the server was down for 2 hours.
If you want to get rid of the reboot loop, set:
background_fsck="NO"
Then it will either come up, or ask for help if anything fails.
If you absolutely want the server to come up, you can set this
fsck_y_enable="YES"
Assuming you're in the habit of answering "yes" to fsck's questions,
this will do it automatically in case of problems.
(Both settings are for /etc/rc.conf, of course)
CU,
Sec
--
One of the strongest advantages of plain-text email is
that people cannot use the typesetting features they want.
More information about the freebsd-stable
mailing list