On Wed, 2008-08-06 at 09:20 -0400, Todd Denniston wrote: > michael wrote, On 08/06/2008 03:56 AM: > > It seems my clock is losing time but yet I have 'enable Network Time > > Protocol' enabled and set to a local time machine. If I > > by "a local time machine" do you mean: > server 127.127.1.0 > ??? > > or > server 130.88.200.6 burst > restrict 130.88.200.6 mask 255.255.255.255 nomodify notrap noquery > ??? I didn't mean 127.127.1.0 (no idea what that means...) and yes I did mean 130.88.200.6 although I've no idea what those server/restrict cmds are about > 127.127.1.0 is only *sort of* reliable once it has been disciplined, i.e., a > drift file built up for a few days. > > > > > sudo /etc/init.d/ntpd stop > > sudo /usr/sbin/ntpdate 130.88.200.6 > > > > then it resets it to the correct time, so how come it's losing time? > > > > start ntpd, wait ~15 minutes, then run > /usr/sbin/ntpq -p > and send us the results. > i.e., to little information so far. okay, restarted ntpd from cmd line, waiting 15 mins and here's ntpq =p gives: mkb@veri:/var/log$ sudo /usr/sbin/ntpq -p Password: remote refid st t when poll reach delay offset jitter ============================================================================== utserv.mcc.ac.u 193.62.22.98 2 u 14 64 377 0.303 369608. 3831.40 but it's still out: mkb@veri:/var/log$ date Wed Aug 6 16:41:41 BST 2008 mkb@veri:/var/log$ ssh michael@ratty date Wed Aug 6 16:47:57 BST 2008 and ntpd reports in /var/log/messages: Aug 6 16:14:35 veri ntpd[13480]: ntpd 4.2.4p2@xxxxxxxx Tue Aug 21 13:58:55 UTC 2007 (1) Aug 6 16:14:35 veri ntpd[13481]: precision = 1.000 usec Aug 6 16:14:35 veri ntpd[13481]: Listening on interface #0 wildcard, 0.0.0.0#123 Disabled Aug 6 16:14:35 veri ntpd[13481]: Listening on interface #1 wildcard, ::#123 Disabled Aug 6 16:14:35 veri ntpd[13481]: Listening on interface #2 vmnet8, fe80::250:56ff:fec0:8#123 Enabled Aug 6 16:14:35 veri ntpd[13481]: Listening on interface #3 lo, ::1#123 Enabled Aug 6 16:14:35 veri ntpd[13481]: Listening on interface #4 eth0, 2002:8258:438d:8:219:d1ff:fee5:62f#123 Enabled Aug 6 16:14:35 veri ntpd[13481]: Listening on interface #5 eth0, fe80::219:d1ff:fee5:62f#123 Enabled Aug 6 16:14:35 veri ntpd[13481]: Listening on interface #6 vmnet1, fe80::250:56ff:fec0:1#123 Enabled Aug 6 16:14:35 veri ntpd[13481]: Listening on interface #7 lo, 127.0.0.1#123 Enabled Aug 6 16:14:35 veri ntpd[13481]: Listening on interface #8 eth0, 130.88.15.180#123 Enabled Aug 6 16:14:35 veri ntpd[13481]: Listening on interface #9 vmnet1, 192.168.115.1#123 Enabled Aug 6 16:14:35 veri ntpd[13481]: Listening on interface #10 vmnet8, 172.16.232.1#123 Enabled Aug 6 16:14:35 veri ntpd[13481]: kernel time sync status 0040 Aug 6 16:14:35 veri ntpd[13481]: frequency initialized 197.849 PPM from /var/lib/ntp/drift > > I was expecting to see stats in /var/log/ntpstats (as per my Debian box) > > but that dir doesn't exist on this Fed box... > > > > You have to config ntpd (in /etc/ntp.conf) to keep the stats, which are most > times not needed, and I don't remember what config items have to be set to > keep those stats. arg, was looking at /etc/sysconfig/ntpd -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list