06-13-2023, 12:08 PM
(This post was last modified: 06-13-2023, 12:09 PM by Tim Curtis.)
Check the time sync service from command line. If it is not able to connect to Internet time servers there should be some errors.
Command
Example
Command
Code:
systemctl status systemd-timesyncd
Example
Code:
pi@moode:~ $ 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 Mon 2023-06-12 21:52:08 EDT; 10h ago
Docs: man:systemd-timesyncd.service(8)
Main PID: 336 (systemd-timesyn)
Status: "Initial synchronization to time server 173.11.101.155:123 (2.debian.pool.ntp.org)."
Tasks: 2 (limit: 1009)
CPU: 744ms
CGroup: /system.slice/systemd-timesyncd.service
└─336 /lib/systemd/systemd-timesyncd
Jun 12 09:41:57 moode systemd[1]: Starting Network Time Synchronization...
Jun 12 09:41:57 moode systemd-timesyncd[336]: System clock time unset or jumped backwards, restoring from recorded timestamp: Mon 2023-06-12 21:52:08 EDT
Jun 12 21:52:08 moode systemd[1]: Started Network Time Synchronization.
Jun 13 06:46:46 moode systemd-timesyncd[336]: Initial synchronization to time server 173.11.101.155:123 (2.debian.pool.ntp.org).