2011-12-13 30 views
1

我很難在虛擬化(vmware)Linux Debian上配置NTP配置,所以我想知道是否有人遇到同樣的問題。通過虛擬化Debian的NTP

這裏是ntpq –np的輸出:

 remote   refid  st t when poll reach delay offset jitter 
============================================================================== 
200.160.7.193 .GPS.   1 u 49 64 377 174.755 -206752 2697.09 
200.192.112.8 200.19.119.69 2 u 60 64 377 175.449 -210848 4810.03 
200.11.116.1 146.164.48.5  2 u 29 64 377 186.574 -204942 3873.35 
200.160.0.8  200.160.7.186 2 u 31 64 377 173.895 -210291 3875.58 

這裏輸出:

localhost: stratum 16, offset 0.000000, synch distance 0.177945 

但是當我嘗試ntpdate我得到:

13 Dec 14:06:47 ntpdate[4056]: no servers can be used, exiting 

的任何線索問題是什麼?

回答

3

運行ntpdate時需要指定服務器名稱。在運行ntpdate之前,您還需要關閉ntpd。

試試這個(根):

/etc/init.d/ntp stop 
ntpdate pool.ntp.org 
/etc/init.d/ntp start 
+0

我只是嘗試了,我得到了: – Wilmer 2011-12-13 19:11:48