dexter Posted September 28, 2017 Share Posted September 28, 2017 Есть Ентваре 3х на Ультра 2 с крайней 2.11. Установил пакет BIND 9.11.2 из репы. При запуске получил такие ошибки Скрытый текст Sep 28 20:02:19named[21035]starting BIND 9.11.2 <id:0a2b929> Sep 28 20:02:19named[21035]running on Linux mips 3.4.113 #1 SMP Tue Sep 26 15:01:34 MSK 2017 Sep 28 20:02:19named[21035]built with '--target=mipsel-openwrt-linux' '--host=mipsel-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/opt' '--exec-prefix=/opt' '--bindir=/opt/bin' '--sbindir=/opt/sbin' '--libexecdir=/opt/lib' '--sysconfdir=/opt/etc' '--datadir=/opt/share' '--localstatedir=/opt/var' '--mandir=/opt/man' '--infodir=/opt/info' '--disable-nls' '--enable-shared' '--enable-static' '--with-randomdev=/dev/urandom' '--disable-threads' '--disable-linux-caps' '--with-openssl=/zyxel/Entware-ng-3x/staging_dir/target-mipsel_mips32r2_glibc-2.25/opt' '--with-libjson=no' '--with-libtool' '--with-libxml2=no' '--without-lmdb' '--enable-epoll=yes' '--with-gost=no' '--with-gssapi=no' '--with-ecdsa=yes' '--with-readline=no' '--sysconfdir=/opt/etc/bind' '--enable-filter-aaaa' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=mipsel-openwrt-linux' 'target_alias=mipsel-openwrt-linux' 'CC=mipsel-openwrt-linux-gnu-gcc' 'CFLAGS=-O2 -pipe -mno-branch-likely -mips32r [...] Sep 28 20:02:19named[21035]running as: named -4 -c /opt/etc/bind/named.conf Sep 28 20:02:19named[21035]---------------------------------------------------- Sep 28 20:02:19named[21035]BIND 9 is maintained by Internet Systems Consortium, Sep 28 20:02:19named[21035]Inc. (ISC), a non-profit 501(c)(3) public-benefit Sep 28 20:02:19named[21035]corporation. Support and training for BIND 9 are Sep 28 20:02:19named[21035]available at https://www.isc.org/support Sep 28 20:02:19named[21035]---------------------------------------------------- Sep 28 20:02:19named[21035]using up to 4096 sockets Sep 28 20:02:19rootStarted named from . Sep 28 20:02:19named[21035]./config.c: option 'lmdb-mapsize' was not enabled at compile time (ignored) Sep 28 20:02:19named[21035]loading configuration from '/opt/etc/bind/named.conf' Sep 28 20:02:19named[21035]unable to open '/opt/etc/bind/bind.keys' using built-in keys Sep 28 20:02:19named[21035]using default UDP/IPv4 port range: [32768, 61000] Sep 28 20:02:19named[21035]listening on IPv4 interface eth2.101, 192.168.101.254#53 Sep 28 20:02:19named[21035]socket.c:5695: unexpected error: Sep 28 20:02:19named[21035]setsockopt(21, TCP_FASTOPEN) failed with Protocol not available Sep 28 20:02:19named[21035]listening on IPv4 interface eth2.104, 192.168.104.1#53 Sep 28 20:02:19named[21035]socket.c:5695: unexpected error: Sep 28 20:02:19named[21035]setsockopt(22, TCP_FASTOPEN) failed with Protocol not available Sep 28 20:02:19named[21035]listening on IPv4 interface br0, 192.168.100.254#53 Sep 28 20:02:19named[21035]socket.c:5695: unexpected error: Sep 28 20:02:19named[21035]setsockopt(23, TCP_FASTOPEN) failed with Protocol not available Sep 28 20:02:19named[21035]generating session key for dynamic DNS Sep 28 20:02:19named[21035]sizing zone task pool based on 17 zones Sep 28 20:02:19named[21035]none:103: 'max-cache-size 90%' - setting to 225MB (out of 250MB) Sep 28 20:02:19named[21035]set up managed keys zone for view _default, file '/opt/etc/bind/managed-keys.bind' Sep 28 20:02:19named[21035]automatic empty zone: 10.IN-ADDR.ARPA Sep 28 20:02:19named[21035]automatic empty zone: 16.172.IN-ADDR.ARPA Sep 28 20:02:19named[21035]automatic empty zone: 17.172.IN-ADDR.ARPA Sep 28 20:02:19named[21035]automatic empty zone: 18.172.IN-ADDR.ARPA Sep 28 20:02:19named[21035]automatic empty zone: 19.172.IN-ADDR.ARPA Sep 28 20:02:19named[21035]automatic empty zone: 20.172.IN-ADDR.ARPA Sep 28 20:02:19named[21035]automatic empty zone: 21.172.IN-ADDR.ARPA Sep 28 20:02:19named[21035]automatic empty zone: 22.172.IN-ADDR.ARPA Sep 28 20:02:19named[21035]automatic empty zone: 23.172.IN-ADDR.ARPA Sep 28 20:02:19named[21035]automatic empty zone: 24.172.IN-ADDR.ARPA Sep 28 20:02:19named[21035]automatic empty zone: 25.172.IN-ADDR.ARPA Sep 28 20:02:19named[21035]automatic empty zone: 26.172.IN-ADDR.ARPA Sep 28 20:02:19named[21035]automatic empty zone: 27.172.IN-ADDR.ARPA Sep 28 20:02:19named[21035]automatic empty zone: 28.172.IN-ADDR.ARPA Sep 28 20:02:19named[21035]automatic empty zone: 29.172.IN-ADDR.ARPA Sep 28 20:02:19named[21035]automatic empty zone: 30.172.IN-ADDR.ARPA Sep 28 20:02:19named[21035]automatic empty zone: 31.172.IN-ADDR.ARPA Sep 28 20:02:19named[21035]automatic empty zone: 168.192.IN-ADDR.ARPA Sep 28 20:02:19named[21035]automatic empty zone: 64.100.IN-ADDR.ARPA Sep 28 20:02:19named[21035]automatic empty zone: 65.100.IN-ADDR.ARPA Sep 28 20:02:20named[21035]automatic empty zone: 66.100.IN-ADDR.ARPA Sep 28 20:02:20named[21035]automatic empty zone: 67.100.IN-ADDR.ARPA Sep 28 20:02:20named[21035]automatic empty zone: 68.100.IN-ADDR.ARPA Sep 28 20:02:20named[21035]automatic empty zone: 69.100.IN-ADDR.ARPA Sep 28 20:02:20named[21035]automatic empty zone: 70.100.IN-ADDR.ARPA Sep 28 20:02:20named[21035]automatic empty zone: 71.100.IN-ADDR.ARPA Sep 28 20:02:20named[21035]automatic empty zone: 72.100.IN-ADDR.ARPA Sep 28 20:02:20named[21035]automatic empty zone: 73.100.IN-ADDR.ARPA Sep 28 20:02:20named[21035]automatic empty zone: 74.100.IN-ADDR.ARPA Sep 28 20:02:20named[21035]automatic empty zone: 75.100.IN-ADDR.ARPA Sep 28 20:02:20named[21035]automatic empty zone: 76.100.IN-ADDR.ARPA Sep 28 20:02:20named[21035]automatic empty zone: 77.100.IN-ADDR.ARPA Sep 28 20:02:20named[21035]automatic empty zone: 78.100.IN-ADDR.ARPA Sep 28 20:02:20named[21035]automatic empty zone: 79.100.IN-ADDR.ARPA Sep 28 20:02:20named[21035]automatic empty zone: 80.100.IN-ADDR.ARPA Sep 28 20:02:20named[21035]automatic empty zone: 81.100.IN-ADDR.ARPA Sep 28 20:02:20named[21035]automatic empty zone: 82.100.IN-ADDR.ARPA Sep 28 20:02:20named[21035]automatic empty zone: 83.100.IN-ADDR.ARPA Sep 28 20:02:20named[21035]automatic empty zone: 84.100.IN-ADDR.ARPA Sep 28 20:02:20named[21035]automatic empty zone: 85.100.IN-ADDR.ARPA Sep 28 20:02:20named[21035]automatic empty zone: 86.100.IN-ADDR.ARPA Sep 28 20:02:20named[21035]automatic empty zone: 87.100.IN-ADDR.ARPA Sep 28 20:02:20named[21035]automatic empty zone: 88.100.IN-ADDR.ARPA Sep 28 20:02:20named[21035]automatic empty zone: 89.100.IN-ADDR.ARPA Sep 28 20:02:20named[21035]automatic empty zone: 90.100.IN-ADDR.ARPA Sep 28 20:02:20named[21035]automatic empty zone: 91.100.IN-ADDR.ARPA Sep 28 20:02:20named[21035]automatic empty zone: 92.100.IN-ADDR.ARPA Sep 28 20:02:20named[21035]automatic empty zone: 93.100.IN-ADDR.ARPA Sep 28 20:02:20named[21035]automatic empty zone: 94.100.IN-ADDR.ARPA Sep 28 20:02:20named[21035]automatic empty zone: 95.100.IN-ADDR.ARPA Sep 28 20:02:20named[21035]automatic empty zone: 96.100.IN-ADDR.ARPA Sep 28 20:02:20named[21035]automatic empty zone: 97.100.IN-ADDR.ARPA Sep 28 20:02:20named[21035]automatic empty zone: 98.100.IN-ADDR.ARPA Sep 28 20:02:20named[21035]automatic empty zone: 99.100.IN-ADDR.ARPA Sep 28 20:02:20named[21035]automatic empty zone: 100.100.IN-ADDR.ARPA Sep 28 20:02:20named[21035]automatic empty zone: 101.100.IN-ADDR.ARPA Sep 28 20:02:20named[21035]automatic empty zone: 102.100.IN-ADDR.ARPA Sep 28 20:02:20named[21035]automatic empty zone: 103.100.IN-ADDR.ARPA Sep 28 20:02:20named[21035]automatic empty zone: 104.100.IN-ADDR.ARPA Sep 28 20:02:20named[21035]automatic empty zone: 105.100.IN-ADDR.ARPA Sep 28 20:02:20named[21035]automatic empty zone: 106.100.IN-ADDR.ARPA Sep 28 20:02:21named[21035]automatic empty zone: 107.100.IN-ADDR.ARPA Sep 28 20:02:21named[21035]automatic empty zone: 108.100.IN-ADDR.ARPA Sep 28 20:02:21named[21035]automatic empty zone: 109.100.IN-ADDR.ARPA Sep 28 20:02:21named[21035]automatic empty zone: 110.100.IN-ADDR.ARPA Sep 28 20:02:21named[21035]automatic empty zone: 111.100.IN-ADDR.ARPA Sep 28 20:02:21named[21035]automatic empty zone: 112.100.IN-ADDR.ARPA Sep 28 20:02:21named[21035]automatic empty zone: 113.100.IN-ADDR.ARPA Sep 28 20:02:21named[21035]automatic empty zone: 114.100.IN-ADDR.ARPA Sep 28 20:02:21named[21035]automatic empty zone: 115.100.IN-ADDR.ARPA Sep 28 20:02:21named[21035]automatic empty zone: 116.100.IN-ADDR.ARPA Sep 28 20:02:21named[21035]automatic empty zone: 117.100.IN-ADDR.ARPA Sep 28 20:02:21named[21035]automatic empty zone: 118.100.IN-ADDR.ARPA Sep 28 20:02:21named[21035]automatic empty zone: 119.100.IN-ADDR.ARPA Sep 28 20:02:21named[21035]automatic empty zone: 120.100.IN-ADDR.ARPA Sep 28 20:02:21named[21035]automatic empty zone: 121.100.IN-ADDR.ARPA Sep 28 20:02:21named[21035]automatic empty zone: 122.100.IN-ADDR.ARPA Sep 28 20:02:21named[21035]automatic empty zone: 123.100.IN-ADDR.ARPA Sep 28 20:02:21named[21035]automatic empty zone: 124.100.IN-ADDR.ARPA Sep 28 20:02:21named[21035]automatic empty zone: 125.100.IN-ADDR.ARPA Sep 28 20:02:21named[21035]automatic empty zone: 126.100.IN-ADDR.ARPA Sep 28 20:02:21named[21035]automatic empty zone: 127.100.IN-ADDR.ARPA Sep 28 20:02:21named[21035]automatic empty zone: 0.IN-ADDR.ARPA Sep 28 20:02:21named[21035]automatic empty zone: 254.169.IN-ADDR.ARPA Sep 28 20:02:21named[21035]automatic empty zone: 2.0.192.IN-ADDR.ARPA Sep 28 20:02:21named[21035]automatic empty zone: 100.51.198.IN-ADDR.ARPA Sep 28 20:02:21named[21035]automatic empty zone: 113.0.203.IN-ADDR.ARPA Sep 28 20:02:21named[21035]automatic empty zone: 255.255.255.255.IN-ADDR.ARPA Sep 28 20:02:21named[21035]automatic empty zone: 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA Sep 28 20:02:21named[21035]automatic empty zone: 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA Sep 28 20:02:21named[21035]automatic empty zone: D.F.IP6.ARPA Sep 28 20:02:21named[21035]automatic empty zone: 8.E.F.IP6.ARPA Sep 28 20:02:21named[21035]automatic empty zone: 9.E.F.IP6.ARPA Sep 28 20:02:21named[21035]automatic empty zone: A.E.F.IP6.ARPA Sep 28 20:02:21named[21035]automatic empty zone: B.E.F.IP6.ARPA Sep 28 20:02:21named[21035]automatic empty zone: 8.B.D.0.1.0.0.2.IP6.ARPA Sep 28 20:02:21named[21035]automatic empty zone: EMPTY.AS112.ARPA Sep 28 20:02:21named[21035]none:103: 'max-cache-size 90%' - setting to 225MB (out of 250MB) Sep 28 20:02:21named[21035]socket.c:5695: unexpected error: Sep 28 20:02:21named[21035]setsockopt(24, TCP_FASTOPEN) failed with Protocol not available Sep 28 20:02:21named[21035]command channel listening on 127.0.0.1#953 Sep 28 20:02:21named[21035]managed-keys-zone: loaded serial 0 Sep 28 20:02:21named[21035]zone 103.168.192.in-addr.arpa/IN: loaded serial 2016092949 Sep 28 20:02:21named[21035]zone 104.168.192.in-addr.arpa/IN: loaded serial 2017041204 Sep 28 20:02:21named[21035]zone 100.168.192.in-addr.arpa/IN: loaded serial 2017012588 Sep 28 20:02:21named[21035]zone 32.168.192.in-addr.arpa/IN: loaded serial 2017043058 Sep 28 20:02:21named[21035]zone 30.168.192.in-addr.arpa/IN: loaded serial 2015122608 Sep 28 20:02:21named[21035]zone 127.in-addr.arpa/IN: loaded serial 1 Sep 28 20:02:21named[21035]zone 101.168.192.in-addr.arpa/IN: loaded serial 2017020601 Sep 28 20:02:21named[21035]zone 5.168.192.in-addr.arpa/IN: loaded serial 2015122401 Sep 28 20:02:21named[21035]zone 6.168.192.in-addr.arpa/IN: loaded serial 2015122400 Sep 28 20:02:21named[21035]zone 102.168.192.in-addr.arpa/IN: loaded serial 2016092906 Sep 28 20:02:21named[21035]zone 253.168.192.in-addr.arpa/IN: loaded serial 2017070708 Sep 28 20:02:21named[21035]zone home/IN: loaded serial 2017071149 Sep 28 20:02:21named[21035]zone local/IN: loaded serial 2017041101 Sep 28 20:02:21named[21035]zone 254.168.192.in-addr.arpa/IN: loaded serial 2017051600 Sep 28 20:02:21named[21035]zone 31.168.192.in-addr.arpa/IN: loaded serial 2017043001 Sep 28 20:02:21named[21035]zone localhost/IN: loaded serial 2017041101 Sep 28 20:02:21named[21035]all zones loaded Sep 28 20:02:21named[21035]running Sep 28 20:02:21named[21035]zone 31.168.192.in-addr.arpa/IN: sending notifies (serial 2017043001) Sep 28 20:02:21named[21035]zone 32.168.192.in-addr.arpa/IN: sending notifies (serial 2017043058) Sep 28 20:02:21named[21035]zone home/IN: sending notifies (serial 2017071149) Sep 28 20:02:21named[21035]zone 30.168.192.in-addr.arpa/IN: sending notifies (serial 2015122608) Sep 28 20:02:21named[21035]zone 101.168.192.in-addr.arpa/IN: sending notifies (serial 2017020601) Sep 28 20:02:21named[21035]zone 102.168.192.in-addr.arpa/IN: sending notifies (serial 2016092906) Sep 28 20:02:21named[21035]zone 103.168.192.in-addr.arpa/IN: sending notifies (serial 2016092949) Sep 28 20:02:21named[21035]zone 104.168.192.in-addr.arpa/IN: sending notifies (serial 2017041204) Sep 28 20:02:21named[21035]zone 5.168.192.in-addr.arpa/IN: sending notifies (serial 2015122401) Sep 28 20:02:21named[21035]zone 100.168.192.in-addr.arpa/IN: sending notifies (serial 2017012588) Sep 28 20:02:21named[21035]zone 253.168.192.in-addr.arpa/IN: sending notifies (serial 2017070708) Sep 28 20:02:21named[21035]zone 6.168.192.in-addr.arpa/IN: sending notifies (serial 2015122400) Sep 28 20:02:21named[21035]zone 254.168.192.in-addr.arpa/IN: sending notifies (serial 2017051600) Всё запускается работает, но в журнале при запуске Sep 28 20:10:59named[21692]listening on IPv4 interface eth2.101, 192.168.101.254#53 Sep 28 20:10:59named[21692]socket.c:5695: unexpected error: Sep 28 20:10:59named[21692]setsockopt(21, TCP_FASTOPEN) failed with Protocol not available Sep 28 20:10:59named[21692]listening on IPv4 interface eth2.104, 192.168.104.1#53 Sep 28 20:10:59named[21692]socket.c:5695: unexpected error: Sep 28 20:10:59named[21692]setsockopt(22, TCP_FASTOPEN) failed with Protocol not available Sep 28 20:10:59named[21692]listening on IPv4 interface br0, 192.168.100.254#53 Sep 28 20:10:59named[21692]socket.c:5695: unexpected error: Sep 28 20:10:59named[21692]setsockopt(23, TCP_FASTOPEN) failed with Protocol not available Sep 28 20:10:59named[21692]generating session key for dynamic DNS Как я понял ядро собрано без поддержки TCP Fast Open. Оно-то всё заработало, но краснота в журнале при запуске напрягает. Quote Link to comment Share on other sites More sharing options...
TheBB Posted September 28, 2017 Share Posted September 28, 2017 с ядром - это не к нам в конфиге надо смотреть опции на предмет уменьшения детализации логирования (или в файл перенаправить) можно и откатиться, прошлые версии - в архиве (mipsel; для mips аналогично) Quote Link to comment Share on other sites More sharing options...
zyxmon Posted September 28, 2017 Share Posted September 28, 2017 Первая же ссылка в гугле https://www.opennet.ru/openforum/vsluhforumID1/96945.html Читали? Ничего страшного. Quote Link to comment Share on other sites More sharing options...
dexter Posted September 28, 2017 Author Share Posted September 28, 2017 Я написал думая может можно собрать без TCP_FASTOPEN. Да, и пусть разработчики ознакомятся, хотя приложение стороннее. Quote Link to comment Share on other sites More sharing options...
zyxmon Posted September 28, 2017 Share Posted September 28, 2017 Посмотрел, как configure определяет наличие TCP_FASOPEN. Для кросскомпиляции это неправильно. Можно и выкинуть. Quote Link to comment Share on other sites More sharing options...
Le ecureuil Posted September 28, 2017 Share Posted September 28, 2017 Цитата IPv4 support for TFO was merged into the Linux kernel mainline in kernel versions 3.6 (support for clients) and 3.7 (support for servers),[5][6] and was turned on by default in kernel version 3.13. https://en.wikipedia.org/wiki/TCP_Fast_Open То есть вы понимаете, что у нас просто нет TFO из-за более старого ядра и прикрутить мы его не можем. Quote Link to comment Share on other sites More sharing options...
TheBB Posted September 28, 2017 Share Posted September 28, 2017 (edited) В 28.09.2017 в 21:00, dexter сказал: Я написал думая может можно собрать без TCP_FASTOPEN. попытка нумер раз upd разложено по местам Edited September 29, 2017 by TheBB upd 1 Quote Link to comment Share on other sites More sharing options...
dexter Posted September 29, 2017 Author Share Posted September 29, 2017 Попытка похоже удалась. Установил, никакой красноты нет. Имена резолвит. Спасибо. Про ядро понял. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.