Re: problem with sntpclock
Octave <[email protected]> Wed, 10 Jul 2002 01:59:33 +0200
| Newsgroups | gmane.comp.lib.libtai |
|---|---|
| Message-ID | <[email protected]> |
> I had this problem too when I first tried libtai. The test computer ran > 22 secs different from UTC. When I removed /etc/leapseconds.dat, the > problem went away. Presumably, by using 'right' timezones, libtai times > should have synced with UTC, but I couldn't make it work. At least one > other person from the list said he did the same thing. it works !! # mv /etc/leapsecs.dat /etc/leapsecs.dat.OLD # /usr/local/clockspeed/bin/sntpclock 213.91.2.137 | /usr/local/clockspeed/bin/clockview before: 2002-07-10 01:56:20.554569000000000000 after: 2002-07-10 01:55:58.967678999870359897 # ntpdate 213.91.2.137 10 Jul 01:56:17 ntpdate[14414]: step time server 213.91.2.137 offset -21.586840 sec # /usr/local/clockspeed/bin/sntpclock 213.91.2.137 | /usr/local/clockspeed/bin/clockview before: 2002-07-10 01:56:21.689651000000000000 after: 2002-07-10 01:56:21.688297499913752078 thanks a lot ! Octave