5/10/2011

ntp time sync ubuntu

you will get this error

gyuan@zen:~$ sudo ntpdate
10 May 14:17:31 ntpdate[14675]: no servers can be used, exiting
The solution


gyuan@zen:~$ sudo /etc/init.d/ntp stop
 * Stopping NTP server ntpd                                              [ OK ]
gyuan@zen:~$ sudo ntpdate-debian
10 May 14:15:10 ntpdate[14624]: adjust time server 91.189.94.4 offset 0.000043 sec

没有评论: