[AG-TECH] NTP Questions
Mike Daw
mike.daw at man.ac.uk
Fri Jul 12 10:19:36 CDT 2002
I've got a couple of questions related to NTP. Bear with me, this is not a
short email...
I've built my audio and video capture machines manually (i.e. not AGiB).
That means that I installed all the bits separately. That also means that my
NTP wasn't nicely configured and "just working".
Don Morton helpfully told me what should go in my file /etc/ntp.conf:
server ntp-1.accessgrid.org
driftfile /etc/ntp/drift
I restarted ntpd afterwards.
My time stayed as it was (about 10 minutes wrong!). Do I have to wait to get
into synch? Maybe, but my settings don't look right anyway. (Read on...)
I've been scooting around some of the docs about ntp and tried running
ntpq - with 'pe', 'as' and 'rv'. I got this:
---------Start output
[root at audio root]# ntpq
ntpq> pe
remote refid st t when poll reach delay offset
jitter
============================================================================
==
ag.mcs.anl.gov 0.0.0.0 16 u - 64 0 0.000 0.000
4000.00
ntpq> as
ind assID status conf reach auth condition last_event cnt
===========================================================
1 48124 8000 yes yes none reject
ntpq> rv 48124
status=8000 unreach, conf, no events,
srcadr=ag.mcs.anl.gov, srcport=123, dstadr=192.150.184.66, dstport=123,
leap=11, stratum=16, precision=-17, rootdelay=0.000,
rootdispersion=0.000, refid=0.0.0.0, reach=000, unreach=13, hmode=3,
pmode=0, hpoll=6, ppoll=10, flash=00 ok, keyid=0, offset=0.000,
delay=0.000, dispersion=0.000, jitter=4000.000,
reftime=00000000.00000000 Thu, Feb 7 2036 6:28:16.000,
org=00000000.00000000 Thu, Feb 7 2036 6:28:16.000,
rec=00000000.00000000 Thu, Feb 7 2036 6:28:16.000,
xmt=c0d96d24.d4832335 Fri, Jul 12 2002 15:58:44.830,
filtdelay= 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00,
filtoffset= 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00,
filtdisp= 16000.0 16000.0 16000.0 16000.0 16000.0 16000.0 16000.0 16000.0
ntpq> quit
[root at audio root]#
---------End output
Do I have a problem?
Second question. (Is anyone still with me, I wonder...) On my other machine,
I tried installing xntp. Possibly not a smart idea, but anyway.
Here, I got a different (possibly worse because I've got 'reach=no' rather
than 'auth=no'?) output:
---------Start output
root at video etc]# /usr/sbin/ntpq
ntpq> pe
remote refid st t when poll reach delay offset
disp
============================================================================
==
ag.mcs.anl.gov 0.0.0.0 16 u - 64 0 0.00 0.000
16000.0
ntpq> as
ind assID status conf reach auth condition last_event cnt
===========================================================
1 37636 8000 yes no
ntpq> quit
---------End output
Help would be gratefully received...
Thanks,
Mike
-----------------------oOo-----------------------
Michael Daw
Computer Services for Academic Research (CSAR)
Manchester Computing, Kilburn Building,
University of Manchester, Manchester M13 9PL, UK
Tel: +44 (0)161 275 7026
Fax: +44 (0)161 275 6800
Email: michael.daw at man.ac.uk
http://www.csar.cfs.ac.uk/staff/daw/
-----------------------OoO-----------------------
More information about the ag-tech
mailing list