System time not syncing via internet
C de-Avillez
hggdh2 at ubuntu.com
Thu May 9 00:20:13 UTC 2013
On Wed, 8 May 2013 22:00:26 +0100
Colin Law <clanlaw at googlemail.com> wrote:
> On a 12.04 system, in System Settings > Time & Date I have selected to
> set time automatically from the internet. When I reboot it syncs but
> it then drifts a couple of seconds each day so whatever mechanism
> there should be to keep it in sync is not working. The machine is
> permanently on so after a few weeks it gets noticably out.
>
> Any suggestions what might be going wrong? I know I could add a cron
> task to sort it but I would like to find out why it is not working.
Yes. You probably have ntpdate installed, but not ntp itself. ntpdate
syncs once when the interface goes up. If the interface never goes
down... no more syncs.
Just install ntp. I have had tried to get ntp installed by default, but
did not get traction (and, BTW, ntpdate is deprecated...).
Also, you may want to check if the default parameters for startup
(in /etc/default/ntp) specify "-g". This will allow for an initial,
potentially big, adjustment.
Cheers,
..C..
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20130508/94ea3807/attachment.sig>
More information about the ubuntu-users
mailing list