ntpd -q lists no servers

by user31415629   Last Updated June 14, 2018 09:00 AM

I am trying to set up ntpd on my servers, so that their clocks are kept in sync. I am running Ubuntu 16.04. I have followed these instructions, and everything seems fine until the end. It's now a while later and the output of timedatectl looks like:

      Local time: Thu 2018-06-14 08:41:32 UTC
  Universal time: Thu 2018-06-14 08:41:32 UTC
        RTC time: Thu 2018-06-14 08:41:05
       Time zone: Etc/UTC (UTC, +0000)
 Network time on: no
NTP synchronized: yes
 RTC in local TZ: no

and the output of ntpq -p is:

     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

I have configured my AWS security groups so that UDP is open to 0.0.0.0/0 on port 123. All outgoing connections are allowed from these servers anyway.

I haven't modified the default ntp config at all.

How can I figure out why ntp isn't updating?

Tags : ubuntu ntp ntpd


Related Questions


Setup NTPD in Ubuntu to sync Windows AD

Updated April 11, 2015 22:00 PM

ntp_gettime() returns code 5

Updated October 16, 2017 09:00 AM

Why is ntpd not updating the time on my server?

Updated November 28, 2015 22:00 PM

What is NTP dispersion and how do I control it?

Updated April 05, 2016 08:00 AM

Is it ok to run `ntp` Cron job hourly?

Updated January 04, 2016 11:00 AM