[ntp:questions] NTPD not synching on Ub 11.10

David Lord snews at lordynet.org
Thu Dec 15 05:17:02 UTC 2011


sirgad wrote:
> Hi,
> 
> I'm tired so please forgive me if I just copy and paste the post I
> made on the Ubuntu Forums.  It's comprehensive so I'd only be
> repeating myself anyway.
> 
> ===BEGIN COPY AND PASTE===
> 
> NTPD 4.2.6.p2 on Ubuntu 11.10 Kernel 3.0.0-13-server. Connection to
> the web is up and functioning fine.  UFW (firewall) is enabled but not
> blocking outgoing connections.  ntp.conf is as follows (only non-
> default settings are shown):
> 
> [CODE]
> ## The named entries are all Stratum Two servers taken from here:
> ## http://support.ntp.org/bin/view/Servers/StratumTwoTimeServers
> ## The pool entries are all taken from here:
> ## http://www.pool.ntp.org/zone/uk
> server ntp.cis.strath.ac.uk iburst #Glasgow
> server 0.uk.pool.ntp.org #UK Pool Entry 1
> server ntp2b.mcc.ac.uk #Manchester
> server 1.uk.pool.ntp.org #UK Pool Entry 2
> server 2.uk.pool.ntp.org #UK Pool Entry 3
> [\CODE]
> 
> No matter how long I wait, I never receive a message of the following
> type in my syslog:
> 
> [CODE]
> hostname ntpd[xxxx]: synchronized to x.x.x.x, stratum 2
> [\CODE]

I don't see anything in my syslog

take a look in /var/log/ntp.log

> According to the walkthrough I'm following (http://ubuntuforums.org/
> showthread.php?t=862620), this indicates I'm not properly
> synchronized. Despite waiting several hours,all syslog actually
> reports is this:
> 
> [CODE]
> ntpd[16006]: ntpd 4.2.6p2 at 1.2194 Fri Sep  2 18:42:25 UTC 2011 (1)
> ntpd[16007]: proto: precision = 1.257 usec
> ntpd[16007]: ntp_io: estimated max descriptors: 1024, initial socket
> boundary: 16
> ntpd[16007]: Listen and drop on 0 v4wildcard 0.0.0.0 UDP 123
> ntpd[16007]: Listen and drop on 1 v6wildcard :: UDP 123
> ntpd[16007]: Listen normally on 2 lo 127.0.0.1 UDP 123
> ntpd[16007]: Listen normally on 3 eth0 <ipv4 address> UDP 123
> ntpd[16007]: Listen normally on 4 eth0 <ipv6 address> UDP 123
> ntpd[16007]: Listen normally on 5 lo ::1 UDP 123
> [\CODE]
> 

looks ok to me

> Running ntpq -c reports the following:

? ntpq -p

> 
> [CODE]
>      remote           refid      st t when poll reach   delay
> offset  jitter
> ==============================================================================
> *ntp1.cis.strath 193.62.22.74     2 u   65  128  377   33.158
> 0.273  28.907
> +fifi.v4.colo.m. 194.100.2.198    2 u   54  128  377   15.933
> -6.764  27.869
> +dir.mcc.ac.uk   194.66.31.14     2 u  111  128  377   28.767
> 6.354  32.016
> +scarlett.lon.re 216.218.192.202  2 u  116  128  377   28.055
> 0.359  55.242
> +resntp-a-vip.lo 77.75.105.169    3 u  113  128  377   20.382
> -0.889  24.030
> +europium.canoni 193.79.237.14    2 u  116  128  377   23.073
> 0.024  15.896
> [\CODE]

Again looks ok

I don't run my ubuntu system regularly but 15 minutes after power on
I get:

# ntpq -c rv
assID=0 status=0664 leap_none, sync_ntp, 6 events, event_peer/strat_chg,
version="ntpd 4.2.4p8 at 1.1612-o Tue Apr 19 07:08:29 UTC 2011 (1)",
processor="i686", system="Linux/2.6.32-35-generic", leap=00, stratum=2,
precision=-20, rootdelay=0.291, rootdispersion=42.650, peer=56734,
refid=192.168.59.64,
reftime=d293fcb9.e5982658  Thu, Dec 15 2011  4:57:29.896, poll=6,
clock=d293fcba.5894c434  Thu, Dec 15 2011  4:57:30.346, state=4,
offset=-10.575, frequency=29.037, jitter=2.024, noise=2.478,
stability=1.229, tai=0

# ntpq -p
      remote           refid   st t when poll reach   delay   offset  jitter
==============================================================================
  PPS(0)          .PPS.         0 l    -   64    0    0.000    0.000   0.001
+k6x400.home.lor 81.187.61.74  2 u   10   64  377    0.377  -12.476   0.983
*me6000g.home.lo .MSFa.        1 u   10   64  377    0.291  -10.575   2.024
+p4x2400c.home.l 81.187.61.74  2 u   11   64  377    0.486  -12.269   1.242


> 
> The IRC channel is dead so no help there. The Ubuntu forums have
> garnered no useful responses.  I can't find any other info on this
> topic. Can someone help me out here?
> 
> Ultimate aim is a local stratum 3 ntpd server for my network.
> 
> Thanks.



More information about the questions mailing list