I run Mint 18 Mate on three machines. A week or so ago I realized that the machine I use most often did not have correct time. ntpq -pn revealed that the ntp.conf file had been read but there apparently has been no communication with servers, pool or the local servers I have since added to ntp.conf.
dld ~ $ ntpq -pn
remote refid st t when poll reach delay offset jitter
==============================================================================
128.104.30.17 .XFAC. 16 u - 128 0 0.000 0.000 0.000
144.92.20.100 .XFAC. 16 u 69m 128 0 0.000 0.000 0.000
144.92.104.20 .XFAC. 16 u 97m 128 0 0.000 0.000 0.000
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
My two other machines seem to be running ntp fine. What am I missing?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason:Topic automatically closed 6 months after creation. New replies are no longer allowed.
You're definitely having a conflict between the (2) time services. I would disable ntpd and try to restart systemd-timesyncd; you shouldn't need a reboot. After you do this, check the services to make sure they're working (your output should be something similar):
$ systemctl status systemd-timesyncd
● systemd-timesyncd.service - Network Time Synchronization
Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2018-12-18 08:28:16 PST; 1 day 1h ago
Docs: man:systemd-timesyncd.service(8)
Main PID: 860 (systemd-timesyn)
Status: "Synchronized to time server [2001:67c:1560:8003::c8]:123 (ntp.ubuntu.com)."
Tasks: 2 (limit: 4915)
CGroup: /system.slice/systemd-timesyncd.service
└─860 /lib/systemd/systemd-timesyncd
$ timedatectl status
Local time: Wed 2018-12-19 10:20:32 PST
Universal time: Wed 2018-12-19 18:20:32 UTC
RTC time: Wed 2018-12-19 18:20:31
Time zone: America/Los_Angeles (PST, -0800)
System clock synchronized: yes
systemd-timesyncd.service active: yes
RTC in local TZ: no