[Samba] Replication Failing - NT_STATUS_IO_TIMEOUT

David Minard david at scem.uws.edu.au
Tue Sep 29 05:02:34 UTC 2015


> Hi,
>
> Are you using --domain-critical-only switch when joining your new DC?

     No...  I'll try that now.  Okay....  No good.  Here is what happens 
- the point where it fails varies:

samba-tool domain join SAMBA4.SCEM.UWS.EDU.AU DC -Uadministrator 
--realm=SAMBA4.SCEM.UWS.EDU.AU --dns-backend=SAMBA_INTERNAL 
--domain-critical-only --site=samba4-01
Finding a writeable DC for domain 'SAMBA4.SCEM.UWS.EDU.AU'

Found DC samba4-02.samba4.scem.uws.edu.au
Password for [SCEM_AD\administrator]:
workgroup is SCEM_AD
realm is samba4.scem.uws.edu.au
checking sAMAccountName
Adding CN=SAMBA4-05,OU=Domain 
Controllers,DC=samba4,DC=scem,DC=uws,DC=edu,DC=au
Adding 
CN=SAMBA4-05,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=samba4,DC=scem,DC=uws,DC=edu,DC=au
Adding CN=NTDS 
Settings,CN=SAMBA4-05,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=samba4,DC=scem,DC=uws,DC=edu,DC=au
Adding SPNs to CN=SAMBA4-05,OU=Domain 
Controllers,DC=samba4,DC=scem,DC=uws,DC=edu,DC=au
Setting account password for SAMBA4-05$
Enabling account
Calling bare provision
No IPv6 address will be assigned
Provision OK for domain DN DC=samba4,DC=scem,DC=uws,DC=edu,DC=au
Starting replication
Schema-DN[CN=Schema,CN=Configuration,DC=samba4,DC=scem,DC=uws,DC=edu,DC=au] 
objects[402/1550] linked_values[0/0]
Schema-DN[CN=Schema,CN=Configuration,DC=samba4,DC=scem,DC=uws,DC=edu,DC=au] 
objects[804/1550] linked_values[0/0]
Schema-DN[CN=Schema,CN=Configuration,DC=samba4,DC=scem,DC=uws,DC=edu,DC=au] 
objects[1206/1550] linked_values[0/0]
Schema-DN[CN=Schema,CN=Configuration,DC=samba4,DC=scem,DC=uws,DC=edu,DC=au] 
objects[1550/1550] linked_values[0/0]
Analyze and apply schema objects
Partition[CN=Configuration,DC=samba4,DC=scem,DC=uws,DC=edu,DC=au] 
objects[1/1729] linked_values[0/0]
Partition[CN=Configuration,DC=samba4,DC=scem,DC=uws,DC=edu,DC=au] 
objects[403/1729] linked_values[0/0]
Partition[CN=Configuration,DC=samba4,DC=scem,DC=uws,DC=edu,DC=au] 
objects[805/1729] linked_values[0/0]
Partition[CN=Configuration,DC=samba4,DC=scem,DC=uws,DC=edu,DC=au] 
objects[1207/1729] linked_values[0/0]
Partition[CN=Configuration,DC=samba4,DC=scem,DC=uws,DC=edu,DC=au] 
objects[1609/1729] linked_values[0/0]
Partition[CN=Configuration,DC=samba4,DC=scem,DC=uws,DC=edu,DC=au] 
objects[1729/1729] linked_values[59/0]
Partition[DC=samba4,DC=scem,DC=uws,DC=edu,DC=au] objects[101/101] 
linked_values[53/0]
Done with always replicated NC (base, config, schema)
Replicating DC=DomainDnsZones,DC=samba4,DC=scem,DC=uws,DC=edu,DC=au
Partition[DC=DomainDnsZones,DC=samba4,DC=scem,DC=uws,DC=edu,DC=au] 
objects[1/197583] linked_values[0/0]
Join failed - cleaning up
checking sAMAccountName
Deleted CN=SAMBA4-05,OU=Domain 
Controllers,DC=samba4,DC=scem,DC=uws,DC=edu,DC=au
Deleted CN=NTDS 
Settings,CN=SAMBA4-05,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=samba4,DC=scem,DC=uws,DC=edu,DC=au
Deleted 
CN=SAMBA4-05,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=samba4,DC=scem,DC=uws,DC=edu,DC=au
ERROR(runtime): uncaught exception - (-1073741643, 'NT_STATUS_IO_TIMEOUT')
   File 
