From owner-freebsd-hackers@FreeBSD.ORG Mon Oct 4 20:04:03 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A208616A4CE for ; Mon, 4 Oct 2004 20:04:03 +0000 (GMT) Received: from w2xo.jcdurham.com (18.gibs5.xdsl.nauticom.net [209.195.184.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1EB7743D31 for ; Mon, 4 Oct 2004 20:04:03 +0000 (GMT) (envelope-from durham@jcdurham.com) Received: from tiltdown.pgh.nepinc.com (pgh.nepinc.com [66.207.129.50]) by w2xo.jcdurham.com (8.12.11/8.11.6) with ESMTP id i94K42nA001854 for ; Mon, 4 Oct 2004 16:04:02 -0400 (EDT) (envelope-from durham@jcdurham.com) From: Jim Durham To: freebsd-hackers@freebsd.org Date: Mon, 4 Oct 2004 16:04:00 -0400 User-Agent: KMail/1.7 References: <20041004130415.G1034-100000@mxb.saturn-tech.com> In-Reply-To: <20041004130415.G1034-100000@mxb.saturn-tech.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200410041604.00507.durham@jcdurham.com> Subject: Re: Sudden Reboots X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Oct 2004 20:04:03 -0000 On Monday 04 October 2004 03:06 pm, Doug Russell wrote: > On Mon, 4 Oct 2004, Jim Durham wrote: > > The reboots started out happening at 5.15 pm or so. I had them unplug the > > server completely from AC and restart it and now it's happening withing a > > few minutes of 12:40pm every day. > > > > The 'last' command output is the only thing showing anything log-wise. > > Look at this: > > > > reboot ~ Mon Oct 4 12:33 > > reboot ~ Sun Oct 3 12:37 > > reboot ~ Sat Oct 2 12:42 > > reboot ~ Fri Oct 1 12:45 > > That is strange.... > What is that machine doing at that time? Does it start a backup job, or > any kind of maintenance at that time? Anything at all? > > I'd monitor what the heck the machine is doing to some remote machine and > see what goes on when it dies. > > Later....... Well... I'm trying to do too many things at the same time and not thinking. I thought about it and also ran 'last -f /var/log/wmtp.1' and found the whole sequence...and added my recent reboot info to the top and here is what I got. reboot ~ Mon Oct 4 14:54 reboot ~ Mon Oct 4 12:33 reboot ~ Sun Oct 3 12:37 reboot ~ Sat Oct 2 12:42 reboot ~ Fri Oct 1 12:45 reboot ~ Thu Sep 30 12:33 reboot ~ Thu Sep 30 08:54 reboot ~ Wed Sep 29 08:41 reboot ~ Tue Sep 28 17:20 reboot ~ Mon Sep 27 17:28 reboot ~ Sun Sep 26 17:28 reboot ~ Sat Sep 25 17:37 reboot ~ Fri Sep 24 17:38 reboot ~ Thu Sep 23 17:42 reboot ~ Wed Sep 22 17:50 reboot ~ Tue Sep 21 17:52 reboot ~ Mon Sep 20 17:57 reboot ~ Sun Sep 19 17:57 reboot ~ Sat Sep 18 17:56 Now, the machine was powered down on Sept 17 because of an all-day power failure. It started doing this on the 18th ,starting at 5:56pm and working earlier until Sept 29, when I upgraded from 4.9 to 4.10 p3. Then it started rebooting at 8:45 aprox and I had the customer shut down the machine completely on the 30th and remove the AC from the rear connector and wait a few minutes and bring it back up. That's when it started rebooting at 12:30 or so. Googling for "Freebsd reboots at same time every day" will produce hits on people with the same problem so this is not just me. I checked crontab, etc and there's nothing coinciding and also, apparently every time you reboot the machine, the cycle changes, so how can it be an external event? Boy...I'm confused... 8-) There was one Google posting that maintained that this one guy fixed it by removing IPV6 from the kernel. I'm trying this at the moment. Of course, I had to reboot to change the kernel, so the times will probably change if it keeps rebooting. It also just hit me that the time doesn't change much if the machine reboots itself, but changes if you upgrade or do a controlled reboot. Wow... -- -Jim