Re: Crash
I just looked at "last" on my system and noticed the same thing.
Some reboots and shutdowns appear as crash. Yet I know everything was
umounted correctly.
WHY?
John
--------------------------------------------------------
John Maheu phone (403) 492-2049
University of Alberta email john.maheu@ualberta.ca
Dept. of Economics
Edmonton, Alberta
Canada, T6G 2H4
--------------------------------------------------------
On Tue, 27 Oct 1998, Andreas Kahari wrote:
> The 'halt' command in Debian behaves as if I typed 'shutdown -h now',
> i.e. it sends TERM and KILL to all processes and stops all daemons, and
> finally prints "System halted" (if I press the big red button, which I
> won't do, this naturally won't happen). I still get "crash"...
>
> Here's some output from the 'last' command on my system:
> andreas tty1 Mon Oct 26 18:53 still logged in
> reboot system boot Mon Oct 26 18:53
> root tty1 Sun Oct 25 14:20 - 14:21 (00:00)
> reboot system boot Sun Oct 25 14:20
> root tty1 Sun Oct 25 14:14 - crash (00:03)
> reboot system boot Sun Oct 25 14:14
> andreas tty2 Sun Oct 25 13:59 - crash (00:12)
> andreas tty1 Sun Oct 25 14:53 - crash (00:-41)
> reboot system boot Sun Oct 25 14:53
> andreas tty1 Fri Oct 23 20:54 - crash (01:08)
>
> I notice now that 'reboot' won't cause a "crash", but 'halt' *and*
> 'shutdown -h now' will.
>
> Also, CTRL-ALT-DEL (in inittab: "ca:12345:ctrlaltdel:/sbin/shutdown -t1
> -h now") will cause "crash" (I changed this entry in inittab from "-r"
> to "-h", which is what I want CTRL-ALT-DEL to do).
>
> But, as I said, nothing appears to be wrong. Everything works fine,
> except for the word "crash"...
>
> /A
>
> ----------------------------------------------------------------------
> Andreas K., Department of Scientific Computing, Uppsala Univ., Sweden
> - - - - - - - - - - - - - - - - - - - - - - - -
> Contentsofsignaturemaysettleduringshipping.
> ----------------------------------------------------------------------
>
>
> On Tue, 27 Oct 1998, Lukas Eppler wrote:
> > On Mon, 26 Oct 1998, Andreas Kahari wrote:
> >
> > > At work, if I reboot my Solaris workstation, the "last" command reports
> > > something like
> > > reboot system boot Fri Oct 23 09:54
> > > ...
> > > but at home, with Debian 2.0, it simply states that my system has
> > > "crashed" at a specific time.
> >
> > the 'halt' and 'reboot' commands are probably the hardcore method to bring
> > the system down. On some distributions (maybe debian too, don't want to
> > try out at the moment) 'sbin/shutdown -h now' goes into runlevel 0, goes
> > trough /etc/init.d/* stop, halts then kills the remaining processes. this
> > is the safe way, and would not 'crash'. I saw once that at the end of the
> > shutdown, a 'halt' or 'reboot' is executed at the very end, so on these
> > systems, typing 'halt' is like just pressing the power button.
> >
> > try if your problem goes away by using 'shutdown -r now'.
> >
> > --
> > Lukas Eppler (godot)
> >
>
>
>
>
>
> --
> Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
>
>
Reply to:
- References:
- Re: Crash
- From: Andreas Kahari <andreas@tdb.uu.se>