###実現したいこと
FreeBSD11.1でNTPサーバの時刻を同期させたいのですが、どうにも上手くいきません。
ntpq -p
コマンドを実行しても、
No association ID's returned
と表示され、
ntpd
コマンドを実行した後にless /var/log/ntpd.logを確認しても、
2 Aug 18:28:43 ntpd[53580]: unable to bind to wildcard address :: - another pro cess may be running - EXITING
と表示され同期が上手くいきません。解決策が分かる方回答お願いします。
### 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
###rc.confの内容
ntpd_enable="YES" ntpd_program="/usr/sbin/ntpd" ntpd_config="/etc/ntpd.conf" ntpd_sync_on_start="NO" ntpd_flags="-p /var/run/ntpd.pid -f /var/db/ntpd.drift"
###試したこと
調べるとrestartすると上手くいったと言うのを見かけたので、/etc/rc.d/ntpd restartでリスタートしてみたのですが、ログを見ても結果は変わらず出した。その他にもAuto keyを無効にすると解決すると言うのも見かけたのですが、調べてもAuto keyを無効にする方法が分からなかったので、完全に手詰まりな状況です。
###ntpdate ntp1.jst.mfeed.ad.jpの結果
3 Aug 19:10:16 ntpdate[57259]: the NTP socket is in use, exiting
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/08/03 10:12
2018/08/03 10:30
2018/08/03 10:43 編集
2018/08/03 10:53
2018/08/03 11:07
2018/08/03 11:41