[Samba] Samba 4.7.1 Switching from SAMBA_INTERNAL to BIND_DLZ failed

Rowland Penny rpenny at samba.org
Fri Nov 24 21:59:18 UTC 2017


On Fri, 24 Nov 2017 22:11:17 +0100
Sina Owolabi via samba <samba at lists.samba.org> wrote:

> Hi List!
> 
> Im trying to switch from using the samba internal dns to bind.
> Im running a self-compiled samba 4.7.1 pair of DCs on Centos 7.2.
> 
> After following the steps in the wiki, named refuses to start with
> this error:
> 
> ● named.service - Berkeley Internet Name Domain (DNS)
>    Loaded: loaded (/usr/lib/systemd/system/named.service; enabled;
> vendor preset: disabled)
>    Active: failed (Result: exit-code) since Fri 2017-11-24 21:58:41
> WAT; 4min 10s ago
>   Process: 9321 ExecStart=/usr/sbin/named -u named -c ${NAMEDCONF}
> $OPTIONS (code=exited, status=1/FAILURE)
>   Process: 9318 ExecStartPre=/bin/bash -c if [ !
> "$DISABLE_ZONE_CHECKING" == "yes" ]; then /usr/sbin/named-checkconf -z
> "$NAMEDCONF"; else echo "Checking of zone files is disabled"; fi
> (code=exited, status=0/SUCCESS)
>  Main PID: 8949 (code=exited, status=0/SUCCESS)
> 
> Nov 24 21:58:41 testdc1.mytestdom.testsamba.com named[9323]: listening
> on IPv6 interface lo, ::1#53
> Nov 24 21:58:41 testdc1.mytestdom.testsamba.com named[9323]:
> generating session key for dynamic DNS
> Nov 24 21:58:41 testdc1.mytestdom.testsamba.com named[9323]: sizing
> zone task pool based on 7 zones
> Nov 24 21:58:41 testdc1.mytestdom.testsamba.com named[9323]: Loading
> 'AD DNS Zone' using driver dlopen
> Nov 24 21:58:41 testdc1.mytestdom.testsamba.com named[9323]:
> dlz_dlopen failed to open library
> '/usr/local/samba/lib/bind9/dlz_bind9_9.so' -
> /usr/lib64/samba/libreplace-samba4.so: version `SAMBA_4.7.1' not found
> (required by /usr/local/samba/lib/libsamba-util.so.0)

Do you have any samba packages installed ?

It looks like the wrong file is being found, it should be here:

/usr/local/samba/lib/private/libreplace-samba4.so

Also, why are there '7' zones ?

Rowland





More information about the samba mailing list