ntpdate:no server suitable for synchronization found

Question:ui

  在使用ntpdate同步時間時,出現了no server suitable for synchronization found的報錯。spa

  經過ntpdate -d s2m.time.edu.cn 使用debug模式沒有出現異常。debug

Answer:server

  解決辦法是,使用ntpdate -ubv s2m.time.edu.cn 能夠正常同步了。主要是-u選項的做用同步

  -u:Direct ntpdate to use an unprivileged port for outgoing packets. This is most useful when behind a firewall that blocks incoming traffic to privileged ports, and you want to synchronize with hosts beyond the firewall. Note that the -d option always uses unprivileged ports.it

相關文章
相關標籤/搜索