[FreeBSD-users-jp 95645] ntpdc timed out

Koh-ichi Ito kohi @ kkdlabs.jp
2016年 1月 28日 (木) 12:02:18 UTC


いとうと申します。

FreeBSD 10.2-RELEASE-p1 で SA-16:09.ntp に対応するため freebsd-update を
実行し、こんなことになるとは思いもよらなかったので適用前の状況は確認しな
かったんですが、/etc/rc.d/ntpd restart して、動作確認のために ntpdc を実
行したら

	kohi at sh$ ntpdc
	ntpdc> peer
	localhost: timed out, nothing received
	***Request timed out
	ntpdc>
	ntpdc> sysinfo
	localhost: timed out, nothing received
	***Request timed out
	ntpdc> quit

というエラーが出て動作しなくなってしまいました。ntpq は正常に応答し、同
期もとれていることが確認できています。

	kohi at sh$ ntpq -p
	     remote           refid      st t when poll reach   delay   offset
 jitter
	==============================================================================
	*ntp-b3.nict.go. .NICT.           1 u   43   64    3    8.476    0.508
  0.745

そのときのサーバ側の様子は

	root at sh:/tmp # cat /tmp/fullopen.conf
	restrict default
	
	server ntp.nict.jp
	root at sh:/tmp # /usr/sbin/ntpd -n -c /tmp/fullopen.conf
	28 Jan 20:37:09 ntpd[73030]: ntpd 4.2.8p6-a (1): Starting
	28 Jan 20:37:09 ntpd[73030]: Command line: /usr/sbin/ntpd -n -c
/tmp/fullopen.conf
	28 Jan 20:37:09 ntpd[73030]: proto: precision = 0.209 usec (-22)
	28 Jan 20:37:09 ntpd[73030]: Listen and drop on 0 v6wildcard [::]:123
	28 Jan 20:37:09 ntpd[73030]: Listen and drop on 1 v4wildcard 0.0.0.0:123
	28 Jan 20:37:09 ntpd[73030]: Listen normally on 2 re0 10.2.255.241:123
	28 Jan 20:37:09 ntpd[73030]: Listen normally on 3 lo0 [::1]:123
	28 Jan 20:37:09 ntpd[73030]: Listen normally on 4 lo0 [fe80::1%2]:123
	28 Jan 20:37:09 ntpd[73030]: Listen normally on 5 lo0 127.0.0.1:123
	28 Jan 20:37:09 ntpd[73030]: Listening on routing socket on fd #26 for
interface updates

です。

# 切り分けのために甘い設定で動かしましたが、常用の設定はもっと閉めてい
ます、念のため。

ntpq がつながって同期がとれていることも確認できているので、あまり深く気
にせず軽い気持ちで訊いちゃいますけど、みなさんのところでは、こんな事象、
出ていませんか?
-- 
kkdlabs.jp, featuring Koh-ichi Ito as just another DNS freak in town.


freebsd-users-jp メーリングリストの案内