解决the NTP socket is in use, exiting问题

问题描述:在时钟同步的时候,出现:

[root@GaussDB200 ~]# ntpdate ntp1.aliyun.com
 5 Jul 01:32:56 ntpdate[2154]: the NTP socket is in use, exiting
[root@GaussDB200 ~]# 

即报错:the NTP socket is in use, exiting

解决:

[root@GaussDB200 ~]# service ntpd stop
Redirecting to /bin/systemctl stop ntpd.service
[root@GaussDB200 ~]# ntpdate ntp1.aliyun.com
 5 Jul 12:16:10 ntpdate[6632]: step time server 120.25.115.20 offset 38552.371514 sec
[root@GaussDB200 ~]# 

你可能感兴趣的:(错误和坑集锦,centos,ntpdate)