9.04 Jaunty - automagically setting the time

william drescher william at TechServSys.com
Sat Nov 7 20:53:09 UTC 2009


Rashkae wrote:
> william drescher wrote:
>> My 9.04 server is gaining time.   When I installed it, I thought 
>> I asked it to sync with a time server, but it obviously is not.
>>
>> What is the procedure to set it to sync daily ?
>>
>> bill
>>
>>
> 
> There is an old bug in Jaunty that can prevent ntp from updating your
> clock.  To whit:
> 
> If you look at the /etc/default/ntpdate file, you will see there is an
> option, by default set to yes, to use the time servers listed in
> /etc/ntp.conf file.  This file should not exist in a default Ubuntu
> install, however, there is another program somewhere that likes to
> create a blank net.conf file, and then ntpdate-debian command stops working.
> 
> Either comment out that line, or make sure the time servers you want to
> sync with are included in your ntp.conf file.  Test from command line to
> make sure ntpdate-debian works.

I edited the file and ntpdate-debian works just fine.
But, given the other messages in the thread, will this be 
periodic or just on boot/bringing up interface ?
Do I need to put in a cron entry ?
> 
> Also, out of curiosity, what are the contents of
> /sys/devices/system/clocksource/clocksource0/current_clocksource 

tsc
   and
> /sys/devices/system/clocksource/clocksource0/available_clocksource on
> your system?
tsc acpi_pm jillies

bill





More information about the ubuntu-users mailing list