From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SANEq-0004yF-48 for garchives@archives.gentoo.org; Wed, 21 Mar 2012 15:14:12 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 90E04E0B68; Wed, 21 Mar 2012 15:13:33 +0000 (UTC) Received: from mail-yw0-f53.google.com (mail-yw0-f53.google.com [209.85.213.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 7E738E0BF0 for ; Wed, 21 Mar 2012 15:09:49 +0000 (UTC) Received: by yhjj72 with SMTP id j72so1162060yhj.40 for ; Wed, 21 Mar 2012 08:09:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=x7zvx6eo8kPWcHocDY4PVXC31MmDwECk2iYJ6JEPqdk=; b=m1txNtL22Vt7LGoTVLADCFBeLoFU1RojMyF7ALPPHg4vR0Hdu/BBLxKVkbXdT7G07n YlfqmtVlVBCB47vnvvKlTjDBRNunRFAEmwnBhUTkms92eiCF5UqQreMwLRU6p96YPINF LnhzvBZx3kwvTl6xHf6vLw03qdPBC1JwL601bogr+3GHlS+LFG6cVP3Uysa81KvDtsi5 WQS49D/V2CE5U1JzUyCoyCe+EnOsZB2Nt43DXzKyDUn59zz4tvNZ1VZHSFcxOyT4/9li rsc04/LAwfiEASXLn8v1110ZduV1xTCwBXcCp1D7OV+CoBpXG0k4PAboqhkUfc/l/wb0 dg9g== Received: by 10.60.20.100 with SMTP id m4mr5467102oee.10.1332342588720; Wed, 21 Mar 2012 08:09:48 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.182.20.104 with HTTP; Wed, 21 Mar 2012 08:09:28 -0700 (PDT) From: Datty Date: Wed, 21 Mar 2012 15:09:28 +0000 Message-ID: Subject: [gentoo-user] Bind9 and Samba4 setup nightmare To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=e89a8fb1ef4cb8474604bbc22e2a X-Archives-Salt: cb4ec411-308c-4425-b92c-e5d47e7d7ed2 X-Archives-Hash: 83dcab15ecb38d037652d5dd009fbbab --e89a8fb1ef4cb8474604bbc22e2a Content-Type: text/plain; charset=ISO-8859-1 Hi all, I'm in the process of setting up samba4 to trial the domain setup but I'm having problems getting bind to start with dlz turned on. I've pasted the output from syslog as bind is started. It seems to be looking for libsamdb-common.so which is located in /usr/lib/samba but it doesnt seem to be able to find it. Hopefully someones fought with this already! Thanks for your help Oliver Mar 21 15:07:23 LDC1 named[1646]: starting BIND 9.8.1-P1 -u named -d 3 Mar 21 15:07:23 LDC1 named[1646]: built with '--prefix=/usr' '--build=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--libdir=/usr/lib64' '--sysconfdir=/etc/bind' '--localstatedir=/var' '--with-libtool' '--disable-threads' '--with-dlopen' '--with-dlz-filesystem' '--with-dlz-stub' '--without-dlz-postgres' '--without-dlz-mysql' '--with-dlz-bdb' '--with-dlz-ldap' '--without-dlz-odbc' '--with-openssl' '--without-idn' '--disable-ipv6' '--without-libxml2' '--with-gssapi' '--disable-rpz-nsip' '--disable-rpz-nsdname' '--without-pkcs11' '--disable-linux-caps' '--without-gost' '--with-randomdev=/dev/urandom' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-O2 -pipe -march=native -fomit-frame-pointer -I/usr/include/db4.8' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed' Mar 21 15:07:23 LDC1 named[1646]: using up to 4096 sockets Mar 21 15:07:23 LDC1 named[1646]: loading configuration from '/etc/bind/named.conf' Mar 21 15:07:23 LDC1 named[1646]: reading built-in trusted keys from file '/etc/bind/bind.keys' Mar 21 15:07:23 LDC1 named[1646]: using default UDP/IPv4 port range: [1024, 65535] Mar 21 15:07:23 LDC1 named[1646]: using default UDP/IPv6 port range: [1024, 65535] Mar 21 15:07:23 LDC1 named[1646]: listening on IPv4 interface eth0, 10.251.64.8#53 Mar 21 15:07:23 LDC1 named[1646]: generating session key for dynamic DNS Mar 21 15:07:23 LDC1 named[1646]: sizing zone task pool based on 3 zones Mar 21 15:07:23 LDC1 named[1646]: zone 'localhost' allows updates by IP address, which is insecure Mar 21 15:07:23 LDC1 named[1646]: zone '127.in-addr.arpa' allows updates by IP address, which is insecure Mar 21 15:07:23 LDC1 named[1646]: Loading 'AD DNS Zone' using driver dlopen Mar 21 15:07:23 LDC1 named[1646]: dlz_dlopen failed to open library '/usr/lib64/bind9/dlz_bind9.so' - libsamdb-common.so: cannot open shared object file: No such file or directory Mar 21 15:07:23 LDC1 named[1646]: dlz_dlopen of 'AD DNS Zone' failed Mar 21 15:07:23 LDC1 named[1646]: SDLZ driver failed to load. Mar 21 15:07:23 LDC1 named[1646]: DLZ driver failed to load. Mar 21 15:07:23 LDC1 named[1646]: loading configuration: failure Mar 21 15:07:23 LDC1 named[1646]: exiting (due to fatal error) Mar 21 15:07:23 LDC1 /etc/init.d/named[1644]: start-stop-daemon: failed to start `/usr/sbin/named' Mar 21 15:07:23 LDC1 /etc/init.d/named[1513]: ERROR: named failed to start --e89a8fb1ef4cb8474604bbc22e2a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi all,

I'm in the process of setting up samba4 to trial the dom= ain setup but I'm having problems getting bind to start with dlz turned= on.
I've pasted the output from syslog as bind is started. It seems= to be looking for libsamdb-common.so which is located in /usr/lib/samba bu= t it doesnt seem to be able to find it.

Hopefully someones fought with this already!

Thanks for your hel= p

Oliver

Mar 21 15:07:23 LDC1 named[1646]: starting BIND 9.8.= 1-P1 -u named -d 3
Mar 21 15:07:23 LDC1 named[1646]: built with '--p= refix=3D/usr' '--build=3Dx86_64-pc-linux-gnu' '--host=3Dx86= _64-pc-linux-gnu' '--mandir=3D/usr/share/man' '--infodir=3D= /usr/share/info' '--datadir=3D/usr/share' '--sysconfdir=3D/= etc' '--localstatedir=3D/var/lib' '--libdir=3D/usr/lib64= 9; '--sysconfdir=3D/etc/bind' '--localstatedir=3D/var' '= ;--with-libtool' '--disable-threads' '--with-dlopen' &#= 39;--with-dlz-filesystem' '--with-dlz-stub' '--without-dlz-= postgres' '--without-dlz-mysql' '--with-dlz-bdb' '-= -with-dlz-ldap' '--without-dlz-odbc' '--with-openssl' &= #39;--without-idn' '--disable-ipv6' '--without-libxml2'= '--with-gssapi' '--disable-rpz-nsip' '--disable-rpz-ns= dname' '--without-pkcs11' '--disable-linux-caps' '-= -without-gost' '--with-randomdev=3D/dev/urandom' 'build_ali= as=3Dx86_64-pc-linux-gnu' 'host_alias=3Dx86_64-pc-linux-gnu' &#= 39;CFLAGS=3D-O2 -pipe -march=3Dnative -fomit-frame-pointer -I/usr/include/d= b4.8' 'LDFLAGS=3D-Wl,-O1 -Wl,--as-needed'
Mar 21 15:07:23 LDC1 named[1646]: using up to 4096 sockets
Mar 21 15:07:= 23 LDC1 named[1646]: loading configuration from '/etc/bind/named.conf&#= 39;
Mar 21 15:07:23 LDC1 named[1646]: reading built-in trusted keys from= file '/etc/bind/bind.keys'
Mar 21 15:07:23 LDC1 named[1646]: using default UDP/IPv4 port range: [1024,= 65535]
Mar 21 15:07:23 LDC1 named[1646]: using default UDP/IPv6 port ra= nge: [1024, 65535]
Mar 21 15:07:23 LDC1 named[1646]: listening on IPv4 i= nterface eth0, 10.251.64.8#53
Mar 21 15:07:23 LDC1 named[1646]: generating session key for dynamic DNSMar 21 15:07:23 LDC1 named[1646]: sizing zone task pool based on 3 zonesMar 21 15:07:23 LDC1 named[1646]: zone 'localhost' allows updates= by IP address, which is insecure
Mar 21 15:07:23 LDC1 named[1646]: zone '127.in-addr.arpa' allows up= dates by IP address, which is insecure
Mar 21 15:07:23 LDC1 named[1646]:= Loading 'AD DNS Zone' using driver dlopen
Mar 21 15:07:23 LDC1 = named[1646]: dlz_dlopen failed to open library '/usr/lib64/bind9/dlz_bi= nd9.so' - libsamdb-common.so: cannot open shared object file: No such f= ile or directory
Mar 21 15:07:23 LDC1 named[1646]: dlz_dlopen of 'AD DNS Zone' faile= d
Mar 21 15:07:23 LDC1 named[1646]: SDLZ driver failed to load.
Mar 2= 1 15:07:23 LDC1 named[1646]: DLZ driver failed to load.
Mar 21 15:07:23 = LDC1 named[1646]: loading configuration: failure
Mar 21 15:07:23 LDC1 named[1646]: exiting (due to fatal error)
Mar 21 15= :07:23 LDC1 /etc/init.d/named[1644]: start-stop-daemon: failed to start `/u= sr/sbin/named'
Mar 21 15:07:23 LDC1 /etc/init.d/named[1513]: ERROR: = named failed to start

--e89a8fb1ef4cb8474604bbc22e2a--