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