[PLUG] time

linux-yug linux-yug at xprt.net
Fri Nov 14 07:18:34 UTC 2008


On Thu, 2008-11-13 at 10:28 -0800, Terry Griffin wrote:
> On Thursday 13 November 2008 8:30 am, linux-yug wrote:
> > HI
> >
> > Had a power outage last night and the computer rebooted.
> >
> > Now my time is off by one hour..
> >
> > I checked and I am set to Pacific..
> >
> > So if I am set the the correct time zone why am I off an hour??
> >
> > TIA
> >
> > linux-yug
> >
> 
> A theory:
> 1. Your Linux system is configure to set your hardware clock to local time,
> not UCT.
> 2. Your computer had been up and running since the change to standard time.
> 3. So your hardware clock had never been synced to standard time, because the
> hardware clock is normally synced to the system clock during shutdown. But
> since you had an unclean shutdown this syncing never happend.
> 4. When it booted back up, the system clock was synced to the hardware clock
> under the assumption that the hardware clock was set to standard time when in
> reality it was still set to daylight time.
> 
> Use the 'hwclock' utility to set/check the hardware clock. See the hwclock(8)
> man page.
> 
> Generally with Linux you should configure the system to set the hardware clock
> to UCT. Then you don't run in to these sorts of problems. The exception is
> when you are dual-booting with Windows. In that case it usually works out
> better to configure Linux to set the hardware clock to local time to match
> how Windows does it.
> 
> Terry
> 



Thanks for the answer


I went back to what I did before NTPD..

rdate time.mit.edu

hwclock -w



Now things look normal again

TIA

linux-yug




More information about the PLUG mailing list