Quantcast
Channel: Ubuntu Forums - Installation & Upgrades
Viewing all articles
Browse latest Browse all 26379

[ubuntu] BIND9 FAILS to start under Ubuntu 12.04.2 LTS

$
0
0
Hello group.

I am setting up a local server for wireless authentication and accounting testing purposes, with this I elected to install Ubuntu 12.04.2 following the howto: http://www.howtoforge.com/perfect-se...ze-ispconfig-2. Yes I realize that this howto is for debian squeeze, however debian seams to be much like Ubuntu with some respects.

This is a fresh installation, nothing other than OpenSSH installed prior to this installation

At this point BIND9 fails to start.

The output of cat /var/log/syslog | grep bind
Code:

Mar 25 14:02:03 RADIUS kernel: [    0.191665] TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
Mar 25 14:02:03 RADIUS kernel: [    0.193242] TCP: Hash tables configured (established 131072 bind 65536)
Mar 25 14:29:59 RADIUS kernel: [    0.187650] TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
Mar 25 14:29:59 RADIUS kernel: [    0.189159] TCP: Hash tables configured (established 131072 bind 65536)
Mar 25 15:14:36 RADIUS kernel: [    0.187724] TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
Mar 25 15:14:36 RADIUS kernel: [    0.189298] TCP: Hash tables configured (established 131072 bind 65536)
Mar 25 19:40:32 RADIUS named[17621]: starting BIND 9.8.1-P1 -u bind
Mar 25 19:40:32 RADIUS named[17621]: 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' '--enable-ipv6' 'CFLAGS=-fno-strict-aliasing -DDIG_SIGCHASE -O2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'
Mar 25 19:40:32 RADIUS named[17621]: loading configuration from '/etc/bind/named.conf'
Mar 25 19:40:32 RADIUS named[17621]: reading built-in trusted keys from file '/etc/bind/bind.keys'
Mar 25 19:40:32 RADIUS named[17621]: set up managed keys zone for view _default, file 'managed-keys.bind'
Mar 25 19:40:32 RADIUS named[17621]: managed-keys-zone ./IN: loading from master file managed-keys.bind failed: file not found

From viewing the error log above it seems obvious that the file 'bind.keys' is unavailable to BIND??
BIND has been moved from /etc/bind to /var/lib/named/etc as per the howto I am following.

The contents of /var/lib/named/etc
Code:

bind      db.0    db.255    db.local  named.conf                named.conf.local    rndc.key
bind.keys  db.127  db.empty  db.root  named.conf.default-zones  named.conf.options  zones.rfc1918

I have located a bug report pertaining to Ubuntu 12.04.2 and BIND9 specifically also: https://bugs.launchpad.net/ubuntu/+s...d9/+bug/920202

I have also edited /etc/bind/named.conf to
Code:

include "/etc/bind/named.conf.options";
include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";
include "/etc/bind/bind.keys";

However BIND9 still FAILS when I attempt to start it...

Viewing all articles
Browse latest Browse all 26379

Trending Articles