ntpdate 問題
root@jktn:~# /usr/sbin/ntpdate -u time.asia.apple.com | hwclock -w > /dev/null
Error : Name or service not known
1 Jun 22:48:07 ntpdate[9890]: can't find host time.asia.apple.com
1 Jun 22:48:07 ntpdate[9890]: no servers can be used, exiting
root@jktn:~# /usr/sbin/ntpdate -u 0.debian.pool.ntp.org
Error : Name or service not known
1 Jun 22:49:47 ntpdate[9899]: can't find host 0.debian.pool.ntp.org
1 Jun 22:49:47 ntpdate[9899]: no servers can be used, exiting
root@jktn:~# ping www.yahoo.com
ping: unknown host www.yahoo.com
近來不知為什麼有這個問題,不明所以,而且我的fw沒有block 53 和123 port。所以沒理由會unknown host.
不過用
# /usr/sbin/ntpdate-debian
就沒問題了。
Reference:
NTPDATE - no server suitable for synchronization found 修復
Comments