#restrict default nomodify notrap noquery restrict ignore # Permit all access over the loopback interface. This could # be tightened as well, but to do so would effect some of # the administrative functions. restrict 127.0.0.1 # --- OUR TIMESERVERS ----- #server 0.pool.ntp.org #server 1.pool.ntp.org #server 2.pool.ntp.org server clock.nc.fukuoka-u.ac.jp server clock.tl.fukuoka-u.ac.jp
# /usr/sbin/ntpdate clock.nc.fukuoka-u.ac.jp 28 Feb 16:25:05 ntpdate[22426]: the NTP socket is in use, exiting
# /etc/rc.d/init.d/ntpd start
# /usr/sbin/ntpq -p remote refid st t when poll reach delay offset jitter ============================================================================== +clock.nc.fukuok .GPS. 1 u 250 1024 377 45.405 4.656 2.495 *clock.tl.fukuok .GPS. 1 u 345 1024 377 42.079 6.418 0.605 LOCAL(0) LOCAL(0) 10 l 35 64 377 0.000 0.000 0.004
# /etc/rc.d/init.d/ntpd start
# chkconfig ntpd on
# /usr/sbin/ntpdate -b 自分で立てたサーバIP
0 12 * * * /usr/sbin/ntpdate -b 192.168.0.10