[ntp:questions] Automatic time synchronization of local hw clock.

Mimiko vbvbrj at gmail.com
Mon Apr 14 09:17:32 UTC 2014


On 14.04.2014 11:47, Harlan Stenn wrote:
> So in general, ntpd is running on the box?

Yes, its running as a service. Its acting as a time server very well for 
a year.

>
> What does ntpd talk to during the months it takes for the time to drift
> away by 30-60 seconds?

No logs about this drift of time in ntpd log file. Problem appear only 
when restarting service (or during system restart).

>
> On some operating systems NTP will set the BIOS clock.  I believe this
> happens once an hour.
>
> But not all OSes have this capability, and many BIOS clocks are pretty
> bad.  So it is not something that can be effectively used very often.

This is the problem. It's not correcting the BIOS clock. ntpd -q does 
correct it.

This is the command line which starts ntpd as service:

/srv/ntpd/bin/ntpd -p /var/run/ntpd.pid -g -l /srv/ntpd/log/ntpd.log -s 
/srv/ntpd/log/ntpstats/ -c /srv/ntpd/etc/ntpd.conf -u

-- 
Mimiko desu.


More information about the questions mailing list