ubuntu 网络时间同步 安装ntp运行ntp同步到硬件问题the NTP socket is in use, exiting 安装ntp sudo apt-get install ntp 运行ntp sudo ntpdate cn.pool.ntp.org 同步到硬件 linux中包括硬件时间hwclock 和软件时间date sudo hwclock --systohc 问题 the NTP socket is in use, exiting $ ps -ef|grep ntp 找到相关的任务ID $sudo kill <ntp task id> 关掉相关任务