how can i tell if the ntp client is not locking on with the server?
cat /var/log/messages | grep ntpd
Apr 29 11:05:24 192.168.1.179 ntpd[1209]: frequency initialized
-73.305 PPM from /var/lib/ntp/drift/ntp.drift
Apr 29 11:06:46 192.168.1.179 ntpdate[1241]: step time server
172.23.8.179 offset 33.388710 sec
Apr 29 11:06:46 192.168.1.179 ntpd[1246]: ntpd 4.2.0a@1.1196-r Thu Jun
29 17:40:03 UTC 2006 (1)
Apr 29 11:06:46 192.168.1.179 ntpd[1246]: precision = 1.000 usec
Apr 29 11:06:46 192.168.1.179 ntpd[1246]: Listening on interface
wildcard, 0.0.0.0#123
Apr 29 11:06:46 192.168.1.179 ntpd[1246]: Listening on interface
wildcard, ::#123
Apr 29 11:06:46 192.168.1.179 ntpd[1246]: Listening on interface lo,
127.0.0.1#123
Apr 29 11:06:46 192.168.1.179 ntpd[1246]: Listening on interface eth0,
172.23.12.123#123
Apr 29 11:06:46 192.168.1.179 ntpd[1246]: kernel time sync status 0040
Apr 29 11:06:46 192.168.1.179 ntpd[1246]: frequency initialized
-73.305 PPM from /var/lib/ntp/drift/ntp.drift
Apr 29 13:29:44 192.168.1.179 ntpdate[2830]: adjust time server
172.23.8.179 offset -0.048573 sec
Apr 29 13:29:44 192.168.1.179 ntpd[2835]: ntpd 4.2.0a@1.1196-r Thu Jun
29 17:40:03 UTC 2006 (1)
Apr 29 13:29:44 192.168.1.179 ntpd[2835]: precision = 1.000 usec
Apr 29 13:29:44 192.168.1.179 ntpd[2835]: Listening on interface
wildcard, 0.0.0.0#123
Apr 29 13:29:44 192.168.1.179 ntpd[2835]: Listening on interface
wildcard, ::#123
Apr 29 13:29:44 192.168.1.179 ntpd[2835]: Listening on interface lo,
127.0.0.1#123
Apr 29 13:29:44 192.168.1.179 ntpd[2835]: Listening on interface eth0,
172.23.12.123#123
Apr 29 13:29:44 192.168.1.179 ntpd[2835]: kernel time sync status 0040
Apr 29 13:29:44 192.168.1.179 ntpd[2835]: frequency initialized
-73.305 PPM from /var/lib/ntp/drift/ntp.drif
Please help.
ntp client is running fine but when i return the next morning and
check the time, the 3 client is not in sync with the server.
is there a problem running ntp client on vmware instance?
Thanks,
J
On Tue, Apr 29, 2008 at 11:54 AM, Joe Sloan
Jay Jesus Amorin wrote:
On Tue, Apr 29, 2008 at 9:22 AM, Joe Sloan
wrote: Is ntpd running? What is the output of "ntpq -pn"?
# ntpq -pn remote refid st t when poll reach delay offset
jitter
==============================================================================
127.127.1.0 LOCAL(0) 10 l 12 64 3 0.000 0.000 0.001 192.168.1.179 .GPS. 1 u 9 64 3 5.307 -23.183 51.587
OK, it sees the time servers but doesn't seem to be able to lock on.
I'd expect to see some syslog messages about lost ticks etc. Just as a sanity check, this wouldn't happen to be a vmware instance would it? In that case, ntp problems are a known fact.
Joe
-- Ang nagtanong ay tanga. Ang hindi nagtanong ay nanatiling tanga. -jayamorin -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org