1838675 Members
5019 Online
110128 Solutions
New Discussion

Re: ntp running right?

 
thebeatlesguru
Regular Advisor

ntp running right?

last week i change hp box's ntp server,this week there is some application wrong ,i guess maybe it is the ntp problem,but not sure.
following is ntpq -p show on some boxes:
192.168.*.* is the only box connect to GPS,and there are 4 boxes connect to 192.168.*.*:dm-lc,db-lc,dm-px,std-px
and other boxes connect to one of the boxes connect to 192.168.*.*.
dm-lc#ntpq -p
remote refid st t when poll reach delay offset disp
==============================================================================
*192.168.29.3 202.109.93.54 2 u 42 64 377 1.86 0.890 0.15
+db-lc 192.168.29.3 3 u 29 64 377 0.24 -0.354 0.64
dm-px db-lc 4 u 39 64 376 1.04 0.177 0.75

on one box connect to one of that 4 boxes:
ntpq -p
remote refid st t when poll reach delay offset disp
==============================================================================
*dm-px 192.168.29.3 3 u 460 512 377 0.27 3.734 0.95
+db-lc dm-lc 4 u 270 512 377 1.51 3.046 0.31
+dm-lc 192.168.29.3 3 u 223 512 377 0.79 3.775 3.74


is there something wrong?

hihi
1 REPLY 1
Ron Kinner
Honored Contributor

Re: ntp running right?

Probably. Look at the third field in each response -the one referred to as "s" on the column heading. That is your stratum level. It appears that your 192.168.29.3 box is claiming stratum 2. The four boxes that you say point to 192.168.29.3 should therefore all be stratum 3. However,
dm-px is shown as stratum 4 and gives a reference id of db-lc which indicates that rather than point to 192.168.29.3 he points to db-lc.

Go back and look at /etc/ntp.conf on each box. If they are correct then
restart each by
/sbin/init.d/xntpd stop
/sbin/init.d/xntpd start

Ron