You are not logged in.
My server's RTC time is correct but local&universal time slow. So I use "hwclock --hctosys" to synchronize them. But after a while:
$ timedatectl
Local time: Wed 2018-01-10 17:12:39 +08
Universal time: Wed 2018-01-10 09:12:39 UTC
RTC time: Wed 2018-01-10 09:12:47
Time zone: Asia/Singapore (+08, +0800)
System clock synchronized: yes
systemd-timesyncd.service active: no
RTC in local TZ: noWe can see the local&universal time is slow again.
What is the correct method to synchronize RTC and local time? Thanks very much in advance!
Best Regards
Nan Xiao
Last edited by nanxiao (2019-04-16 02:40:14)
Offline
Properly setting the RTC to either UTC or localtime should fix this: https://wiki.archlinux.org/index.php/Time#Time_standard
On second thought, apparently I can't read:
A certain amount of drift is to be expected https://wiki.archlinux.org/index.php/Time#Time_skew maybe setting up proper synchronization will help?
Last edited by V1del (2018-01-10 09:48:56)
Offline
Easiest thing to do is just set up NTP synchronization. It's a good thing anyway, and will correct this drift.
V1del is assuming a different problem.
Offline
"systemctl start systemd-timesyncd" Fix my problem, thx!
Offline
Please mark as [SOLVED] by editing the title in your first post.
Offline