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