使用ntpdate命令同步linux系统时间,如果报了这个错误,可以尝试以下几个服务器:
注意:先要确定,系统确实可以上网,ping baidu.com 能通就行
直接在命令行输入以下任一命令回车即可
方法一:ntpdate time.nuri.net
方法二:ntpdate /usr/sbin/ntpdate stdtime.gov.hk
方法三:ntpdate time.nist.gov
方法四:ntpdate 0.asia.pool.ntp.org
方法五:ntpdate 1.asia.pool.ntp.org
方法六:ntpdate 2.asia.pool.ntp.org
方法七:ntpdate 3.asia.pool.ntp.org
出现下面的显示表示时间同步成功
15 Apr 13:33:15 ntpdate[510]: adjust time server 211.115.194.21 offset 0.001994 sec