您的位置 首页 技术

linux同步时间提示“the NTP socket is in use”

在使用ntpdate同步时间的时候,若出现“the NTP socket is in use,exiting”,即可按以下方法解决。   一、先关闭ntpdate &nb…

在使用ntpdate同步时间的时候,若出现“the NTP socket is in use,exiting”,即可按以下方法解决。

 

一、先关闭ntpdate

 

service ntpdate stop

 

二、然后再执行时间同步

 

ntpdate us.pool.ntp.org

 

三、最后再看看时间是否正确

 

date

 

若出现时区不对导致时间不同的问题(如使用美国VPS,时区是西部地区的时区),请参考《XenSystem VPS时间和时区修改方法》

本文来自网络,不代表24小时课堂在线立场,转载请注明出处:https://www.24ketang.cn/275.html

为您推荐

返回顶部