NTP ouve IP de transmissão

1

Nós restringimos o NTP para ouvir apenas eth0 e o resto deve ser ignorado. No entanto, podemos ver que, depois de fazer alterações no ntp.conf, ele está tentando escutar broadcast e não vincular endereço com erro inesperado.

ntpd[89217]: ./../lib/isc/unix/ifiter_ioctl.c:617: unexpected error:
ntpd[89217]: eth2:6: getting broadcast address: Cannot assign requested address
ntpd[89217]: i/o error on routing socket No buffer space available – disabling
ntpd[5410]: ./../lib/isc/unix/ifiter_ioctl.c:617: unexpected error:
ntpd[5410]: eth3.1238:0: getting broadcast address: Cannot assign requested address
ntpd[5410]: ntpd exiting on signal 15
ntpd[1508]: ntpd exiting on signal 15

Abaixo está o ntp.conf do servidor do cliente: -

cat ntp.conf

fudge 127.127.1.0 stratum 10

Authentication stuff

keys /etc/ntp.keys
path for keys file
trustedkey 1
define trusted keys
requestkey 1
server 172.23.5.8 iburst
server 172.23.5.9 iburst
restrict 172.23.5.8
restrict 172.23.5.9
key (7) for accessing server variables
controlkey 15 # key (6) for accessing server variables
extra lines to fix issue about NTP Daemon
interface listen eth0
interface ignore wildcard

Este é o arquivo de log / var / lib / NTP que você pode ver.

