然后使用ntpdate命令手动同步服务"/>

使用ntpdate命令同步服务器时间出现“the NTP socket is in use, exiting”

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了使用ntpdate命令同步服务器时间出现“the NTP socket is in use, exiting”相关的知识,希望对你有一定的参考价值。

今天将一台Centos服务器还原快照后,出现了如下问题:

技术分享


然后使用ntpdate命令手动同步服务器时间,出现如下提示:

[[email protected] tools]# ntpdate 220.231.55.106

 4 Nov 12:02:59 ntpdate[29800]: the NTP socketis in use, exiting

技术分享

解决方法:

第一步:#service ntp stop

第二步:#ntpdate ntp.neu.edu.cn

技术分享

问题得到解决:

技术分享

以上是关于使用ntpdate命令同步服务器时间出现“the NTP socket is in use, exiting”的主要内容,如果未能解决你的问题,请参考以下文章

解决Linux 服务器ntpdate同步时间报错 the NTP socket is in use, exiting

时间同步出现ntpdate[1788]: the NTP socket is in use, exiting

Ntpdate做时间定时同步时报错

ntpdate实现集群的时间同步

Linux中使用ntpdate同步失败报错:14 Apr 08:42:12 ntpdate[1255]: the NTP socket is in use, exiting:解决方法.

【ntpdate】CentOS7.x上使用ntpdate同步ntp服务器