###実現したい事
FreeBSD11.1で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
###現状
ntpq -p
コマンドを実行しても
No association ID's returned
と表示される。
ntpdate ntp1.jst.mfeed.ad.jp
を実行すると
27 Aug 17:23:17 ntpdate[1284]: the NTP socket is in use, exiting
と表示される。
ntpd
コマンドを実行後
less /var/log/ntpd.log
でログを確認すると
27 Aug 17:25:43 ntpd[1289]: unable to bind to wildcard address :: - another pro cess may be running - EXITING
と表示され、ソケットが占有されてる。
ntpdを殺すために
killall ntpd
を実行後
/etc/rc.d/ntpd start
でスタートしてntpq -pを実行してみても
No association ID's returned
と表示されてしまいます。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。