[Samba] BIND9 failing

Robert Wooden wdn2420systm at gmail.com
Mon Oct 12 14:35:35 UTC 2020


Yes, I am aware of the replacement but, my /etc/bind/named.conf.options is
set "tkey-gssapi-keytab "/var/lib/samba/bind-dns/dns.keytab";".

I cannot find any config file setting that "points" to the old directory
(private/dns)?

How can bind be looking in the incorrect directory when set to
"/var/lib/samba/bind-dns/..."?

Should I "forcibly" reinstall bind9 and check settings?

On Mon, Oct 12, 2020 at 9:25 AM Rowland penny via samba <
samba at lists.samba.org> wrote:

> 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_Existing_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
>


More information about the samba mailing list