I tried so much different things of installing ntpq or other stuff but nothing works.
I dont can change it to yes. I hope someone can help here.
I had Ubuntu 16.04 This is my terminal output of the Command timedatectl
Local time: Tue 2017-06-27 20:52:45 CEST
Universal time: Tue 2017-06-27 18:52:45 UTC
RTC time: n/a
Time zone: Europe/Berlin (CEST, +0200)
Network time on: yes
NTP synchronized: no
RTC in local TZ: no
Also tried this tutorial: https://www.digitalocean.com/community/tutorials/how-to-set-up-time-synchronization-on-ubuntu-16-04
But when i make sudo timedatectl set-ntp on
it only changes Network time on: yes/no.
Also installed ntp. But from the command sudo ntpq -p
i get this error
ntpq: read: Connection refused
ntpd
is not started after installation. Try runningsudo ntpd -n
to see if it starts running and the configuration file is OK (option-n
means not to fork and to log to the calling terminal). – ridgy Jun 28 '17 at 11:31timedatectl
. Ifntpd
is not installed,NTP synchronized: no
is OK (see https://help.ubuntu.com/lts/serverguide/NTP.html#timesyncd) – ridgy Jun 28 '17 at 12:25