sntpclock = ntpdate + 22s

johnea <[email protected]> Wed, 06 Jun 2007 13:11:32 -0700
Newsgroups gmane.comp.lib.libtai
Message-ID <[email protected]>
Hi,

I recently started running clockspeed 0.62.

Results from ntp servers around the net were consistent for several days, and I thought I had good timekeeping.

Then I noticed that the time displayed at:

http://time.gov/timezone.cgi?Pacific/d/-8/java

was different from my computer's time by > 22 seconds.

I set the computer's time with ntpdate and now I find that the time agrees with time.gov to within a second.

Have I misconfigured clockspeed? Why are ntpdate times and sntpclock times different?

Below are a variety of outputs from sntpclock.

Thank You for any advice!!!

johnea

========================================================================================

[root@cube clockspeed-0.62]# sntpclock 132.239.1.6 | clockview
before: 2007-06-03 11:01:10.388216000000000000
after:  2007-06-03 11:01:10.407884999935477971
[root@cube clockspeed-0.62]#
[root@cube clockspeed-0.62]#
[root@cube clockspeed-0.62]# sntpclock 198.82.1.201 | clockview
before: 2007-06-03 11:01:21.120580000000000000
after:  2007-06-03 11:01:21.137528742388680577
[root@cube clockspeed-0.62]#
[root@cube clockspeed-0.62]#
[root@cube clockspeed-0.62]# clockview < /usr/local/clockspeed/etc/atto
before: 2007-06-03 11:01:58.689057000000000000
after:  2007-06-03 11:01:58.689057000586880272
[root@cube clockspeed-0.62]#
[root@cube clockspeed-0.62]#
[root@cube clockspeed-0.62]# sntpclock 132.239.1.6 > /usr/local/clockspeed/adjust
sntpclock: warning: unable to read clock: timed out
sntpclock: warning: unable to read clock: timed out
[root@cube clockspeed-0.62]#
[root@cube clockspeed-0.62]#
[root@cube clockspeed-0.62]# clockview < /usr/local/clockspeed/etc/atto
before: 2007-06-03 11:02:21.280021000000000000
after:  2007-06-03 11:02:21.280021000586880292
[root@cube clockspeed-0.62]#
[root@cube clockspeed-0.62]#
[root@cube clockspeed-0.62]# sntpclock 132.239.1.6 | clockview
before: 2007-06-03 11:02:40.344967000000000000
after:  2007-06-03 11:02:40.345191499883428215
[root@cube clockspeed-0.62]# sntpclock 198.82.1.201 | clockview
before: 2007-06-03 11:02:49.789360000000000000
after:  2007-06-03 11:02:49.787162760729104280
[root@cube clockspeed-0.62]#