Re: ntpq no longer working -

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tim wrote:
taharka:
Any hints/errors in /var/log/ntp?
Bob Goodwin
I haven't found any such log, locate *log*ntp* produces nothing I recognize as useful?

I think you have to reconfigure NTP to use its own log if you want to
that, else you just get some basic details logged in /var/log/messages.


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.

It seems peculiar to your machine, not FC5 in general, I just got a
friend with FC5 and ntp-4.2.0.a.20050816-11 to send me the output of
"/usr/sbin/ntpq -p", and he got normal results:

remote               refid    st t when poll reach delay offset  jitter
==============================================================================
*kuglof.mostovna .GPS.         1 u  519 1024 277 390.239 -77.177 11.863
+isdn-111.uninet 194.204.30.15 2 u  323 1024 377 402.333 -36.140 2.092
+cheddar.halon.o 195.234.188.3 2 u   74 1024 377 342.345 -30.247 0.864

Yes, that is the sort of data I normally see.


I suppose there's a few things that could be throwing a spanner in the
works (SELinux, DNS resolution, network routing).

Selinux is off, I have used numerical addresses, network routing?

Something that I've seen mentioned regarding other problems, at least,
is NTP running more than once.  I don't know how or why that happens,
but I've seen it happen here, and odd things happen because of it
Ed Greshko asked -
service ntpd status
ntpd (pid 18799) is running...

I forgot to provide that in the last message.




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux