红联Linux门户
Linux帮助

ntpdate[16603]: the NTP socket is in use

发布时间:2016-01-26 15:35:57来源:linux网站作者:郭大帅哥

ubuntu使用ntpdate更新时间的时候提示错误如下:
root@lnmp:/etc/squid3# sudo ntpdate cn.pool.ntp.org
5 Jan 07:22:59 ntpdate[4129]: the NTP socket is in use, exiting


解决方法:
$ ps aux | grep ntpd #将进程号记录下来
$ sudo kill 2378 # 杀死刚才记录的进程号
$ sudo ntpdate cn.pool.ntp.org  # 再次更新


本文永久更新地址:http://www.linuxdiyf.com/linux/17697.html