ntpdate报错the NTP socket is in use, exiting


客户端使用ntpdate与NTP服务器进行时钟同步时,报错“ the NTP socket is in use, exiting”,如下:
[root@h3 vdsm]# ntpdate 192.168.0.253
21 Feb 03:04:30 ntpdate[19759]: the NTP socket is in use, exiting

原因:ntp服务已运行
解决办法:
[root@h3 vdsm]# /etc/init.d/ntpd stop
Shutting down ntpd:                                        [  OK  ]
[root@h3 vdsm]# ntpdate 192.168.0.253
21 Feb 03:06:55 ntpdate[19961]: step time server 192.168.0.253 offset 46.911562 sec




你可能感兴趣的:(ntpd,ntpdate)