On Wed, 2002-12-11 at 13:05, Patrick Nelson wrote:
> RH 62, RH72, and RH73 all up to date.
>
> Have a ntp server which queries internet time serves, this is a RH62 system,
> that serves as a time server to the private network. I'm upgrading this
> system to RH80 so I am moving services to other servers in the transition.
>
> Have a RH72 system and configured the ntp.conf to get its time from the same
> systems that RH62 was getting them from. ntptrace <RH72 system> reveals
> that it is in fact getting time from one of those internet time servers.
> Seems to be working.
>
> I tried to do a manual check on a workstation (RH73) using:
>
> rdate -s <RH72 system>
>
> But this responded as connection refused. Hmm... so I check xinetd, which
> has a time and a time-udp config file in /etc/xinetd.d directory. These
> both were disabled so I enabled them and now the rdate command above works.
>
> However, now I realize that what I thought I new about ntp is off a bit. So
> I plead for anyone to set me straight. How do I check that my clients are
> getting time correctly from <RH72 system>. The config file, ntp.conf is a
> non complex config file. I had thought that rdate used ntp but that doesn't
> seem to be the case.
>
>
Two different services as you have dicovered. ntpq -p hostname will
show you the peer status of a remote machine that is running ntp
the local time server on our lan
[bhughes@bretsony bhughes]$ ntpq -p gateway1
remote refid st t when poll reach delay offset
jitter
==============================================================================
LOCAL(0) LOCAL(0) 10 l 4 64 377 0.000 0.000
10.010
192.168.0.255 0.0.0.0 16 u - 64 0 0.000 0.000
16000.0
xsushi.compsci.l navobs1.wustl.e 2 u - 1024 377 285.050 199.085
218.730
*ntp-0.gw.uiuc.e truechimer.cso. 2 u 361 512 377 81.800 12.525
14.420
+cisco1-mhk.kans navobs1.wustl.e 2 u 460 512 377 55.830 -7.064
13.340
+ntp3.tamu.edu ntp1.tamu.edu 2 u 381 512 377 64.480 14.615
1.100
one of the machines synced to it
[bhughes@bretsony bhughes]$ ntpq -p compaq2
remote refid st t when poll reach delay offset
jitter
==============================================================================
LOCAL(0) LOCAL(0) 10 l 94 64 377 0.000 0.000
10.010
*gateway1.tulsa. ntp-0.gw.uiuc.e 3 u 64 64 377 0.440 96723.7
163.820
[bhughes@bretsony bhughes]$
the docs are in /usr/share/docs/ntp*, are in html and very extensive.
HTH
Bret
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list