[Samba] ERROR:connection refused after provision
Rowland Penny
rpenny at samba.org
Tue Nov 15 20:50:54 UTC 2016
On Tue, 15 Nov 2016 15:25:57 -0500 (CST)
Felipe_G0NZĂLEZ_SANTIAG0 via samba <samba at lists.samba.org> wrote:
> Hello,
> After I provision my server, when I try to create the DNS reverse
> zone I get this error: Failed to connect host 10.53.3.11 on port 135
> - NT_STATUS_CONNECTION_REFUSED Failed to connect host 10.53.3.11
> (10.53.3.11) on port 135 - NT_STATUS_CONNECTION_REFUSED.
> ERROR(runtime): uncaught exception - (-1073741258, 'The connection
> was refused') File
> "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line
> 175, in _run return self.run(*args, **kwargs) File
> "/usr/lib/python2.7/dist-packages/samba/netcmd/dns.py", line 850, in
> run dns_conn = dns_connect(server, self.lp, self.creds) File
> "/usr/lib/python2.7/dist-packages/samba/netcmd/dns.py", line 40, in
> dns_connect dns_conn = dnsserver.dnsserver(binding_str, lp, creds)
>
> Besides :
> kinit: Cannot contact any KDC for realm
> wbinfo -u:
> could not obtain winbind interface details:
> WBC_ERR_WINBIND_NOT_AVAILABLE could not obtain winbind domain name!
> Error looking up domain users
>
> and samba-tool processes:
> Service: PID
> -----------------------------
>
> Then, I reboot the server and all work fine.
> What could be happening?
> Any idea? I need this process works fine without rebooting.
>
It should work without a reboot. I take it you are starting Samba
before trying to create the reverse zone and you are pointing the
nameserver in /etc/resolv.conf to the DC itself (either its IP or
127.0.0.1) ?
Rowland
More information about the samba
mailing list