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