"/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/__init__.py", 
line 175, in _run
     return self.run(*args, **kwargs)
   File 
"/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/domain.py", 
line 552, in run
     machinepass=machinepass, use_ntvfs=use_ntvfs, dns_backend=dns_backend)
   File "/usr/local/samba/lib64/python2.7/site-packages/samba/join.py", 
line 1172, in join_DC
     ctx.do_join()
   File "/usr/local/samba/lib64/python2.7/site-packages/samba/join.py", 
line 1077, in do_join
     ctx.join_replicate()
   File "/usr/local/samba/lib64/python2.7/site-packages/samba/join.py", 
line 825, in join_replicate
     replica_flags=ctx.replica_flags)
   File 
"/usr/local/samba/lib64/python2.7/site-packages/samba/drs_utils.py", 
line 248, in replicate
     (level, ctr) = self.drs.DsGetNCChanges(self.drs_handle, req_level, req)


> This
> switch force Samba to copy only critical stuff when joining the new DC then
> this new DC will get all others objects using standard replication process.
> This switch helps a lot when Samba database starts to grow a bit. Without
> that switch the database is fully replicated during the join command in
> some process which looks like a big DB transaction (eating lot of memory,
> lot of time, adding possible issues)
>
> Hoping this solves your issue, kindly regards,
>
> mathias
>
> 2015-09-25 6:32 GMT+02:00 David Minard <david at scem.uws.edu.au  <https://lists.samba.org/mailman/listinfo/samba>>:
>
> >/  G'day All,
> />/
> />/      I'm trying to commission another DC (number 5) in our production set
> />/  up, as we've opened up a new site.  All DCs are samba-4.0.25 self compiled.
> />/
> />/      When trying to domain join, all goes well until it starts to
> />/  replicate.  I get this:
> />/
> />/  ERROR(runtime): uncaught exception - (-1073741643, 'NT_STATUS_IO_TIMEOUT')
> />/    File
> />/  "/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
> />/  line 175, in _run
> />/      return self.run(*args, **kwargs)
> />/    File
> />/  "/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/domain.py",
> />/  line 552, in run
> />/      machinepass=machinepass, use_ntvfs=use_ntvfs, dns_backend=dns_backend)
> />/    File "/usr/local/samba/lib64/python2.7/site-packages/samba/join.py",
> />/  line 1172, in join_DC
> />/      ctx.do_join()
> />/    File "/usr/local/samba/lib64/python2.7/site-packages/samba/join.py",
> />/  line 1077, in do_join
> />/      ctx.join_replicate()
> />/    File "/usr/local/samba/lib64/python2.7/site-packages/samba/join.py",
> />/  line 817, in join_replicate
> />/      replica_flags=ctx.domain_replica_flags)
> />/    File
> />/  "/usr/local/samba/lib64/python2.7/site-packages/samba/drs_utils.py", line
> />/  248, in replicate
> />/      (level, ctr) = self.drs.DsGetNCChanges(self.drs_handle, req_level, req)
> />/
> />/
> />/  It times out.  Is there any way to increase the time out periods for the
> />/  replication?
> />/
> />/  --
> />/
> />/  Cheers,
> />/  David Minard.
> />/  Ph:    0247 360 155
> />/  Fax:    0247 360 770
> />/
> />/  School of Computing, Engineering, and Mathematics
> />/  Building Y - Penrith Campus (Kingswood)
> />/  Locked bag 1797
> />/  Penrith South DC
> />/  NSW 1797
> />/
> />/  [Sometimes waking up just isn't worth the insult of the day to come.]
> />/
> />/
> />/  --
> />/  This message has been scanned for viruses and
> />/  dangerous content by MailScanner, and is
> />/  believed to be clean.
> />/
> />/
> />/  --
> />/  To unsubscribe from this list go to the following URL and read the
> />/  instructions:https://lists.samba.org/mailman/options/samba
> /

-- 

Cheers,
David Minard.
Ph:    0247 360 155
Fax:    0247 360 770

School of Computing, Engineering, and Mathematics
Building Y - Penrith Campus (Kingswood)
Locked bag 1797
Penrith South DC
NSW 1797

[Sometimes waking up just isn't worth the insult of the day to come.]


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the samba mailing list