Gentoo Archives: gentoo-user

From: Datty <datty.wtb@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Bind9 and Samba4 setup nightmare
Date: Wed, 21 Mar 2012 15:14:12
Message-Id: CAG+b7UV8VD7Vgw_hSQSF8c6FVD4MpobsZozhbTR3wSU6zp3SuA@mail.gmail.com
1 Hi all,
2
3 I'm in the process of setting up samba4 to trial the domain setup but I'm
4 having problems getting bind to start with dlz turned on.
5 I've pasted the output from syslog as bind is started. It seems to be
6 looking for libsamdb-common.so which is located in /usr/lib/samba but it
7 doesnt seem to be able to find it.
8
9 Hopefully someones fought with this already!
10
11 Thanks for your help
12
13 Oliver
14
15 Mar 21 15:07:23 LDC1 named[1646]: starting BIND 9.8.1-P1 -u named -d 3
16 Mar 21 15:07:23 LDC1 named[1646]: built with '--prefix=/usr'
17 '--build=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu'
18 '--mandir=/usr/share/man' '--infodir=/usr/share/info'
19 '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib'
20 '--libdir=/usr/lib64' '--sysconfdir=/etc/bind' '--localstatedir=/var'
21 '--with-libtool' '--disable-threads' '--with-dlopen'
22 '--with-dlz-filesystem' '--with-dlz-stub' '--without-dlz-postgres'
23 '--without-dlz-mysql' '--with-dlz-bdb' '--with-dlz-ldap'
24 '--without-dlz-odbc' '--with-openssl' '--without-idn' '--disable-ipv6'
25 '--without-libxml2' '--with-gssapi' '--disable-rpz-nsip'
26 '--disable-rpz-nsdname' '--without-pkcs11' '--disable-linux-caps'
27 '--without-gost' '--with-randomdev=/dev/urandom'
28 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu'
29 'CFLAGS=-O2 -pipe -march=native -fomit-frame-pointer -I/usr/include/db4.8'
30 'LDFLAGS=-Wl,-O1 -Wl,--as-needed'
31 Mar 21 15:07:23 LDC1 named[1646]: using up to 4096 sockets
32 Mar 21 15:07:23 LDC1 named[1646]: loading configuration from
33 '/etc/bind/named.conf'
34 Mar 21 15:07:23 LDC1 named[1646]: reading built-in trusted keys from file
35 '/etc/bind/bind.keys'
36 Mar 21 15:07:23 LDC1 named[1646]: using default UDP/IPv4 port range: [1024,
37 65535]
38 Mar 21 15:07:23 LDC1 named[1646]: using default UDP/IPv6 port range: [1024,
39 65535]
40 Mar 21 15:07:23 LDC1 named[1646]: listening on IPv4 interface eth0,
41 10.251.64.8#53
42 Mar 21 15:07:23 LDC1 named[1646]: generating session key for dynamic DNS
43 Mar 21 15:07:23 LDC1 named[1646]: sizing zone task pool based on 3 zones
44 Mar 21 15:07:23 LDC1 named[1646]: zone 'localhost' allows updates by IP
45 address, which is insecure
46 Mar 21 15:07:23 LDC1 named[1646]: zone '127.in-addr.arpa' allows updates by
47 IP address, which is insecure
48 Mar 21 15:07:23 LDC1 named[1646]: Loading 'AD DNS Zone' using driver dlopen
49 Mar 21 15:07:23 LDC1 named[1646]: dlz_dlopen failed to open library
50 '/usr/lib64/bind9/dlz_bind9.so' - libsamdb-common.so: cannot open shared
51 object file: No such file or directory
52 Mar 21 15:07:23 LDC1 named[1646]: dlz_dlopen of 'AD DNS Zone' failed
53 Mar 21 15:07:23 LDC1 named[1646]: SDLZ driver failed to load.
54 Mar 21 15:07:23 LDC1 named[1646]: DLZ driver failed to load.
55 Mar 21 15:07:23 LDC1 named[1646]: loading configuration: failure
56 Mar 21 15:07:23 LDC1 named[1646]: exiting (due to fatal error)
57 Mar 21 15:07:23 LDC1 /etc/init.d/named[1644]: start-stop-daemon: failed to
58 start `/usr/sbin/named'
59 Mar 21 15:07:23 LDC1 /etc/init.d/named[1513]: ERROR: named failed to start

Replies

Subject Author
[gentoo-user] Re: Bind9 and Samba4 setup nightmare Datty <datty.wtb@×××××.com>