[ntp:questions] ntpd remains in state 3 and stratum 16

mail at iceberg.pl mail at iceberg.pl
Wed Nov 9 18:20:03 UTC 2005


Hi.
My problem seem to be quite common as I found several similar posts on
this group and on many other places, but I still cannot find the
solution for myself.
After several minutes (15-20) my ntpd still does not want to
synchronize.
Here comes the details:
I am using ntpd 4.2.0a on a Linux SMP box (kernel 2.4.22). This is
Debian Testing, with ntpd from the Debian package. I also tried to
compile ntpd by myself widh --enable-debugging option.
The output of "ntpq -crv -p" looks as follows:

#v+
assID=0 status=c624 sync_alarm, sync_ntp, 2 events,
event_peer/strat_chg,
version="ntpd 4.2.0a at 1:4.2.0a+stable-2-r Wed Nov  9 18:22:44 CET 2005
(1)"?,
processor="i686", system="Linux/2.4.22", leap=11, stratum=16,
precision=-14, rootdelay=0.000, rootdispersion=5.190, peer=29428,
refid=INIT, reftime=00000000.00000000  Thu, Feb  7 2036  7:28:16.000,
poll=6, clock=0xc71cb85f.c3d60e94, state=3, offset=66.683,
frequency=0.000, noise=33.342, jitter=13.651, stability=0.000
     remote           refid      st t when poll reach   delay   offset
jitter
==============================================================================
*vega.cbk.poznan .PPS.            1 u   23   64   77   43.250   66.683
10.310
+info.cyf-kr.edu 131.188.3.221    2 u   21   64   77   54.562   74.754
16.954
+smtp.certum.pl  .GPS.            1 u   24   64   77   43.749   77.732
14.420
+tick.informatik 130.149.17.21    2 u   18   64   57   81.965   82.170
13.794
+adm.active24.cz 193.204.114.232  2 u   19   64   77   63.208   79.791
60.361
 LOCAL(0)        LOCAL(0)        13 l   14   64   77    0.000    0.000
 0.061
#v-

and "ntp -cas":
#v+ind assID status  conf reach auth condition  last_event cnt
===========================================================
  1 34556  9014   yes   yes  none    reject   reachable  1
  2 34557  9014   yes   yes  none    reject   reachable  1
  3 34558  9014   yes   yes  none    reject   reachable  1
  4 34559  9014   yes   yes  none    reject   reachable  1
  5 34560  9014   yes   yes  none    reject   reachable  1
  6 34561  9014   yes   yes  none    reject   reachable  1
#v-

I have also tried to run ntpd with "strace -f ntpd -d" and put both
ntpd and strace output here:
http://www.iceberg.pl/ntp/strace.bz2
http://www.iceberg.pl/ntp/log.bz2

Here is my ntp.conf:
http://www.iceberg.pl/ntp/ntp.conf

This host is behind NAT, so it cannot receive packets from new
connection on port 123 (and any other port of course), but outgoing
connection to port 123 (both TCP and UDP) are enabled on the firewall
(ntpdate works).

Could You please tell me what am I doing wrong? How can I get my ntpd
working?




More information about the questions mailing list