[Samba] named wont start

Rowland Penny rpenny at samba.org
Wed May 1 09:02:53 UTC 2024


On Wed, 1 May 2024 09:18:54 +0100
Rowland Penny via samba <samba at lists.samba.org> wrote:

> On Tue, 30 Apr 2024 07:54:15 -0700
> Peter Carlson via samba <samba at lists.samba.org> wrote:
> 
> > Not sure if this library is provided by samba team or isc, but I can
> > no longer start my named service if I connect it with samba. brief
> > history: I am having problems with named hanging, isc says step1 is
> > to upgrade to the latest bind.  As soon as I upgrade to latest bind,
> > it wont start. Now the first step is to figure out which mailing
> > list to talk to
> > 
> >   syslog:
> > 
> >     Apr 30 07:43:02 nc1 named[27557]: Loading 'AD DNS Zone' using
> > driver dlopen
> >     Apr 30 07:43:02 nc1 named[27557]: free(): invalid pointer
> >     Apr 30 07:43:03 nc1 systemd[1]: named.service: Main process
> > exited, code=killed, status=6/ABRT
> > 
> > if I comment out the include it works
> >     include "/var/lib/samba/bind-dns/named.conf";
> > 
> > versions:
> >     root at nc1:/etc/bind# named -version
> >     BIND 9.18.26-1+ubuntu22.04.1+deb.sury.org+1-Ubuntu (Extended
> > Support Version) <id:>
> >     root at nc1:/etc/bind# smbd --version
> >     Version 4.20.0-Ubuntu
> > 
> 
> OK, this works for myself, but using Samba 4.19.5 and named 9.18.24 on
> aarch64.
> It looks like something changed, but where.
> 
> Does named start if you use the latest Ubuntu package (9.18.18 from
> security) with Samba 4.20.0 ?
> 
> As far as I am aware, there have been no recent major changes in the
> Samba bind9_dlz code.
> 
> Rowland
> 

I found your named.conf files on the bind9 mailing lists, why are you
using 'views' ?

Also to raise the log level, you need to add '-d3' to the end of the
database line in /var/lib/samba/bind-dns/named.conf, for example:

database "dlopen
/usr/lib/aarch64-linux-gnu/samba/bind9/dlz_bind9_18.so" -d3;

NOTE: You can use higher numbers than '3' which will give you more
output.

Rowland



More information about the samba mailing list