こんにちは 奥井です
便乗質問させてください
先週
ファイルサーバのHDがクラッシュしたので新しいHDに交換しました。ついでにVIneを2.6r4から3.1にしました。
このサーバは家のタイムサーバとしても動かしていたので以前と同様にntp.confを設定したらntpq -pの結果がへんで、クライアントPCも
同期がとれませんでした。
タイムサーバ(192.168.1.2) ntp.conf
resrict default ignore
restrict 127.0.0.1
restrict 192.168.1.0 mask 255.255.255.0 notrust nomodify notrap
restrict 134.180.49.243 mask 255.255.255.255 nomodify notrap noquery
restrict 210.173.160.27 mask 255.255.255.255 nomodufy notrap noquery
restrict 210.173.160.57 mask 255.255.255.255 nomodify notrap noquery
server 134.180.49.243
server 210.173.160.27
server 210.173.160.57
server 127.127.1.0 # local clock
fudge 127.127.1.0 stratum 10
driftfile /etc/ntp/drift
logfile /var/log/ntp.log
multicastclient # listen on default 224.0.1.1
broadcastdelay 0.008
クライアントPC ntp.conf (Vine3.1)
restrict default ignore
restrict 127.0.0.1
restrict 192.168.1.2 mask 255.255.255.255 nomodify notrap noquery
server 192.168.1.2
server 127.127.1.0 # local clock
fudge 127.127.1.0 stratum 10
driftfile /etc/ntp/drift
logfile /var/log/ntp.log
multicastclient # listen on default 224.0.1.1
broadcastdelay 0.008
タイムサーバの ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
+***.***.**.*** 192.168.196.2 3 u 28 64 377 14.443 235.786 19.743
ntp1.jst.mfeed. .INIT. 16 u - 128 0 0.000 0.000 4000.00
*ntp2.jst.mfeed. 210.173.160.86 2 u 25 64 377 21.937 211.895 24.412
LOCAL(0) LOCAL(0) 10 l 23 64 377 0.000 0.000 0.001
***.***.**.***はプロバイダのタイムサーバなので一応伏字にしてます
クライアントPCの ntpq -pn
remote refid st t when poll reach delay offset jitter
==============================================================================
192.168.1.2 .INIT. 16 u - 1024 0 0.000 0.000 4000.00
*127.127.1.0 LOCAL(0) 10 l 65 64 377 0.000 0.000 0.001
この時のタイムサーバのntp.logに以下のようなメっサージがありました。以前(Vine2.6r4)にはありませんでした。
configure: keyword "authenticate" unknown, line ignored
それでタイムサーバのntp-4.2.0-0vl3をvine2.6r4のntp-4.1.1-0vl1にもどしてみました。
タイムサーバの ntpq -p (ntp-4.1.1-0vl1)
remote refid st t when poll reach delay offset jitter
==============================================================================
+***.***.**.*** 192.168.196.2 3 u 56 64 377 15.199 -28.140 0.492
*ntp1.jst.mfeed. fs-monntp1.mfee 2 u 53 64 377 24.114 -19.277 0.027
+ntp2.jst.mfeed. fs-monntp2.mfee 2 u 53 64 377 23.073 -19.223 0.618
LOCAL(0) LOCAL(0) 10 l 45 64 377 0.000 0.000 0.008
タイムサーバntpd変更後のクライアントPCの ntpq -pn
remote refid st t when poll reach delay offset jitter
==============================================================================
*192.168.1.2 210.173.160.27 3 u 10 64 377 0.197 -10940. 7.345
127.127.1.0 LOCAL(0) 10 l 8 64 377 0.000 0.000 0.001
クライアントPCはntp-4.2.0-0vl3のままで正常に戻りましたがタイムサーバ側はntp-4.1.1-0vl1でないと正常に動作しませんでした。
これはなにかntp.confの設定ミスのせいでしょうか?
ご助言お願いします。