failed to start BIND 9.16.34 on Ubuntu 20.04

Ling Yun lingyun34567 at outlook.com
Fri Nov 11 00:47:17 UTC 2022


I installed latest new BIND version (BIND 9.16.34), but failed to start BIND 9.16.34 on Ubuntu 20.04. 

root at h2o# systemctl start bind9

Message from syslogd at h2o at Nov 10 13:52:32 ...
 t of memory [96990]

Message from syslogd at h2o at Nov 10 13:52:32 ...
 t message repeated 2 times: [ of memory [96990]]

Message from syslogd at h2o at Nov 10 13:52:34 ...
 t of memory [97039]

Message from syslogd at h2o at Nov 10 13:52:34 ...
 t message repeated 2 times: [ of memory [97039]]

Message from syslogd at h2o at Nov 10 13:52:35 ...
 t of memory [97075]

Message from syslogd at h2o at Nov 10 13:52:35 ...
 t message repeated 2 times: [ of memory [97075]]

Message from syslogd at h2o at Nov 10 13:52:37 ...
 t of memory [97112]

Message from syslogd at h2o at Nov 10 13:52:37 ...
 t message repeated 2 times: [ of memory [97112]]

Message from syslogd at h2o at Nov 10 13:52:38 ...
 t of memory [97150]

Message from syslogd at h2o at Nov 10 13:52:38 ...
 t message repeated 2 times: [ of memory [97150]] 

root at h2o# systemctl status bind9
● named.service - BIND Domain Name Server
     Loaded: loaded (/lib/systemd/system/named.service; enabled; vendor preset: enabled)
     Active: failed (Result: signal) since Thu 2022-11-10 21:51:18 CST; 48s ago
       Docs: man:named(8)
    Process: 96944 ExecStart=/usr/sbin/named -f $OPTIONS (code=killed, signal=ABRT)
   Main PID: 96944 (code=killed, signal=ABRT)

Nov 10 21:51:18 h2o systemd[1]: named.service: Scheduled restart job, restart counter is at 6.
Nov 10 21:51:18 h2o systemd[1]: Stopped BIND Domain Name Server.
Nov 10 21:51:18 h2o systemd[1]: named.service: Start request repeated too quickly.
Nov 10 21:51:18 h2o systemd[1]: named.service: Failed with result 'signal'.
Nov 10 21:51:18 h2o systemd[1]: Failed to start BIND Domain Name Server.

--------------
root at h2o# named -V
BIND 9.16.34-Ubuntu (Extended Support Version) <id:08724b7>
running on Linux x86_64 5.4.0-131-generic #147-Ubuntu SMP Fri Oct 14 17:07:22 UTC 2022
built by make with '--build=x86_64-linux-gnu' '--prefix=/usr' '--includedir=/usr/include' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-silent-rules' '--libdir=/usr/lib/x86_64-linux-gnu' '--libexecdir=/usr/lib/x86_64-linux-gnu' '--disable-maintainer-mode' '--disable-dependency-tracking' '--libdir=/usr/lib/x86_64-linux-gnu' '--sysconfdir=/etc/bind' '--with-python=python3' '--localstatedir=/' '--enable-threads' '--enable-largefile' '--with-libtool' '--enable-shared' '--enable-static' '--with-gost=no' '--with-openssl=/usr' '--with-gssapi=/usr' '--with-libidn2' '--with-json-c' '--with-lmdb=/usr' '--with-gnu-ld' '--with-maxminddb' '--with-atf=no' '--enable-ipv6' '--enable-rrl' '--enable-filter-aaaa' '--disable-native-pkcs11' '--enable-dnstap' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/bind9-Qvag7k/bind9-9.16.34=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -fno-delete-null-pointer-checks -DNO_VERSION_DATE -DDIG_SIGCHASE' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'
compiled by GCC 9.4.0
compiled with OpenSSL version: OpenSSL 1.1.1f  31 Mar 2020
linked to OpenSSL version: OpenSSL 1.1.1f  31 Mar 2020
compiled with libuv version: 1.44.1
linked to libuv version: 1.44.1
compiled with libxml2 version: 2.9.10
linked to libxml2 version: 20910
compiled with json-c version: 0.13.1
linked to json-c version: 0.13.1
compiled with zlib version: 1.2.11
linked to zlib version: 1.2.11
linked to maxminddb version: 1.4.2
compiled with protobuf-c version: 1.3.3
linked to protobuf-c version: 1.3.3
threads support is enabled
DNSSEC algorithms: RSASHA1 NSEC3RSASHA1 RSASHA256 RSASHA512 ECDSAP256SHA256 ECDSAP384SHA384 ED25519 ED448
DS algorithms: SHA-1 SHA-256 SHA-384
HMAC algorithms: HMAC-MD5 HMAC-SHA1 HMAC-SHA224 HMAC-SHA256 HMAC-SHA384 HMAC-SHA512
TKEY mode 2 support (Diffie-Hellman): yes
TKEY mode 3 support (GSS-API): yes

