Date: Mon, 8 May 2006 14:15:45 +1000 From: "Murray Taylor" <MTaylor@bytecraft.com.au> To: "jekillen" <jekillen@prodigy.net>, "freebsd-questions" <freebsd-questions@freebsd.org> Subject: RE: resetting clock after power outage Message-ID: <04E232FDCD9FBE43857F7066CAD3C0F117C8D7@svmailmel.bytecraft.internal>
next in thread | raw e-mail | index | archive | help
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.***
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?04E232FDCD9FBE43857F7066CAD3C0F117C8D7>