shutdown and reboot

Matthew Seaman m.seaman at infracaninophile.co.uk
Tue Dec 23 23:48:37 PST 2003


On Tue, Dec 23, 2003 at 05:12:29PM -0800, pics wrote:

> I've had experience with RH Linux but am not very familiar with FreeBsd. For some reason, I cannot get the machine to reboot or to shutdown. I looked at the man pages for the shutdown command, and, for rebooting, typed #shutdown -r now. but I still have the same problem as I did with the reboot command:
> 
> ...
> Saving firewall state tables:.
> Dec 23 17:08:40 syslogd: exiting on signal 15
> Waiting (max 60 seconds) for system process 'vnlru' to stop...stopped

Hmmm... That's certainly not correct -- it should print out 'System
halted' or some such.  Then it should proceed to reset the system and
display the BIOS screens as it starts to reboot.  I've seen systems
where it will do the shutdown part, but fails to get the system to
reset and start rebooting unless you hit the reset button.
 
> and that's where it just freezes!!!
> Also, for shutdown, after printing some stuff on the screen, it asks me for a shell then gives me the shell's prompt like nothing happened.
> I'm no sys admin so some help is appreciated. Thanks.

Well, that "stuff on the screen" is kind of important for us to be able
to tell you what is actually going wrong.

At a guess: your machine has a damaged filesystem and so is only
booting up to single user mode.  You need to run:

    # fsck -y

which should repair the damage.  Eventually that command should tell
you 'Filesystem clean' for all of the filesystems on your machine.
You should then be able to type 'reboot' and the system will come up
normally.  However, this is just a guess and it could be something
else wrong which needs different action in order to fix.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20031224/5baae42f/attachment-0001.bin


More information about the freebsd-questions mailing list