###実現したい事
FreeBSD11.1で1つだけのNTPサーバで簡易的な同期を取り、その後にNTPサーバを3つほど増やしてより正確な同期をとろうとしたのですが、ntpq -p コマンドで確認してみても
remote refid st t when poll reach delay offset jitter ============================================================================== 0.freebsd.pool. .POOL. 16 p - 64 0 0.000 0.000 0.000 +ntp1.jst.mfeed. 133.243.236.17 2 u 21 64 377 15.053 10.991 9.484 *masao.paina.net 131.113.192.40 2 u 64 64 377 19.930 2.405 6.523 +mail.moe.cat 10.84.87.146 2 u 65 64 377 16.018 8.353 9.515 +ntp-5.jonlight. 10.84.87.146 2 u 64 64 377 15.816 13.106 9.162 +x.ns.gin.ntt.ne 249.224.99.213 2 u 61 64 377 7.275 6.330 5.848
と1つのサーバしか表示されません。
それにntpdate ntp1.jst.mfeed.ad.jpコマンドを実行しても
3 Aug 19:10:16 ntpdate[57259]: the NTP socket is in use, exiting
のように表示されソケットが占有された状態になります。
rc.d/ntpd stopを実行してもntpd not running?
と表示されntpdが解放できません。
どうすれば3つのNTPサーバの同期がとれるのかわかる方回答お願いします。
###ntp.conf修正前
tos minclock 3 maxclock 6 pool 0.freebsd.pool.ntp.org iburst restrict default limited kod nomodify notrap noquery nopeer restrict -6 default limited kod nomodify notrap noquery nopeer restrict source limited kod nomodify notrap noquery restrict 127.0.0.1 restrict [::1] restrict 192.168.0.0 mask 255.255.0.0 noquery nomodify nopeer notrap server ntp1.jst.mfeed.ad.jp #server ntp2.jst.mfeed.ad.jp #server ntp3.jst.mfeed.ad.jp leapfile "/var/db/ntpd.leap-seconds.list" logfile /var/log/ntpd.log
###ntp.conf 修正後
tos minclock 3 maxclock 6 pool 0.freebsd.pool.ntp.org iburst restrict default limited kod nomodify notrap noquery nopeer restrict -6 default limited kod nomodify notrap noquery nopeer restrict source limited kod nomodify notrap noquery restrict 127.0.0.1 restrict [::1] restrict 192.168.0.0 mask 255.255.0.0 noquery nomodify nopeer notrap server ntp1.jst.mfeed.ad.jp server ntp2.jst.mfeed.ad.jp server ntp3.jst.mfeed.ad.jp leapfile "/var/db/ntpd.leap-seconds.list" logfile /var/log/ntpd.log
回答3件
あなたの回答
tips
プレビュー