From owner-freebsd-questions@FreeBSD.ORG Mon May 8 04:16:13 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 41D6616A401 for ; Mon, 8 May 2006 04:16:13 +0000 (UTC) (envelope-from MTaylor@bytecraft.com.au) Received: from wolf.bytecraft.au.com (wolf.bytecraft.au.com [203.39.118.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5E6B43D45 for ; Mon, 8 May 2006 04:16:11 +0000 (GMT) (envelope-from MTaylor@bytecraft.com.au) Received: from localhost (localhost [127.0.0.1]) by wolf.bytecraft.au.com (8.12.11/8.12.11) with ESMTP id k484G8WI020645; Mon, 8 May 2006 14:16:08 +1000 (EST) (envelope-from MTaylor@bytecraft.com.au) Received: from wolf.bytecraft.au.com ([127.0.0.1]) by localhost (wolf.bytecraft.au.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 19345-04; Mon, 8 May 2006 04:16:08 +0000 (GMT) Received: from svmarshal.bytecraft.au.com ([10.0.0.4]) by wolf.bytecraft.au.com (8.12.11/8.12.11) with ESMTP id k484G8GY020639; Mon, 8 May 2006 14:16:08 +1000 (EST) (envelope-from MTaylor@bytecraft.com.au) Received: from svmailmel.bytecraft.internal (Not Verified[10.0.0.24]) by svmarshal.bytecraft.au.com with MailMarshal (v5, 0, 3, 78) id ; Mon, 08 May 2006 14:16:08 +1000 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Date: Mon, 8 May 2006 14:15:45 +1000 Message-ID: <04E232FDCD9FBE43857F7066CAD3C0F117C8D7@svmailmel.bytecraft.internal> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: resetting clock after power outage Thread-Index: AcZyVYWzHb3MXedASbqYxRsfadF6tgAACj7g From: "Murray Taylor" To: "jekillen" , "freebsd-questions" Cc: Subject: RE: resetting clock after power outage X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 May 2006 04:16:13 -0000 if you have ntp setup you may need to do a single =20 ntpdate -b or ntpd -q to get the clock within a reasonable limit so ntpd can run properly man (8) ntpd man (8) ntpdate Murray Taylor Special Projects Engineer Bytecraft Systems P: +61 3 8710 2555 F: +61 3 8710 2599 D: +61 3 9238 4275 E: mtaylor@bytecraft.com.au=20 -- "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." =20 Albert Einstein=20 --=20 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org=20 > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of jekillen > Sent: Monday, 8 May 2006 2:11 PM > To: freebsd-questions > Subject: resetting clock after power outage >=20 > Hello; > I have a problem that I can't, so far find and answer to. > How do you reset the system clock after a power outage has=20 > caused it to loose time? > I have a machine that went down a month or so ago and since=20 > have noticed that the time stamp on such things as mail to=20 > the root account, and log entries is way behind what it should be. > The system is FreeBSD v6.0 and does not have Xwindows=20 > installed on it. So I need to find out how to reset the clock=20 > from the command line. I thought I could do it with=20 > sysinstall but I don't see an option for actually setting the=20 > time, only the time zone. > I presume that it is important, now, as I am running named on=20 > it as a master server and I believe it is important that it=20 > be in sync with the slave server running on another machine=20 > that was off at the time of the outage. > I thought maybe the bios had something to do with it but=20 > haven't seen a way to reset the time in the bios either. > Thanks for assistance in advance; > JK >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list=20 > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to=20 > "freebsd-questions-unsubscribe@freebsd.org" >=20 > ***This Email has been scanned for Viruses by MailMarshal.*** >=20 --------------------------------------------------------------- The information transmitted in this e-mail is for the exclusive use of the intended addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material.=20 E-mails may not be secure, may contain computer viruses and may be corrupted in transmission. Please carefully check this e-mail (and any attachment) accordingly. No warranties are given and no liability is accepted for any loss or damage caused by such matters. --------------------------------------------------------------- ***This Email has been scanned for Viruses by MailMarshal.***