I've installed the OS and the time is incorrect.
System clock synchronized: no systemd-timesyncd.service active: yes RTC in local TZ: no
How to force it to sync now?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
man timedatectl all you need is to enable NTP-sync.
sudo timedatectl set-ntp true
then it do the rest automatically.
If it does not work check status of
systemctl status systemd-timesyncd.service
and restart it
sudo systemctl restart systemd-timesyncd.service
And then check again:
$ timedatectl ... System clock synchronized: yes systemd-timesyncd.service active: yes RTC in local TZ: no
It worked for me, when I edited
/etc/systemd/timesyncd.conf, because lines below were commented.
I uncommented them and changed NTP and FallbackNTP lines by my Network servers:
[Time] NTP=172.24.3.1 FallbackNTP=172.24.44.51 RootDistanceMaxSec=5 PollIntervalMinSec=32 PollIntervalMaxSec=2048
After that, I restarted
System clock synchronized status turned to