From owner-freebsd-questions Tue Aug 20 8:39:24 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 463E837B400 for ; Tue, 20 Aug 2002 08:39:21 -0700 (PDT) Received: from comboard.com (ns.comboard.com [66.129.206.2]) by mx1.FreeBSD.org (Postfix) with SMTP id 7E8F643E3B for ; Tue, 20 Aug 2002 08:39:20 -0700 (PDT) (envelope-from smurray@comboard.com) Received: from [66.129.206.4] (HELO localhost) by comboard.com (Stalker SMTP Server 1.7) with ESMTP id S.0000949145; Tue, 20 Aug 2002 08:39:12 -0700 Date: Tue, 20 Aug 2002 08:39:11 -0700 Subject: Re: Now problem with time/date and server stability, was problem with time zone adjustment (FBSD4.6) Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v482) Cc: m.seaman@infracaninophile.co.uk To: questions@FreeBSD.ORG From: Seth Murray In-Reply-To: Message-Id: Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.482) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Monday, August 19, 2002, at 05:10 AM, questions-digest wrote: > Date: Mon, 19 Aug 2002 09:14:58 +0100 > From: Matthew Seaman > Subject: Re: Problem with time zone adjustment (FBSD4.6) > > On Sun, Aug 18, 2002 at 10:55:07PM -0700, Seth Murray wrote: >> Just installed 4.6 on a new server. CMOS clock is set to UTC. I am in >> Pacific Time zone, so should be 7 hours behind, but tzsetup adjusted >> local >> time to show 7 hours AHEAD of UTC. > > Hmmm... Seems like your clock is on holiday in Perth, Australia. So, > how does the output of > > date > date -u > > compare with your wall clock time? Is the timezone given in the first > command "PDT"? Does: > > setenv TZ "America/Los_Angeles" > > make things more sane? > > Cheers, > > Matthew > > - -- > Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks > Savill Way > Tel: +44 1628 476614 Marlow > Fax: +44 0870 0522645 Bucks., SL7 1TH UK > > > It is showing 'PDT' when asked for 'date.' This may be related to a strange spontaneous rebooting that is going on. For example, last night I set the date/time using 'date -u' to the correct UTC time. It set correctly. This morning, when I arrived at the computer at ~7:55 AM PDT, it appeared to have restarted just a few minutes earlier. It also now showed the time as about 00:33 PDT. The CMOS time remained stable and is still set to UTC. It isn't cleaning up lockfiles from the previous session, and so has a little difficulty on the new startup. I haven't any cron scripts running (that I'm aware of) that would do this. Just built the entire system a couple days ago. Running FreeBSD 4.6. Have installed Apache mod_ssl (current), mod_php (current), postgresql (current). Running on a dual AMD TYAN S2462 board. New RAM, power supply, everything. Any thoughts where to begin looking to find the culprit? Thanks, SHM -------------------------------------------------------------- | Seth Murray, M.T.S. | smurray@comboard.com | | "For the future of the world stands in peril unless wiser | people are forthcoming." | -- Pope John Paul II, Familiaris Consortio 8 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message