From owner-freebsd-questions Tue Jan 2 15:11: 0 2001 From owner-freebsd-questions@FreeBSD.ORG Tue Jan 2 15:10:57 2001 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id B1EF037B400 for ; Tue, 2 Jan 2001 15:10:57 -0800 (PST) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f02NAu005693; Tue, 2 Jan 2001 15:10:56 -0800 (PST) Date: Tue, 2 Jan 2001 15:10:56 -0800 From: Alfred Perlstein To: Jason Halbert Cc: questions@FreeBSD.ORG Subject: Re: kernel panic Message-ID: <20010102151056.C19572@fw.wintelcom.net> References: <010f01c074eb$60fffe60$17622104@next> <20010102104221.W19572@fw.wintelcom.net> <011f01c074fa$5a6f8d40$17622104@next> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <011f01c074fa$5a6f8d40$17622104@next>; from res02jw5@gte.net on Tue, Jan 02, 2001 at 08:26:56PM -0000 Sender: bright@fw.wintelcom.net Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Jason Halbert [010102 12:26] wrote: > Previously on FreeBSD Questions "Alfred Perlstein" wrote: > > > * Jason Halbert [010102 10:39] wrote: > > > Hi everyone: > > > > > > Happy New Year =) > > > > > > Is there a way to have the server e-mail me when there is a kernel > > > panic? It seems to happen a lot and I don't know why. =\ I'm not > > > always in front of the monitor to catch it and read what it says. > > > But, I think it happens at high cpu loads that or it doesn't like > > > seti-at-home. That's neither here nor there. > > > > Check the handbook for ways to get a crashdump and traceback to > > use under the section "kernel debugging". > > > > If you want to be notified at reboot, i would just add a script > > to /usr/local/etc/rc.d to email you whenever the machine reboots. > > > > -- > > -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] > > "I have the heart of a child; I keep it in a jar on my desk." > > Hmm.. okay I could do that. Not sure how to write the script though. > Is there a way to find out why the machine re-booted? Like if it was > a kernel panic or someone actually did a "shutdown" ? I'm sure there's a way to use rc.shutdown or shutdown scripts in /usr/local/etc/rc.d somehow to erase a file that you created at boot, if you boot and the file exists you probably didn't have a clean shutdown. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message