Re: ntpq no longer working -



Bob Goodwin wrote:
taharka wrote:
How do,

On Mon, 2006-05-22 at 07:32 -0400, Bob Goodwin wrote:

Tim wrote:

On Mon, 2006-05-22 at 04:17 -0400, Bob Goodwin wrote:

server
clock2.redhat.com
server
ntp-1.cns.vt.edu
server
ntp-2.cns.vt.edu
server
ntp-3.cns.vt.edu
server ntp-4.cns.vt.edu

Cut and paste error? They should all look more like:

server
clock2.redhat.com
server
ntp-1.cns.vt.edu
server
ntp-2.cns.vt.edu
server
ntp-3.cns.vt.edu
server ntp-4.cns.vt.edu

Yes, that is exactly what it looks like before Mozilla Compose
mutilated them
in producing "plain text."

Those domains all resolve, here. But I don't think you're doing
yourself any favours by referring to a bunch of NTP servers at the same
location. You want a collection of different servers, else you might
believe a set of servers to be true, that believe themselves to all be
true, when they're not (they might all be referencing themselves).

Originally I had three different sources within a few hundred miles in
hope of minimizing delays, some went away over time and the two left
always
worked well enough for my purposes. Your suggestion is obviously
valid. But I still can't see what's happening, since ntpq doesn't
work even when I
reduce the list to just the Redhat server.

I picked a collection that come from different locations:

server 0.pool.ntp.org iburst
server 1.pool.ntp.org iburst
server 2.pool.ntp.org iburst

Plus a couple of more local ones, to me (au.pool.ntp.org and my ISP's)

I can do something similar but first need to fix my problem.


Any hints/errors in /var/log/ntp?

I haven't found any such log, locate *log*ntp* produces nothing I
recognize as useful?

I did find: /usr/bin/ntpstat
synchronised to NTP server (198.82.1.203) at stratum 3
time correct to within 79 ms
polling server every 512 s

Which seems to indicate ntp is working at least but I don't have the
convenient data display I am accustomed to.

Why not try using ntpq in interactive mode. Use -i to get to that
state. Then raise the debug level with "debug more" and try "peers".

Ed

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • NTP shows all servers in condition "reject"
    ... i´m having slight problems getting ntp to synchronize. ... The associations to all ntp servers are in state "reject". ... server windows-dc-serverA ... ntpq> peers ...
    (comp.protocols.time.ntp)
  • Re: Meinberg NTP Software--Time Accuracy
    ... I would guess that possible server locations can be found ... server 0.us.pool.ntp.org preempt iburst ... you can use the pool commands. ...
    (comp.protocols.time.ntp)
  • Re: Bad File Descriptor
    ... seems that ntpd is recording bad file descriptor errors in the system log. ... #server clepsydra.dec.com iburst ...
    (comp.protocols.time.ntp)
  • Re: Bad File Descriptor
    ... >>seems that ntpd is recording bad file descriptor errors in the system ... #server clepsydra.dec.com iburst ...
    (comp.protocols.time.ntp)
  • Re: Severe time drift for Undisciplined Local Clock
    ... I have bowed to the collective wisdom and have located a Windows XP machine at each of our 200+ sites which we have configured to serve as a Time server. ... I have run ntpq and the rv command indicates that the server is rejected. ... Try starting ntpd with the -g option. ... Using the "iburst" keyword should give you faster startup when you get your other problems resolved; ...
    (comp.protocols.time.ntp)