Dear All, I got the problem, my NTP server can not synchronize with external NTP server.
*r...@ntpserver:~# ntpdate -d 2.id.pool.ntp.org 7 Jan 10:24:37 ntpdate[1779]: ntpdate [email protected] Thu Oct 22 21:58:39 UTC 2009 (1) transmit(110.92.72.250) transmit(202.162.32.12) transmit(110.92.72.250) transmit(202.162.32.12) transmit(110.92.72.250) transmit(202.162.32.12) transmit(110.92.72.250) transmit(202.162.32.12) transmit(110.92.72.250) transmit(202.162.32.12) 110.92.72.250: Server dropped: no data 202.162.32.12: Server dropped: no data server 110.92.72.250, port 123 stratum 0, precision 0, leap 00, trust 000 refid [110.92.72.250], delay 0.00000, dispersion 64.00000 transmitted 4, in filter 4 reference time: 00000000.00000000 Thu, Feb 7 2036 13:28:16.000 originate timestamp: 00000000.00000000 Thu, Feb 7 2036 13:28:16.000 transmit timestamp: ceefd27a.26281344 Thu, Jan 7 2010 10:24:42.149 filter delay: 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 filter offset: 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 delay 0.00000, dispersion 64.00000 offset 0.000000 server 202.162.32.12, port 123 stratum 0, precision 0, leap 00, trust 000 refid [202.162.32.12], delay 0.00000, dispersion 64.00000 transmitted 4, in filter 4 reference time: 00000000.00000000 Thu, Feb 7 2036 13:28:16.000 originate timestamp: 00000000.00000000 Thu, Feb 7 2036 13:28:16.000 transmit timestamp: ceefd27a.595aaf78 Thu, Jan 7 2010 10:24:42.349 filter delay: 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 filter offset: 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 delay 0.00000, dispersion 64.00000 offset 0.000000 7 Jan 10:24:43 ntpdate[1779]: no server suitable for synchronization found r...@ntpserver:~# r...@ntpserver:~# ntpq -p remote refid st t when poll reach delay offset jitter ============================================================================== time.ntp-ix.net .INIT. 16 u - 64 0 0.000 0.000 0.000 suisho.attritio .INIT. 16 u - 64 0 0.000 0.000 0.000 122.226.192.4 .INIT. 16 u - 64 0 0.000 0.000 0.000 r...@ntpserver:~# * Below is configuration on ntp.conf *# /etc/ntp.conf, configuration for ntpd; see ntp.conf(5) for help logfile /var/log/ntpd driftfile /var/lib/ntp/ntp.drift # Enable this if you want statistics to be logged. statsdir /var/log/ntpstats/ statistics loopstats peerstats clockstats filegen loopstats file loopstats type day enable filegen peerstats file peerstats type day enable filegen clockstats file clockstats type day enable # You do need to talk to an NTP server or two (or three). #server ntp.ubuntu.com server 2.id.pool.ntp.org server 1.asia.pool.ntp.org server 0.asia.pool.ntp.org # Access control configuration; see /usr/share/doc/ntp-doc/html/accopt.html for # details. The web page < http://support.ntp.org/bin/view/Support/AccessRestrictions> # might also be helpful. # # Note that "restrict" applies to both servers and clients, so a configuration # that might be intended to block requests from certain clients could also end # up blocking replies from your own upstream servers. # By default, exchange time with everybody, but don't allow configuration. restrict -4 default kod notrap nomodify nopeer noquery restrict -6 default kod notrap nomodify nopeer noquery # Local users may interrogate the ntp server more closely. restrict 127.0.0.1 restrict ::1 # Clients from this (example!) subnet have unlimited access, but only if # cryptographically authenticated. #restrict 192.168.123.0 mask 255.255.255.0 notrust # If you want to provide time to your local subnet, change the next line. # (Again, the address is an example only.) #broadcast 192.168.123.255 # If you want to listen to time broadcasts on your local subnet, de-comment the # next lines. Please do this only if you trust everybody on the network! #disable auth #broadcastclient * Below is content of /var/log/ntpd *7 Jan 10:24:18 ntpd[1746]: ntpd exiting on signal 15 7 Jan 10:26:07 ntpd[1791]: frequency initialized 0.000 PPM from /var/lib/ntp/ntp.drift* How to solve the problem? How to make sure more that my NTP server have run normally, besides my method above? Thanks, nast _______________________________________________ questions mailing list [email protected] http://lists.ntp.org/listinfo/questions
