Public bug reported:

Binary package hint: ntp

After system (fresh Ubuntu Hardy with all latest updates) get loaded,
system time is OK, but after 1 hour of working it differs with real time
for about 1 minute.

Doesn't matter if System > Administration > Time and Date >
Automatically synchronize time checked or not. So after day of working i
have system time that differs with the real for about 8-10 minutes.

I wrote the shell script:
        #!/bin/sh

        export 
PATH="PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
        ntpdate -q pool.ntp.org
        hwclock
        date
        echo "===================="
And put it to the cron job to execute every minute.

Here is result of 1 hour working (see all log in attached time.log):
        server 89.111.168.177, stratum 3, offset 0.565096, delay 0.02873
        server 91.206.54.10, stratum 2, offset 0.564510, delay 0.05756
        server 217.172.21.161, stratum 3, offset 0.561406, delay 0.03078
        server 83.229.137.50, stratum 3, offset 0.555370, delay 0.02832
        server 85.21.78.6, stratum 2, offset 0.565585, delay 0.02989
        13 Nov 14:06:02 ntpdate[6970]: step time server 85.21.78.6 offset 
0.565585 sec
        Fri Nov 13 14:06:02 2009  -0.000313 seconds
        Fri Nov 13 14:06:02 MSK 2009
        ====================
        ...
        ====================
        server 91.194.10.40, stratum 2, offset 61.283378, delay 0.02812
        server 193.124.11.11, stratum 2, offset 61.293051, delay 0.03535
        server 80.68.242.188, stratum 3, offset 61.295203, delay 0.03003
        server 80.93.56.210, stratum 2, offset 61.298465, delay 0.02792
        server 85.21.78.6, stratum 2, offset 61.303816, delay 0.02916
        13 Nov 15:06:02 ntpdate[10112]: step time server 80.93.56.210 offset 
61.298465 sec
        Fri Nov 13 15:07:03 2009  -0.000595 seconds
        Fri Nov 13 15:06:02 MSK 2009
        ====================

ProblemType: Bug
Architecture: i386
Date: Fri Nov 13 15:22:33 2009
DistroRelease: Ubuntu 8.04
Package: ntp 1:4.2.4p4+dfsg-3ubuntu2.2
PackageArchitecture: i386
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=ru_RU.UTF-8
 SHELL=/bin/bash
SourcePackage: ntp
Uname: Linux 2.6.24-25-generic i686

** Affects: ntp (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug

-- 
System time is very slow and differs with real for about 1 minute per hour
https://bugs.launchpad.net/bugs/482086
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ntp in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to