Starting domain name service : bind9 failed

Starting domain name service          : bind9 failed

 Если у вас перестал работать dns-сервис bind9, например в составе контролера samba и появилась такая беда — не стартует bind

sudo service bind9 start
Starting domain name service...: bind9 failed!

Спросите сервис named

named -g -u bind

Получите что-нибудь типа этого

11-Mar-2016 16:33:57.483 starting BIND 9.9.5-3ubuntu0.8-Ubuntu -g -u bind
11-Mar-2016 16:33:57.483 built with '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--sysconfdir=/etc/bind' '--localstatedir=/var' '--enable-threads' '--enable-largefile' '--with-libtool' '--enable-shared' '--enable-static' '--with-openssl=/usr' '--with-gssapi=/usr' '--with-gnu-ld' '--with-geoip=/usr' '--with-atf=no' '--enable-ipv6' '--enable-rrl' '--enable-filter-aaaa' 'CFLAGS=-fno-strict-aliasing -DDIG_SIGCHASE -O2'
11-Mar-2016 16:33:57.483 ----------------------------------------------------
11-Mar-2016 16:33:57.483 BIND 9 is maintained by Internet Systems Consortium,
11-Mar-2016 16:33:57.483 Inc. (ISC), a non-profit 501(c)(3) public-benefit
11-Mar-2016 16:33:57.483 corporation. Support and training for BIND 9 are
11-Mar-2016 16:33:57.483 available at https://www.isc.org/support
11-Mar-2016 16:33:57.483 ----------------------------------------------------
11-Mar-2016 16:33:57.483 adjusted limit on open files from 4096 to 1048576
11-Mar-2016 16:33:57.483 found 4 CPUs, using 4 worker threads
11-Mar-2016 16:33:57.483 using 4 UDP listeners per interface
11-Mar-2016 16:33:57.483 using up to 4096 sockets
11-Mar-2016 16:33:57.521 loading configuration from '/etc/bind/named.conf'
11-Mar-2016 16:33:57.574 reading built-in trusted keys from file '/etc/bind/bind.keys'
11-Mar-2016 16:33:57.575 using default UDP/IPv4 port range: [1024, 65535]
11-Mar-2016 16:33:57.575 using default UDP/IPv6 port range: [1024, 65535]
11-Mar-2016 16:33:57.576 listening on IPv4 interface lo, 127.0.0.1#53
11-Mar-2016 16:33:57.578 listening on IPv4 interface eth1, 192.168.10.45#53
11-Mar-2016 16:33:57.579 listening on IPv4 interface eth0, 192.168.0.1#53
11-Mar-2016 16:33:57.581 generating session key for dynamic DNS
11-Mar-2016 16:33:57.581 sizing zone task pool based on 5 zones
11-Mar-2016 16:33:57.583 zone 'localhost' allows updates by IP address, which is insecure
11-Mar-2016 16:33:57.583 zone '127.in-addr.arpa' allows updates by IP address, which is insecure
11-Mar-2016 16:33:57.583 zone '0.in-addr.arpa' allows updates by IP address, which is insecure
11-Mar-2016 16:33:57.583 zone '255.in-addr.arpa' allows updates by IP address, which is insecure
11-Mar-2016 16:33:57.583 Loading 'AD DNS Zone' using driver dlopen
11-Mar-2016 16:33:57.584 dlz_dlopen failed to open library '/usr/local/samba/lib/bind9/dlz_bind9_9.so' - /usr/local/samba/lib/bind9/dlz_bind9_9.so: cannot open shared object file: No such file or directory
11-Mar-2016 16:33:57.584 dlz_dlopen of 'AD DNS Zone' failed

Ищите проблему и решайте.

 

Добавить комментарий

Войти с помощью: 

Ваш e-mail не будет опубликован. Обязательные поля помечены *