[ntp:questions] sntp does not set the system time/date
Brian Luckau
bluckau at sgi.com
Fri Jul 30 16:27:06 UTC 2010
Hi,
After building and installing ntp 4.2.6p2 on both SLES 10, and on SLES
11 SP1, it seems that sntp does not ever set the time/date successfully.
It doesn't seem to matter if I use -j or -s.
Before testing sntp, I set the time to only a couple of minutes
"behind".
This is the output I get, but it never sets the date:
(running as root)
# sntp -d -s
pool.ntp.org
Initializing KOD
DB...
Starting to read KoD
file /var/db/ntp-kod...
KoD DB /var/db/ntp-kod
empty.
sntp sendpkt: Sending packet to 173.45.238.221... Packet
sent.
sntp recvpkt: packet received from 173.45.238.221 is not authentic.
Authentication not enforced.
sntp on_wire: Received 48 bytes from
173.45.238.221
sntp on_wire: t21: 94.834311 t34:
-94.814626
delta: 189.648937 offset:
0.009842
2010 Jul 30 10:22:47.113201 +0.01 +/- 0.062500
secs
sntp sendpkt: Sending packet to 192.43.244.18... Packet
sent.
sntp recvpkt: packet received from 192.43.244.18 is not authentic.
Authentication not enforced.
sntp on_wire: Received 48 bytes from 192.43.244.18
sntp on_wire: t21: 94.844075 t34: -94.802623
delta: 189.646699 offset: 0.020726
2010 Jul 30 10:22:47.154776 +0.020726
sntp sendpkt: Sending packet to 207.171.7.152... Packet sent.
sntp recvpkt: packet received from 207.171.7.152 is not authentic.
Authentication not enforced.
sntp on_wire: Received 48 bytes from 207.171.7.152
sntp on_wire: t21: 94.861538 t34: -94.785107
delta: 189.646645 offset: 0.038215
2010 Jul 30 10:22:47.231384 +0.03822 +/- 0.020721 secs
# sntp -d -j pool.ntp.org
Initializing KOD DB...
Starting to read KoD file /var/db/ntp-kod...
KoD DB /var/db/ntp-kod empty.
sntp sendpkt: Sending packet to 173.45.238.221... Packet sent.
sntp recvpkt: packet received from 173.45.238.221 is not authentic.
Authentication not enforced.
sntp on_wire: Received 48 bytes from 173.45.238.221
sntp on_wire: t21: 94.832285 t34: -94.813120
delta: 189.645406 offset: 0.009583
2010 Jul 30 10:23:05.405504 +0.01 +/- 0.062775 secs
sntp sendpkt: Sending packet to 192.43.244.18... Packet sent.
sntp recvpkt: packet received from 192.43.244.18 is not authentic.
Authentication not enforced.
sntp on_wire: Received 48 bytes from 192.43.244.18
sntp on_wire: t21: 94.843457 t34: -94.804687
delta: 189.648144 offset: 0.019385
2010 Jul 30 10:23:05.444442 +0.019385
sntp sendpkt: Sending packet to 207.171.7.152... Packet sent.
sntp recvpkt: packet received from 207.171.7.152 is not authentic.
Authentication not enforced.
sntp on_wire: Received 48 bytes from 207.171.7.152
sntp on_wire: t21: 94.861850 t34: -94.784256
delta: 189.646106 offset: 0.038797
2010 Jul 30 10:23:05.522179 +0.03880 +/- 0.020996 secs
--Brian Luckau
More information about the questions
mailing list