centos时间同步问题

1 #  tzselect
2 
3 根据提示选择:5 --> 9-->1-->1-->ok
4 
5 rm /etc/localtime
6 
7 ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
 
2、时间同步问题排查方法 

在一台centos最小化安装的机器上面,yum -y install ntpdate安装ntpdate同步时间。

然而执行ntpdate -u ntp.sjtu.edu.cn的时候,死活调不了时间。并报以下错误

1 30 Oct 23:30:56 ntpdate[8200]: no server suitable for synchronization found

执行:ntpdate -d ntp.sjtu.edu.cn 命令调试的时候,出现一下信息:

posted @ 2020-01-06 20:39  ︻◣_蝸犇り~  阅读(365)  评论(0编辑  收藏  举报