Monday, October 22, 2007

ntpdate error: No Server suitable for synchronization found

主要是ntpd server的iptables把udp的123端口关了,局域网内其他机器无法访问到Server,所以才会报No Server suitable for synchronization found这个错误。

打开此udp端口重启iptables后用/usr/sbin/ntpdate ntp-server-address; /sbin/hwclock -w命令即可,当然client端最好是做个Crontab定时跑一下这个命令,同步时间。

No comments :