Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 May 2006 23:17:28 -0500
From:      Andrew <andrew.chace@gmail.com>
To:        jekillen <jekillen@prodigy.net>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: resetting clock after power outage
Message-ID:  <1147061848.3352.58.camel@LatitudeFC5.network>
In-Reply-To: <8e6875284479b938892d255182f50ac8@prodigy.net>
References:  <8e6875284479b938892d255182f50ac8@prodigy.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 2006-05-07 at 21:10 -0700, jekillen wrote:
> 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 caused it to loose time?
> I have a machine that went down a month or so ago and
> since have noticed that the time stamp on such things
> as mail to the root account, and log entries is way behind
> what it should be.
> The system is FreeBSD v6.0 and does not have Xwindows
> installed on it. So I need to find out how to reset the clock
> from the command line. I thought I could do it with sysinstall
> but I don't see an option for actually setting the time,
> only the time zone.
> I presume that it is important, now, as I am running named
> on it as a master server and I believe it is important that
> it be in sync with the slave server running on another
> machine that was off at the time of the outage.
> I thought maybe the bios had something to do with it
> but haven't seen a way to reset the time in the bios
> either.
> Thanks for assistance in advance;
> JK

Hello,

See 'man ntpdate(8)'. Pretty sure that it's included with a basic
installation; i.e. it's part of the system, not a port. 

-Andrew




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1147061848.3352.58.camel>