27 Sep 10:30:17 ntpd[89217]: ./../lib/isc/unix/ifiter_ioctl.c:617: unexpected error:
27 Sep 10:30:17 ntpd[89217]: eth2:6: getting broadcast address: Cannot assign requested address
27 Sep 10:30:17 ntpd[89217]: i/o error on routing socket No buffer space available - disabling
11 Oct 13:12:46 ntpd[5410]: ./../lib/isc/unix/ifiter_ioctl.c:617: unexpected error:
11 Oct 13:12:46 ntpd[5410]: eth3.1238:0: getting broadcast address: Cannot assign requested address
11 Oct 13:13:23 ntpd[5410]: ./../lib/isc/unix/ifiter_ioctl.c:617: unexpected error:
11 Oct 13:13:23 ntpd[5410]: eth3.1277:0: getting broadcast address: Cannot assign requested address
11 Oct 13:13:41 ntpd[5410]: i/o error on routing socket No buffer space available - disabling
13 Oct 21:11:05 ntpd[5410]: ntpd exiting on signal 15
13 Oct 20:50:18 ntpd[1508]: ntpd exiting on signal 15
13 Oct 22:49:52 ntpd[113345]: LOCAL(0) 8011 81 mobilize assoc 35168
13 Oct 22:49:52 ntpd[113345]: 172.23.5.8 8011 81 mobilize assoc 35169
13 Oct 22:49:52 ntpd[113345]: 172.23.5.9 8011 81 mobilize assoc 35170
13 Oct 22:49:52 ntpd[113345]: 0.0.0.0 c016 06 restart
13 Oct 22:49:52 ntpd[113345]: 0.0.0.0 c012 02 freq_set kernel -22.705 PPM
13 Oct 20:49:53 ntpd[113345]: LOCAL(0) 8024 84 reachable
13 Oct 20:49:53 ntpd[113345]: LOCAL(0) 963a 8a sys_peer
13 Oct 20:49:53 ntpd[113345]: 0.0.0.0 c515 05 clock_sync
13 Oct 20:49:54 ntpd[113345]: 172.23.5.8 8024 84 reachable
13 Oct 20:49:55 ntpd[113345]: 172.23.5.9 8024 84 reachable
13 Oct 20:50:57 ntpd[113345]: 172.23.5.9 963a 8a sys_peer
13 Oct 20:53:18 ntpd[113345]: LOCAL(0) 961a 8a sys_peer
13 Oct 20:59:48 ntpd[113345]: ntpd exiting on signal 15
13 Oct 22:59:40 ntpd[122930]: LOCAL(0) 8011 81 mobilize assoc 21051
13 Oct 22:59:40 ntpd[122930]: 172.23.5.8 8011 81 mobilize assoc 21052
13 Oct 22:59:40 ntpd[122930]: 172.23.5.9 8011 81 mobilize assoc 21053
13 Oct 22:59:40 ntpd[122930]: 0.0.0.0 c016 06 restart
13 Oct 22:59:40 ntpd[122930]: 0.0.0.0 c012 02 freq_set kernel -22.705 PPM
13 Oct 20:59:41 ntpd[122930]: LOCAL(0) 8024 84 reachable
13 Oct 20:59:41 ntpd[122930]: LOCAL(0) 963a 8a sys_peer
13 Oct 20:59:41 ntpd[122930]: 0.0.0.0 c515 05 clock_sync
13 Oct 21:00:39 ntpd[122930]: ntpd exiting on signal 15
13 Oct 23:00:39 ntpd[124181]: LOCAL(0) 8011 81 mobilize assoc 30350
13 Oct 23:00:39 ntpd[124181]: 172.23.5.8 8011 81 mobilize assoc 30351
13 Oct 23:00:39 ntpd[124181]: 172.23.5.9 8011 81 mobilize assoc 30352
13 Oct 23:00:39 ntpd[124181]: 0.0.0.0 c016 06 restart
13 Oct 23:00:39 ntpd[124181]: 0.0.0.0 c012 02 freq_set kernel -22.705 PPM
13 Oct 21:00:40 ntpd[124181]: LOCAL(0) 8024 84 reachable
13 Oct 21:00:40 ntpd[124181]: LOCAL(0) 963a 8a sys_peer
13 Oct 21:00:40 ntpd[124181]: 0.0.0.0 c515 05 clock_sync
13 Oct 21:00:41 ntpd[124181]: 172.23.5.8 8024 84 reachable
13 Oct 21:00:42 ntpd[124181]: 172.23.5.9 8024 84 reachable
13 Oct 21:01:44 ntpd[124181]: 172.23.5.9 963a 8a sys_peer
13 Oct 21:05:11 ntpd[124181]: LOCAL(0) 961a 8a sys_peer
13 Oct 21:16:23 ntpd[124181]: i/o error on routing socket No buffer space available - disabling
13 Oct 21:28:42 ntpd[124181]: ntpd exiting on signal 15
13 Oct 23:32:35 ntpd[5438]: LOCAL(0) 8011 81 mobilize assoc 54508
13 Oct 23:32:35 ntpd[5438]: 172.23.5.8 8011 81 mobilize assoc 54509
13 Oct 23:32:35 ntpd[5438]: 172.23.5.9 8011 81 mobilize assoc 54510
13 Oct 23:32:35 ntpd[5438]: 0.0.0.0 c016 06 restart
13 Oct 23:32:35 ntpd[5438]: 0.0.0.0 c012 02 freq_set kernel -22.705 PPM
13 Oct 21:32:36 ntpd[5438]: LOCAL(0) 8024 84 reachable
13 Oct 21:32:36 ntpd[5438]: LOCAL(0) 963a 8a sys_peer
13 Oct 21:32:36 ntpd[5438]: 0.0.0.0 c515 05 clock_sync
13 Oct 21:32:37 ntpd[5438]: 172.23.5.8 8024 84 reachable
13 Oct 21:32:38 ntpd[5438]: 172.23.5.9 8024 84 reachable
13 Oct 21:33:40 ntpd[5438]: 172.23.5.9 963a 8a sys_peer
13 Oct 21:37:05 ntpd[5438]: 172.23.5.8 943d 8d popcorn 0.011376 s
13 Oct 21:40:30 ntpd[5438]: 172.23.5.9 964d 8d popcorn 0.013156 s
13 Oct 21:42:12 ntpd[5438]: LOCAL(0) 8043 83 unreachable

Espero que você tenha algo.

Algum corpo pode me dizer como corrigir esse erro?

    
por Sumit Gemini 20.10.2016 / 08:53

0 respostas