内容简介:ntpdate报错the NTP socket is in use, exiting客户端使用ntpdate与NTP服务器进行时钟同步时,报错"the NTP socket is in use, exiting",如下:原因:
ntpdate报错the NTP socket is in use, exiting
客户端使用ntpdate与NTP服务器进行时钟同步时,报错"the NTP socket is in use, exiting",如下:
[root@h3 vdsm]# ntpdate us.pool.ntp.org 21 Feb 03:04:30 ntpdate[19759]: the NTP socket is in use, exiting
原因: ntp服务已运行
解决办法:
[root@h3 vdsm]# service ntpd stop Shutting down ntpd: [ OK ] [root@h3 vdsm]# ntpdate us.pool.ntp.org 21 Feb 03:06:55 ntpdate[19961]: step time server 192.168.0.253 offset 46.911562 sec
更新完之后记得重新启动ntpd
service ntpd start
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
猜你喜欢:本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。