[Samba] BIND9 failing

Robert Wooden wdn2420systm at gmail.com
Tue Oct 13 14:05:33 UTC 2020


To close this issue and so others know what I found, I discovered that a
dependency of bind9 had not installed correctly. I purged bind and
re-installed it and bind started properly.

On Mon, Oct 12, 2020 at 9:57 AM L.P.H. van Belle via samba <
samba at lists.samba.org> wrote:

> Forgot this one.
>
> systemctl edit bind9
>
> #/etc/systemd/system/bind9.service.d/override.conf is created.
> # add below.
> [Service]
> # Disable reloading completely.
> ExecReload=
> # Or set it to restart
> #ExecReload=/usr/sbin/rndc restart
>
>
>
> Greetz,
>
> Louis
>
>
> > -----Oorspronkelijk bericht-----
> > Van: samba [mailto:samba-bounces at lists.samba.org] Namens
> > L.P.H. van Belle via samba
> > Verzonden: maandag 12 oktober 2020 16:36
> > Aan: samba at lists.samba.org
> > Onderwerp: Re: [Samba] BIND9 failing
> >
> > Hai,
> >
> > I'll reply later on other mails guys, but im in the last phase
> > of my servers move/merge and that has prio now.
> >
> >
> > # create the folder the the correct group and rights.
> > install -d /var/lib/samba/bind-dns -o root -g bind -m 660
> >
> > # to be save we set the dns subfolder also.
> > chgrp bind /var/lib/samba/bind-dns/dns
> >
> > # and we set the keytab file to be soure.
> > chmod 640  /var/lib/samba/bind-dns/dns.keytab
> > chgrp bind /var/lib/samba/bind-dns/dns.keytab
> >
> > bind.name.options
> >
> >         // Allow Dynamic updates for Samba Bind_DLZ
> >         tkey-gssapi-keytab "/var/lib/samba/bind-dns/dns.keytab";
> >         auth-nxdomain yes;
> >         minimal-responses yes;
> >
> > And
> > /etc/bind/named.conf.local
> > // at install debian already sets the correct bind9.XX
> > version in this file below.
> > include "/var/lib/samba/bind-dns/named.conf";
> >
> > Greetz,
> >
> > Louis
> >
> >
> > > -----Oorspronkelijk bericht-----
> > > Van: samba [mailto:samba-bounces at lists.samba.org] Namens
> > > Rowland penny via samba
> > > Verzonden: maandag 12 oktober 2020 16:25
> > > Aan: samba at lists.samba.org
> > > Onderwerp: Re: [Samba] BIND9 failing
> > >
> > > On 12/10/2020 15:17, Robert Wooden via samba wrote:
> > > > I am working towards joining my second DC to the first.
> > > >
> > > > If I am understanding:
> > > >
> > > https://wiki.samba.org/index.php/Joining_a_Samba_DC_to_an_Exis
> > > ting_Active_Directory
> > > > correctly I am to get bind9 working properly before the
> > > join should happen.
> > > >
> > > > I am getting this:
> > > >
> > > >> root at dc2:~# systemctl status bind9
> > > >>
> > > >> ??? bind9.service - BIND Domain Name Server
> > > >>
> > > >> Loaded: loaded (/lib/systemd/system/bind9.service;
> > > enabled; vendor preset:
> > > >> enabled)
> > > >>
> > > >> Active: failed (Result: exit-code) since Mon 2020-10-12
> > > 08:53:06 CDT; 2min
> > > >> 38s ago
> > > >>
> > > >> Docs: man:named(8)
> > > >>
> > > >> Process: 560 ExecStart=/usr/sbin/named $OPTIONS (code=exited,
> > > >> status=1/FAILURE)
> > > >>
> > > >>
> > > >> Oct 12 08:53:06 dc2 named[561]: samba_dlz: Failed to
> > > connect to Failed to
> > > >> connect to */var/lib/samba/private/dns/sam.ldb*: Unable
> > to open tdb
> > > >> '/var/lib/samba/private/dns/sam.ldb': No such file or
> > > directory: Operations
> > > >> error
> > > >>
> > > var/lib/samba/private/dns has been replaced by
> > > /var/lib/samba/bind-dns/dns
> > >
> > > Rowland
> > >
> > >
> > >
> > > --
> > > To unsubscribe from this list go to the following URL and read the
> > > instructions:  https://lists.samba.org/mailman/options/samba
> > >
> > >
> >
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  https://lists.samba.org/mailman/options/samba
> >
> >
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


More information about the samba mailing list