LINUX.ORG.RU
решено ФорумAdmin

На прокси пропадает интернет в будние дни.

 драйвера реалтек,


0

1

Здравствуйте. Понимаю что тем таких много в интернете. К сожалению у меня не хватает знаний чтобы понять причину и расшифровать логи—почему падает сетевая карта. Потому прошу помощи у знающих.

Есть компьютер раздающий интернет с двумя сетевыми картами:eth0 и eth1. Eth0 с белым айпи смотрит в интернет, а eth1 раздаёт интернет в подсети.

Три дня интернет на eth0 пропадал примерно в 10 и в 16 часов. На четвёртый и пятый день интернет на eth0 пропал в 11:30. Работать интернет начинает когда перезагружу сетевые интерфейсы.

Система

linux 3.13.0.117-generic #164-precise1-Ubuntu x86_64 Gnu/Linux
Вырезка из syslog

Aug  3 12:01:36 proxy NetworkManager[1100]: <info> (eth0): device state change: activated -> disconnected (reason 'user-requested') [100 30 39]
Aug  3 12:01:36 proxy NetworkManager[1100]: <info> (eth0): deactivating device (reason 'user-requested') [39]
Aug  3 12:01:36 proxy NetworkManager[1100]: nm_netlink_get_nh: assertion `hops > 0' failed
Aug  3 12:01:36 proxy NetworkManager[1100]: rtnl_route_get_oif: assertion `nh' failed
Aug  3 12:01:36 proxy avahi-daemon[1086]: Withdrawing address record for 188.18.0.138 on eth0.
Aug  3 12:01:36 proxy avahi-daemon[1086]: Leaving mDNS multicast group on interface eth0.IPv4 with address 188.18.0.138.
Aug  3 12:01:36 proxy avahi-daemon[1086]: Interface eth0.IPv4 no longer relevant for mDNS.
Aug  3 12:01:36 proxy NetworkManager[1100]: <info> (eth0): writing resolv.conf to /sbin/resolvconf
Aug  3 12:01:36 proxy dnsmasq[1427]: setting upstream servers from DBus
Aug  3 12:01:36 proxy dnsmasq[1427]: using nameserver 193.58.251.251#53
Aug  3 12:01:36 proxy dbus[1039]: [system] Activating service name='org.freedesktop.nm_dispatcher' (using servicehelper)
Aug  3 12:01:36 proxy dbus[1039]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Aug  3 12:01:37 proxy NetworkManager[1100]: <info> (eth1): device state change: activated -> disconnected (reason 'user-requested') [100 30 39]
Aug  3 12:01:37 proxy NetworkManager[1100]: <info> (eth1): deactivating device (reason 'user-requested') [39]
Aug  3 12:01:37 proxy NetworkManager[1100]: nm_netlink_get_nh: assertion `hops > 0' failed
Aug  3 12:01:37 proxy NetworkManager[1100]: rtnl_route_get_oif: assertion `nh' failed
Aug  3 12:01:37 proxy avahi-daemon[1086]: Withdrawing address record for 172.25.10.2 on eth1.
Aug  3 12:01:37 proxy avahi-daemon[1086]: Leaving mDNS multicast group on interface eth1.IPv4 with address 172.25.10.2.
Aug  3 12:01:37 proxy avahi-daemon[1086]: Interface eth1.IPv4 no longer relevant for mDNS.
Aug  3 12:01:37 proxy NetworkManager[1100]: <warn> DNS: plugin dnsmasq update failed
Aug  3 12:01:37 proxy NetworkManager[1100]: <info> (eth1): removing resolv.conf from /sbin/resolvconf
Aug  3 12:01:37 proxy dnsmasq[1427]: setting upstream servers from DBus
Aug  3 12:01:38 proxy squid3: Cannot open HTTP Port
Aug  3 12:01:38 proxy kernel: [14758.547140] init: squid3 main process (5848) terminated with status 1
Aug  3 12:01:38 proxy kernel: [14758.547160] init: squid3 main process ended, respawning
Aug  3 12:01:38 proxy squid3: Cannot open HTTP Port
Aug  3 12:01:38 proxy kernel: [14758.901857] init: squid3 main process (7987) terminated with status 1
Aug  3 12:01:38 proxy kernel: [14758.901881] init: squid3 main process ended, respawning
Aug  3 12:01:38 proxy squid3: Cannot open HTTP Port
Aug  3 12:01:38 proxy kernel: [14759.261369] init: squid3 main process (7994) terminated with status 1
Aug  3 12:01:38 proxy kernel: [14759.261398] init: squid3 main process ended, respawning
Aug  3 12:01:39 proxy squid3: Cannot open HTTP Port
Aug  3 12:01:39 proxy kernel: [14759.620863] init: squid3 main process (8001) terminated with status 1
Aug  3 12:01:39 proxy kernel: [14759.620891] init: squid3 main process ended, respawning
Aug  3 12:01:39 proxy NetworkManager[1100]: <info> Activation (eth1) starting connection 'Проводное соединение 1'
Aug  3 12:01:39 proxy NetworkManager[1100]: <info> (eth1): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Aug  3 12:01:39 proxy NetworkManager[1100]: <info> Activation (eth1) Stage 1 of 5 (Device Prepare) scheduled...
Aug  3 12:01:39 proxy NetworkManager[1100]: <info> Activation (eth1) Stage 1 of 5 (Device Prepare) started...
Aug  3 12:01:39 proxy NetworkManager[1100]: <info> Activation (eth1) Stage 2 of 5 (Device Configure) scheduled...
Aug  3 12:01:39 proxy NetworkManager[1100]: <info> Activation (eth1) Stage 1 of 5 (Device Prepare) complete.
Aug  3 12:01:39 proxy NetworkManager[1100]: <info> Activation (eth1) Stage 2 of 5 (Device Configure) starting...
Aug  3 12:01:39 proxy NetworkManager[1100]: <info> (eth1): device state change: prepare -> config (reason 'none') [40 50 0]
Aug  3 12:01:39 proxy NetworkManager[1100]: <info> Activation (eth1) Stage 2 of 5 (Device Configure) successful.
Aug  3 12:01:39 proxy NetworkManager[1100]: <info> Activation (eth1) Stage 3 of 5 (IP Configure Start) scheduled.
Aug  3 12:01:39 proxy NetworkManager[1100]: <info> Activation (eth1) Stage 2 of 5 (Device Configure) complete.
Aug  3 12:01:39 proxy NetworkManager[1100]: <info> Activation (eth1) Stage 3 of 5 (IP Configure Start) started...
Aug  3 12:01:39 proxy NetworkManager[1100]: <info> (eth1): device state change: config -> ip-config (reason 'none') [50 70 0]
Aug  3 12:01:39 proxy NetworkManager[1100]: <info> Activation (eth1) Stage 5 of 5 (IPv4 Configure Commit) scheduled...
Aug  3 12:01:39 proxy NetworkManager[1100]: <info> Activation (eth1) Stage 3 of 5 (IP Configure Start) complete.
Aug  3 12:01:39 proxy NetworkManager[1100]: <info> Activation (eth1) Stage 5 of 5 (IPv4 Commit) started...
Aug  3 12:01:39 proxy avahi-daemon[1086]: Joining mDNS multicast group on interface eth1.IPv4 with address 172.25.10.2.
Aug  3 12:01:39 proxy avahi-daemon[1086]: New relevant interface eth1.IPv4 for mDNS.
Aug  3 12:01:39 proxy avahi-daemon[1086]: Registering new address record for 172.25.10.2 on eth1.IPv4.
Aug  3 12:01:39 proxy drweb-update[7792]: Zone ANTISPAM: No update servers available
Aug  3 12:01:39 proxy drweb-update[7792]: Exit with status 94 (No update servers available)
Aug  3 12:01:40 proxy NetworkManager[1100]: nm_netlink_get_nh: assertion `hops > 0' failed
Aug  3 12:01:40 proxy NetworkManager[1100]: rtnl_route_get_oif: assertion `nh' failed
Aug  3 12:01:40 proxy NetworkManager[1100]: <info> (eth1): writing resolv.conf to /sbin/resolvconf
Aug  3 12:01:40 proxy dnsmasq[1427]: setting upstream servers from DBus
Aug  3 12:01:40 proxy dnsmasq[1427]: using nameserver 193.58.251.251#53
Aug  3 12:01:40 proxy NetworkManager[1100]: <info> (eth1): device state change: ip-config -> activated (reason 'none') [70 100 0]
Aug  3 12:01:40 proxy NetworkManager[1100]: <info> Activation (eth1) successful, device activated.
Aug  3 12:01:40 proxy NetworkManager[1100]: <info> Activation (eth1) Stage 5 of 5 (IPv4 Commit) complete.
Aug  3 12:01:40 proxy ntpdate[8073]: Can't find host ntp.ubuntu.com: Name or service not known (-2)
Aug  3 12:01:40 proxy ntpdate[8073]: no servers can be used, exiting
Aug  3 12:01:41 proxy NetworkManager[1100]: <info> Activation (eth0) starting connection 'Wired connection 1'
Aug  3 12:01:41 proxy NetworkManager[1100]: <info> (eth0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Aug  3 12:01:41 proxy NetworkManager[1100]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) scheduled...
Aug  3 12:01:41 proxy NetworkManager[1100]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) started...
Aug  3 12:01:41 proxy NetworkManager[1100]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) scheduled...
Aug  3 12:01:41 proxy NetworkManager[1100]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) complete.
Aug  3 12:01:41 proxy NetworkManager[1100]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) starting...
Aug  3 12:01:41 proxy NetworkManager[1100]: <info> (eth0): device state change: prepare -> config (reason 'none') [40 50 0]
Aug  3 12:01:41 proxy NetworkManager[1100]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) successful.
Aug  3 12:01:41 proxy NetworkManager[1100]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) scheduled.
Aug  3 12:01:41 proxy NetworkManager[1100]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) complete.
Aug  3 12:01:41 proxy NetworkManager[1100]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) started...
Aug  3 12:01:41 proxy NetworkManager[1100]: <info> (eth0): device state change: config -> ip-config (reason 'none') [50 70 0]
Aug  3 12:01:41 proxy NetworkManager[1100]: <info> Activation (eth0) Stage 5 of 5 (IPv4 Configure Commit) scheduled...
Aug  3 12:01:41 proxy NetworkManager[1100]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) complete.
Aug  3 12:01:41 proxy NetworkManager[1100]: <info> Activation (eth0) Stage 5 of 5 (IPv4 Commit) started...
Aug  3 12:01:41 proxy avahi-daemon[1086]: Joining mDNS multicast group on interface eth0.IPv4 with address 188.18.0.138.
Aug  3 12:01:41 proxy avahi-daemon[1086]: New relevant interface eth0.IPv4 for mDNS.
Aug  3 12:01:41 proxy avahi-daemon[1086]: Registering new address record for 188.18.0.138 on eth0.IPv4.
Aug  3 12:01:42 proxy NetworkManager[1100]: nm_netlink_get_nh: assertion `hops > 0' failed
Aug  3 12:01:42 proxy NetworkManager[1100]: rtnl_route_get_oif: assertion `nh' failed
Aug  3 12:01:42 proxy NetworkManager[1100]: <info> (eth0): writing resolv.conf to /sbin/resolvconf
Aug  3 12:01:42 proxy dnsmasq[1427]: setting upstream servers from DBus
Aug  3 12:01:42 proxy dnsmasq[1427]: using nameserver 193.58.251.251#53
Aug  3 12:01:42 proxy dnsmasq[1427]: using nameserver 193.58.251.251#53
Aug  3 12:01:42 proxy NetworkManager[1100]: <info> (eth0): device state change: ip-config -> activated (reason 'none') [70 100 0]
Aug  3 12:01:42 proxy NetworkManager[1100]: <info> (eth0): writing resolv.conf to /sbin/resolvconf
Aug  3 12:01:42 proxy dnsmasq[1427]: setting upstream servers from DBus
Aug  3 12:01:42 proxy dnsmasq[1427]: using nameserver 193.58.251.251#53
Aug  3 12:01:42 proxy dnsmasq[1427]: using nameserver 193.58.251.251#53
Aug  3 12:01:42 proxy NetworkManager[1100]: <info> Policy set 'Wired connection 1' (eth0) as default for IPv4 routing and DNS.
Aug  3 12:01:42 proxy NetworkManager[1100]: <info> Activation (eth0) successful, device activated.
Aug  3 12:01:42 proxy NetworkManager[1100]: <info> Activation (eth0) Stage 5 of 5 (IPv4 Commit) complete.

Возможно поможет вывод dmesg

 [   23.615227] init: squid3 main process ended, respawning
[   26.866286] init: squid3 main process (1565) killed by HUP signal
[   26.866302] init: squid3 main process ended, respawning
[   38.972361] device eth0 entered promiscuous mode
[   45.310557] Netfilter messages via NETLINK v0.30.
[   45.369659] ctnetlink v0.93: registering with nfnetlink.
[   52.909042] init: plymouth-stop pre-start process (2762) terminated with status 1
[69536.546358] device eth0 left promiscuous mode
[69538.231656] device eth0 entered promiscuous mode
[72666.550399] perf samples too long (2513 > 2500), lowering kernel.perf_event_max_sample_rate to 50000

Почему-то не работает тег

и спойлер не появляется.

Перемещено Shaman007 из ubuntu



Последнее исправление: AntonGS (всего исправлений: 2)

В форум! Это раздел для новостей!

Korchevatel ★★★★★
()

Ты ещё скажи, что у тебя GUI на proxy...

NetworkManager и avahi-daemon выкинь на мороз и настрой интерфейсы нормально для начала.

dhameoelin ★★★★★
()
10 сентября 2018 г.

Проблема решилась

Виновником сбоя в интернете стал доктор веб.

AntonGS
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.