Red Hat Bugzilla – Bug 73110
ntpq -p does not return the time infomation
Last modified: 2007-04-18 12:46:12 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; T312461)
Description of problem:
when I use the ntpq -p to query the ntp server, it returns data of zeros.
root@opsbox ~$ ntpq -p
remote refid st t when poll reach delay offset jitter
ntpsrv. 0.0.0.0 16 u - 512 0 0.000 0.000 4000.00
When I shut down the daemon, and do an ntpdate ipaddress, I pull back the data.
We did a tcpdump on the IP and port 123 of the ntp server, and there is a
client request (with a stratus of 0) (a working ntp client running 220.127.116.11
pulls back a stratus of 2) There is a server call as well with all the data.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.install ntp-4.1.1-1.i386.rpm (needed libcap-1.10-8.i386.rpm)
2.rem out fudge in the ntp.conf file
3.run ntpdate -d ipaddress, run ntpq -p see data
if this is immediatly after the start it has no valid data yet..
you have not to remove fudge...
you have to set the correct server AND restrict line in ntp.conf...