[Samba] Problems joining station in domain

Andrew Bartlett abartlet at samba.org
Thu Aug 29 07:59:55 UTC 2019


On Thu, 2019-08-29 at 08:50 +0100, Rowland penny via samba wrote:
> On 28/08/2019 21:58, Marcio Demetrio Bacci wrote:
> > Hi,
> > 
> > When I restarted my DNS Bind I noticed that it isn't working, as
> > follows:
> > 
> > /etc/init.d/bind9 status
> > ● bind9.service - BIND Domain Name Server
> >    Loaded: loaded (/lib/systemd/system/bind9.service; enabled;
> > vendor 
> > preset: enabled)
> >   Drop-In: /etc/systemd/system/bind9.service.d
> >            └─override.conf
> >    Active: failed (Result: exit-code) since Wed 2019-08-28
> > 17:25:59 
> > -03; 21min ago
> >      Docs: man:named(8)
> >   Process: 776 ExecStop=/usr/sbin/rndc stop (code=exited, 
> > status=1/FAILURE)
> >   Process: 752 ExecStart=/usr/sbin/named -f $OPTIONS (code=exited, 
> > status=1/FAILURE)
> >  Main PID: 752 (code=exited, status=1/FAILURE)
> > 
> > ago 28 17:25:59 samba4-dc3 named[752]: using up to 4096 sockets
> > ago 28 17:25:59 samba4-dc3 named[752]: loading configuration from 
> > '/etc/bind/named.conf'
> > ago 28 17:25:59 samba4-dc3 named[752]:
> > /etc/bind/named.conf.local:12: 
> > open: /var/lib/samba/private/named.conf: file not found
> 
> Excuse me, but what part of 'join the domain and then start Bind9'
> do 
> you not understand ?
> 
> Of course the file doesn't exist, it is created by the join.

Yeah, most people join the domain then follow the instructions
generated by the join, rather than imagine what the instructions will
be first...

Good advise Rowland

Andrew Bartlett
-- 
Andrew Bartlett                       https://samba.org/~abartlet/
Authentication Developer, Samba Team  https://samba.org
Samba Developer, Catalyst IT          
https://catalyst.net.nz/services/samba






More information about the samba mailing list