default paths:
  named configuration:  /etc/bind/named.conf
  rndc configuration:   /etc/bind/rndc.conf
  DNSSEC root key:      /etc/bind/bind.keys
  nsupdate session key: //run/named/session.key
  named PID file:       //run/named/named.pid
  named lock file:      //run/named/named.lock
  geoip-directory:      /usr/share/GeoIP

### OS
root at h2o# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.5 LTS
Release:        20.04
Codename:       focal

Hardware

1. What's the hardware specification?
System x3650 M3 7945XAS

2. How much memory the machine has?
12 GB, free: 6G

3. How many CPUs/cores?
root at h2o# lscpu
Architecture:                    x86_64
CPU op-mode(s):                  32-bit, 64-bit
Byte Order:                      Little Endian
Address sizes:                   40 bits physical, 48 bits virtual
CPU(s):                          16
On-line CPU(s) list:             0-15
Thread(s) per core:              2
Core(s) per socket:              4
Socket(s):                       2
NUMA node(s):                    2
Vendor ID:                       GenuineIntel
CPU family:                      6
Model:                           44
Model name:                      Intel(R) Xeon(R) CPU           E5620  @ 2.40GHz

root at h2o # apt install bind9
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  bind9-dnsutils bind9-libs bind9-utils dns-root-data libfstrm0 libprotobuf-c1 libuv1
Suggested packages:
  bind-doc resolvconf
The following NEW packages will be installed:
  bind9 dns-root-data libfstrm0 libprotobuf-c1
The following packages will be upgraded:
  bind9-dnsutils bind9-libs bind9-utils libuv1
