#/usr/sbin/ntpdate pool.ntp.org
Name server cannot be used, exiting27 Nov 23:41:32 ntpdate[3612]: name server cannot be used, reason: Temporary failure in name resolution
解决方法:设置DNS服务器
#echo "nameserver 8.8.8.8" 〉 /etc/resolv.conf 根据本身实际环境修改 #ntpdate pool.ntp.org 27 Nov 23:47:40 ntpdate[4145]: adjust time server 202.112.31.197 offset -0.481976 sec # /etc/init.d/ntpd start 正在启动 ntpd: [肯定]