Bug 73110 - ntpq -p does not return the time infomation
Summary: ntpq -p does not return the time infomation
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: ntp
Version: 7.3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Harald Hoyer
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-08-30 21:05 UTC by Need Real Name
Modified: 2007-04-18 16:46 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-08-30 21:06:06 UTC
Embargoed:


Attachments (Terms of Use)

Description Need Real Name 2002-08-30 21:05:56 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; T312461)

Description of problem:
ntp4.1.1.1-1
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 4.1.0.1 
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):


How reproducible:
Always

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
	

Additional info:

Comment 1 Harald Hoyer 2002-09-25 11:51:14 UTC
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...


Note You need to log in before you can comment on or make changes to this bug.