4 upgraded, 4 newly installed, 0 to remove and 4 not upgraded.
Need to get 1,949 kB of archives.
After this operation, 1,224 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 libprotobuf-c1 amd64 1.3.3-1ubuntu0.1 [19.3 kB]
Get:2 http://archive.ubuntu.com/ubuntu focal/main amd64 dns-root-data all 2019052802 [5,300 B]
Get:3 https://ppa.launchpadcontent.net/isc/bind-esv/ubuntu focal/main amd64 libuv1 amd64 1.44.1-2+ubuntu20.04.1+isc+1 [86.4 kB]
Get:4 https://ppa.launchpadcontent.net/isc/bind-esv/ubuntu focal/main amd64 libfstrm0 amd64 0.6.1-1+ubuntu20.04.1+isc+1 [19.9 kB]
Get:5 https://ppa.launchpadcontent.net/isc/bind-esv/ubuntu focal/main amd64 bind9-dnsutils amd64 1:9.16.34-1+ubuntu20.04.1+isc+1 [171 kB]
Get:6 https://ppa.launchpadcontent.net/isc/bind-esv/ubuntu focal/main amd64 bind9-libs amd64 1:9.16.34-1+ubuntu20.04.1+isc+1 [1,179 kB]                           
Get:7 https://ppa.launchpadcontent.net/isc/bind-esv/ubuntu focal/main amd64 bind9-utils amd64 1:9.16.34-1+ubuntu20.04.1+isc+1 [202 kB]                            
Get:8 https://ppa.launchpadcontent.net/isc/bind-esv/ubuntu focal/main amd64 bind9 amd64 1:9.16.34-1+ubuntu20.04.1+isc+1 [266 kB]                                  
Fetched 1,949 kB in 14s (140 kB/s)                                                                                                                                
(Reading database ... 86127 files and directories currently installed.)
Preparing to unpack .../0-libuv1_1.44.1-2+ubuntu20.04.1+isc+1_amd64.deb ...
Unpacking libuv1:amd64 (1.44.1-2+ubuntu20.04.1+isc+1) over (1.34.2-1ubuntu1.3) ...
Selecting previously unselected package libfstrm0:amd64.
Preparing to unpack .../1-libfstrm0_0.6.1-1+ubuntu20.04.1+isc+1_amd64.deb ...
Unpacking libfstrm0:amd64 (0.6.1-1+ubuntu20.04.1+isc+1) ...
Selecting previously unselected package libprotobuf-c1:amd64.
Preparing to unpack .../2-libprotobuf-c1_1.3.3-1ubuntu0.1_amd64.deb ...
Unpacking libprotobuf-c1:amd64 (1.3.3-1ubuntu0.1) ...
Preparing to unpack .../3-bind9-dnsutils_1%3a9.16.34-1+ubuntu20.04.1+isc+1_amd64.deb ...
Unpacking bind9-dnsutils (1:9.16.34-1+ubuntu20.04.1+isc+1) over (1:9.16.1-0ubuntu2.11) ...
Preparing to unpack .../4-bind9-libs_1%3a9.16.34-1+ubuntu20.04.1+isc+1_amd64.deb ...
Unpacking bind9-libs:amd64 (1:9.16.34-1+ubuntu20.04.1+isc+1) over (1:9.16.1-0ubuntu2.11) ...
Preparing to unpack .../5-bind9-utils_1%3a9.16.34-1+ubuntu20.04.1+isc+1_amd64.deb ...
Unpacking bind9-utils (1:9.16.34-1+ubuntu20.04.1+isc+1) over (1:9.16.1-0ubuntu2.11) ...
Selecting previously unselected package dns-root-data.
Preparing to unpack .../6-dns-root-data_2019052802_all.deb ...
Unpacking dns-root-data (2019052802) ...
Selecting previously unselected package bind9.
Preparing to unpack .../7-bind9_1%3a9.16.34-1+ubuntu20.04.1+isc+1_amd64.deb ...
Unpacking bind9 (1:9.16.34-1+ubuntu20.04.1+isc+1) ...
Setting up libfstrm0:amd64 (0.6.1-1+ubuntu20.04.1+isc+1) ...
Setting up libprotobuf-c1:amd64 (1.3.3-1ubuntu0.1) ...
Setting up dns-root-data (2019052802) ...
Setting up libuv1:amd64 (1.44.1-2+ubuntu20.04.1+isc+1) ...
Setting up bind9-libs:amd64 (1:9.16.34-1+ubuntu20.04.1+isc+1) ...
Setting up bind9-utils (1:9.16.34-1+ubuntu20.04.1+isc+1) ...
Setting up bind9 (1:9.16.34-1+ubuntu20.04.1+isc+1) ...
Installing new version of config file /etc/apparmor.d/usr.sbin.named ...
named-resolvconf.service is a disabled or a static unit not running, not starting it.

Message from syslogd at h2o at Nov 10 13:50:57 ...
 t of memory [93855]
Setting up bind9-dnsutils (1:9.16.34-1+ubuntu20.04.1+isc+1) ...
Processing triggers for ufw (0.36-6ubuntu1) ...
Processing triggers for systemd (245.4-4ubuntu3.18) ...

Message from syslogd at h2o at Nov 10 13:50:57 ...
 t message repeated 2 times: [ of memory [93855]]
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.9) ...
root at h2o:/etc/apt# 
Message from syslogd at h2o at Nov 10 13:51:10 ...
 t of memory [96788]

Message from syslogd at h2o at Nov 10 13:51:10 ...
 t message repeated 2 times: [ of memory [96788]]

Message from syslogd at h2o at Nov 10 13:51:12 ...
 t of memory [96829]

Message from syslogd at h2o at Nov 10 13:51:12 ...
 t message repeated 2 times: [ of memory [96829]]

Message from syslogd at h2o at Nov 10 13:51:13 ...
 t of memory [96868]

Message from syslogd at h2o at Nov 10 13:51:13 ...
 t message repeated 2 times: [ of memory [96868]]

Message from syslogd at h2o at Nov 10 13:51:15 ...
 t of memory [96907]

Message from syslogd at h2o at Nov 10 13:51:15 ...
 t message repeated 2 times: [ of memory [96907]]

Message from syslogd at h2o at Nov 10 13:51:16 ...
 t of memory [96944]

Message from syslogd at h2o at Nov 10 13:51:16 ...
 t message repeated 2 times: [ of memory [96944]]  

How to fix? thanks.



More information about the bind-users mailing list