chrony 时间同步失败解决方案

失败检查

[root@centos8 ~]#vim /etc/chrony.conf
server ntp.aliyun.com iburst
allow 0.0.0.0/0
local stratum 10

[root@rocky01 ~]# systemctl daemon-reload
[root@centos8 ~]#systemctl restart chronyd

配置文件检查没有问题之后,重新加载配置文件后重启仍然失败

[root@rocky01 ~]# chronyc sources -vn
MS Name/IP address         Stratum Poll Reach LastRx Last sample
===============================================================================
^? 203.107.6.88                  0  10     0     -     +0ns[   +0ns] +/-    0ns

解决方法

更换网络环境(当时使用手机热点成功解决)

[root@rocky01 ~]# chronyc sources -vn
MS Name/IP address         Stratum Poll Reach LastRx Last sample
===============================================================================
^* 203.107.6.88                  2   6    17   110  -2194us[-3673us] +/-   50ms

 

posted @ 2022-10-18 19:02  会不会有那么一天  阅读(857)  评论(0编辑  收藏  举报