Hi all,

I'm having a little difficulty with chrony. I have two computers, one
(slave, ubuntu 16.04) set up to sync to the other (master, ubuntu 14.04).

On slave, "sudo chronyc sources" works fine and returns me the master's
hostname, also it appears to be syncing.
210 Number of sources = 1
^* master                       10   6    17   43m    -67ms[  -67ms] +/-

On master, "sudo chronyc sources" fails with error 506. I've dug a little,
here's all the info I have:

- Chrony deamon is running, ps aux lists it, and a restart works without

netstat reports nothing on port 123 (however, that's the same on slave),
and puts out
udp        0      0 *:323                   *:*

udp6       0      0 [::]:323                [::]:*
for port 323.

tcpdump reports the following activity during a "source" call:
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on lo, link-type EN10MB (Ethernet), capture size 65535 bytes
15:24:37.790275 IP > UDP, length 36
15:24:37.790326 IP > UDP, length 32
15:24:37.790337 IP > UDP, length 36
15:24:37.790349 IP > UDP, length 32
15:24:37.790356 IP > UDP, length 36
15:24:37.790361 IP > UDP, length 32

Which appears to be fine...?
There is no firewall installed on this system to my knowledge.

The configuration file is as follows (ubuntu 14.04 default, plus the
annotated line, other comments removed)
server 0.debian.pool.ntp.org offline minpoll 8
server 1.debian.pool.ntp.org offline minpoll 8
server 2.debian.pool.ntp.org offline minpoll 8
server 3.debian.pool.ntp.org offline minpoll 8
keyfile /etc/chrony/chrony.keys

commandkey 1

driftfile /var/lib/chrony/chrony.drift

log tracking measurements statistics
logdir /var/log/chrony

maxupdateskew 100.0


dumpdir /var/lib/chrony
local stratum 10

allow # added this in a desperate attempt
allow 10/8
allow 192.168/16
allow 172.16/12

logchange 0.5


In the end, I'm still having synchronization issues between both computers,
so I assume adjusting the time on master is not working right.

Really looking forward to any suggestions :)
Best regards,

Reply via email to