ntpdate:no server suitable for synchronization found


Question:

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

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

Answer:

  解決辦法是,使用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.


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM