sudo systemctl start chronyd
如果chronyc服務(wù)啟動(dòng)失敗,可以查看系統(tǒng)日志以獲取更多信息:
journalctl -xe
sudo systemctl stop chronyd
sudo chronyc -a 'server time.server.com iburst'
sudo systemctl start chronyd
sudo chronyc -a makestep
如果時(shí)間同步仍然不準(zhǔn)確,可以嘗試添加更多時(shí)間服務(wù)器來(lái)進(jìn)行時(shí)間同步:
sudo chronyc -a 'add server time.server2.com iburst'
sudo chronyc -a 'add server time.server3.com iburst'