Hardware time ok, system time not ok

Jorge Andres Brugger jbrugger at dasu.com.ar
Wed Jan 19 12:11:57 UTC 2011


El 19/01/2011 08:48 a.m., Carsten Aulbert escribió:
> Hi Jorge
>
> On Wednesday 19 January 2011 12:33:11 Jorge Andres Brugger wrote:
>> Scenario: Ubuntu Server 9.04 on a Quad-Core AMD Server, all updates
>> applied.
>>
>> root at server3:~# date
>> Wed Jan 19 08:16:52 ART 2011
>>
>> root at server3:~# hwclock
>> Wed 19 Jan 2011 08:23:02 AM ART  -0.298296 seconds
>>
>> There is a cron that syncs both clocks from pool.ntp.org every midnight.
>>
>> But there is always a gap of several minutes between hardware clock and
>> system clock.
>>
>> Server is always on.
>>
>> How can I fix this issue?
>
> I think, you should
> (a) stop the cron job
> (b) install ntpd to run continuously in the background
> (c) trust the system time, ignore the hardware clock
> (d) let hwclock set the hardware clock upon system shutdown
>
> That way, all should be well.

Carsten:

Thanks for your answer

This is a standard practice? Sounds a little tricky ... Why the system 
time goes crazy? (hw clock is ok)

>
> HTH
>
> Carsten
>

Jorge





More information about the ubuntu-server mailing list