Re: ntpdate steps 86400 seconds



K.Dinh.P wrote:
"Tom Smith" <smith@xxxxxxxxxxxxxx> wrote in message news:433D2886.1030209@xxxxxxxxxxxxxxxxx

K.Dinh.P wrote:

"John Pettitt" <jpp@xxxxxxxxxxxxx> wrote in message

K.Dinh.P wrote:


I have a question concerning ntpdate. I synchronize to a timeserver using
crontab with ntpdate v4.1.1. The syslog is shown below:




[snip]

Why are you using ntpdate instead of ntpd?


Beacuse the precision with ntpd is too large on the single board hardware I´m using.

I don't quite understand that.

However, you say you are synchronizing a time SERVER by running ntpdate.
Would that be a time server that is supplying time to other systems using
ntpd? It won't work, and the odd behavior you are seeing may well be
precisely because you are running ntpdate in the way you are.

-Tom


My test of ntpd show that the time synchronization diverge with a precision of no more than 200ms. This is due to the driver of the NAND flash disk I´m using.

Sorry, I still don't understand, but never mind. After re-reading your original post I see that this is only a time client, which, I assume, has no serious requirements for time accuracy.

The time server is a windows machine with nettime installed.

Here, no doubt, is your problem. Maybe nothing has changed on the server, but that server has probably begun to display the weaknesses of this approach. See http://nettime.sourceforge.net/ for a start.

All the evidence says that the server is changing the date forward
by one day as it crosses midnight and then changing it back 10
minutes later. Perhaps 10 minutes is nettime's update interval?
Or perhaps nettime is in turn using a server that has that problem?

If you install the reference implementation of NTP on that server
instead, you should get much better results. See
http://www.meinberg.de/english/sw/ntp.htm for the installer
provided by Meinberg.
.



Relevant Pages

  • How can I get ntpdate functionality from ntpd ?
    ... I prepared by reading the handbook chapter 27.10 "Clock Synchronization with NTP", also went through /usr/share/doc/ntp, and the usual rtfm of ntpd, ntp.conf and ntpdate. ... I also found a thread in this newsgroup by from 07-MAR-2007 with the subject "NTPD server". ... server 0.hu.pool.ntp.org iburst ...
    (comp.unix.bsd.freebsd.misc)
  • Re: time acuracy
    ... external ntp server. ... In my opinion it's about exactly as easy or simple to use ntpdate in a cron ... Nor is there any cpu/ram penalty by having ntpd running. ... server that is geographically close to you, ...
    (comp.unix.sco.misc)
  • Re: [SLE] Atom clock synching tool
    ... Remember it needs a permanent network connection. ... Perhaps as a last comment - ntpd does't actually need a permanent ... server you have specified, and when it doesn't have a connection, you ... to call than ntpdate. ...
    (SuSE)
  • RE: rh-l] NTP Problems Redux
    ... I have been stopping/starting ntpd as needed to run ntpdate, ... server 192.168.1.50 ... I wait a few days to see if the clocks will drift out of sync. ...
    (RedHat)
  • Re: Time server...how to set it up on FC1?
    ... They're in essence the same daemon and when ntpdate starts it sees ... >ntpd and shuts itself down. ... from the server, regardless of what that result was and with no sanity ... If the server is 10 years off from the local system time, ...
    (Fedora)