[root@AWS-EC2-Free-Node01 ~]# /usr/sbin/ntpdate pool.ntp.org
20 Aug 09:50:54 ntpdate[7963]: the NTP socket is in use, exiting
###上面的是报错信息
[root@AWS-EC2-Free-Node01 ~]# service ntpd stop
关闭 ntpd: [成功]
[root@AWS-EC2-Free-Node01 ~]# service ntpdate restart
ntpdate: 与时间服务器同步: [确定]
[root@AWS-EC2-Free-Node01 ~]# chkconfig ntpd off
[root@AWS-EC2-Free-Node01 ~]# chkconfig --list ntpd
ntpd 0:关闭 1:关闭 2:关闭 3:关闭 4:关闭 5:关闭 6:关闭
[root@AWS-EC2-Free-Node01 ~]# /usr/sbin/ntpdate pool.ntp.org
20 Aug 09:58:05 ntpdate[8424]: 106.185.48.114 rate limit response from server.
20 Aug 09:58:05 ntpdate[8424]: adjust time server 157.7.153.56 offset -0.001141 sec
[root@AWS-EC2-Free-Node01 ~]# /usr/sbin/ntpdate pool.ntp.org
20 Aug 09:58:13 ntpdate[8441]: adjust time server 198.55.111.5 offset 0.000514 sec
[root@AWS-EC2-Free-Node01 ~]#
###上面的是解决方法
您可以选择一种方式赞助本站
支付宝扫一扫赞助
微信钱包扫描赞助
赏