我正在尝试使用以下命令同步 ubuntu 服务器上的时钟:
$sudo apt-get install ntp
$sudo service ntp stop
$sudo ntpd -gq
$sudo service ntp start
但无论如何它给了我:
$sudo ntptime
ntp_gettime() returns code 5 (ERROR)
time dd8ee7a9.ff3c9258 Mon, Oct 16 2017 8:09:13.997, (.997018034),
maximum error 16000000 us, estimated error 16000000 us, TAI offset 0
ntp_adjtime() returns code 5 (ERROR)
modes 0x0 (),
offset 0.000 us, frequency 275.646 ppm, interval 1 s,
maximum error 16000000 us, estimated error 16000000 us,
status 0x2041 (PLL,UNSYNC,NANO),
time constant 3, precision 0.001 us, tolerance 500 ppm,