ntpd keeps Soliciting pool server
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ntp (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
ntpd keeps printing "Soliciting pool server" in the syslog (once every 5 seconds).
$ ntpq -c pe
remote refid st t when poll reach delay offset jitter
=======
0.ubuntu.pool.n .POOL. 16 p - 64 0 0.000 0.000 0.000
1.ubuntu.pool.n .POOL. 16 p - 64 0 0.000 0.000 0.000
2.ubuntu.pool.n .POOL. 16 p - 64 0 0.000 0.000 0.000
3.ubuntu.pool.n .POOL. 16 p - 64 0 0.000 0.000 0.000
ntp.ubuntu.com .POOL. 16 p - 64 0 0.000 0.000 0.000
$ sudo ntpq -c rv
associd=0 status=c016 leap_alarm, sync_unspec, 1 event, restart,
version="ntpd 4.2.8p4@1.3265-o Fri Jul 6 20:10:51 UTC 2018 (1)",
processor="x86_64", system=
stratum=16, precision=-24, rootdelay=0.000, rootdisp=0.360, refid=INIT,
reftime=
clock=df6ee808.
mintc=3, offset=0.000000, frequency=6.224, sys_jitter=
clk_jitter=0.000, clk_wander=0.000
I have changed nothing in the default configuration of ntp or the firewall.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: ntp 1:4.2.8p4+
ProcVersionSign
Uname: Linux 4.15.0-33-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.18
Architecture: amd64
CurrentDesktop: KDE
Date: Mon Oct 15 11:17:45 2018
InstallationDate: Installed on 2018-04-20 (177 days ago)
InstallationMedia: Ubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
SourcePackage: ntp
UpgradeStatus: No upgrade log present (probably fresh install)
Hi Manuel, ntpd keeps printing "Soliciting pool server" in syslog because it can't contact any of the ntp servers in the pool. This is most likely a local configuration problem on your machine or network, or your service provider's network.
Here are some commands that should help work out where the problem lies.
# Check whether your system can resolve DNS names correctly: pool.ntp. org
dig 0.ubuntu.
# Check whether you can ask for time from these hosts: pool.ntp. org
ntpdate -d 0.ubuntu.
To run the above commands successfully, you'll need the dnsutils and ntpdate packages installed. Here's what a successful run might look like (abbreviated): https:/ /pastebin. ubuntu. com/p/zmzgj4nrw S/
If the dig fails, you've got a problem with DNS resolution. Check for a broken local DNS resolver or upstream DNS server.
If the dig succeeds but the ntpdate fails, you might have an outbound firewall blocking access or connection tracking problem in that firewall.
If both of the above succeed, but NTP still fails, your problem is likely a firewall blocking outbound NTP access.
The firewalls might be on your local machine, your local network, or your ISP's network (unfortunately, the last is more common that it should be).
Other causes might be a local apparmor profile override which prevents ntpd from doing DNS lookups.
Hope this helps you track it down!