[ntp:questions] Hopelessly broken clock?

Chris Richmond tomnykds at comcast.net
Mon Nov 24 02:15:06 UTC 2008


Harlan Stenn <stenn at ntp.org> wrote in
news:ywn9y6zgwc38.fsf at ntp1.isc.org: 

>>>> In article <Xns9B5ABA19BFBAtomnykdscomcastnet at 74.209.131.18>, Chris
>>>> Richmond <tomnykds at comcast.net> writes: 
> 
> Chris> /usr/sbin/ntpq -p -n
> Chris> remote       refid   st t when poll reach delay offset jitter
> Chris>
> =======================================================================
> = Chris> *192.168.0.1 .PPS.    1 u 94    128   377 0.193 -0.837 5.872
> Chris>  127.127.1.0 .LOCL.  10 l 16     64   377 0.000 0.000  0.000
> 
> So why are you running a local refclock on this box?

Only because it was in the ntp.conf as a "just in case no other sources
are available" comments.  There's no plan to leave it in.  Gone now.

Still can't get around SELinux blocking the writing of the drift file.
Nov 19 12:52:37 router1 ntpd[2348]: can't open /etc/ntp/drift.TEMP: 
Permission denied

So, I moved the drift file to /root.  So far, so good, but no drift file
after ~15 minutes, but no log messages either.  Nowhere near the accuracy
of the reference machine, but at least it's working.

[crichmon at router1 ~]$ /usr/sbin/ntpq -p -n
remote           refid      st t when poll reach   delay   offset  jitter
==========================================================================
*192.168.0.1     .PPS.       1 u   17   64  377    0.206  -23.479   4.041

Thx, Chris




More information about the questions mailing list