Felipe_G0NZÁLEZ_SANTIAG0
2016-Nov-15 20:25 UTC
[Samba] ERROR:connection refused after provision
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. Thanks in advance, Felipe GS. The University of Informatics Sciences invites you to participate in the Scientific Conference UCIENCIA 2016, November 24-26. Conferencia Científica UCIENCIA 2016, del 24 al 26 de noviembre. http://uciencia.eventos.uci.cu/
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