[Samba] Fwd: dnsdomainzone replication failure

Achim Gottinger achim at ag-web.biz
Thu Jul 24 03:26:30 MDT 2014


Am 24.07.2014 10:53, schrieb C.Kindler:
>
> Hello Achim,
>
> having similar troubles as mentioned on 
> https://lists.samba.org/archive/samba/2014-July/182916.html in our domain
>
>
> How to solve the replication error?
>
> Many thanks,
> Chris
>
> ---------- Forwarded message ----------
> From: *C.Kindler* <kindc1 at gmail.com <mailto:kindc1 at gmail.com>>
> Date: 2014-07-24 10:46 GMT+02:00
> Subject: dnsdomainzone replication failure
> To: samba at lists.samba.org <mailto:samba at lists.samba.org>
>
>
> Hello list,
>
>
> we have 3DC samba-sernet4.1.8 and bind 9.8.2.
>
> This morning there are replication errors on 2 DC.
>
>
> @ DC1: samba-tool drs showrepl
> ==== INBOUND NEIGHBORS ====
>
>
> DC=DomainDnsZones,DC=ad,DC=example,DC=com
>         Default-First-Site-Name\DC2 via RPC
>                 DSA object GUID: 41153b09-2116-4567-aea2-584f9b159b6d
>                 Last attempt @ Thu Jul 24 10:10:53 2014 CEST failed, 
> result 31 (WERR_GENERAL_FAILURE)
>                 168 consecutive failure(s).
>                 Last success @ Thu Jul 24 08:23:44 2014 CEST
>
> C=DomainDnsZones,DC=ad,DC=example,DC=com
>         Default-First-Site-Name\DC3 via RPC
>                 DSA object GUID: 16a9b6d2-4f90-4d5b-b769-b5e905a5c02c
>                 Last attempt @ Thu Jul 24 10:06:15 2014 CEST was 
> successful
>                 0 consecutive failure(s).
>                 Last success @ Thu Jul 24 10:06:15 2014 CEST
>
>
> samba-tool dbcheck --cross-ncs
> Checking 17973 objects
> Conversion error: Incomplete multibyte sequence(�)
> ERROR(runtime): uncaught exception - (31, 'WERR_GENERAL_FAILURE')
>   File "/usr/lib64/python2.6/site-packages/samba/netcmd/__init__.py", 
> line 175, in _run
>     return self.run(*args, **kwargs)
>   File "/usr/lib64/python2.6/site-packages/samba/netcmd/dbcheck.py", 
> line 136, in run
>     controls=controls, attrs=attrs)
>   File "/usr/lib64/python2.6/site-packages/samba/dbchecker.py", line 
> 130, in check_database
>     error_count += self.check_object(object.dn, attrs=attrs)
>   File "/usr/lib64/python2.6/site-packages/samba/dbchecker.py", line 
> 1201, in check_object
>     normalised = 
> self.samdb.dsdb_normalise_attributes(self.samdb_schema, attrname, [val])
>   File "/usr/lib64/python2.6/site-packages/samba/samdb.py", line 647, 
> in dsdb_normalise_attributes
>     return dsdb._dsdb_normalise_attributes(ldb, ldap_display_name, 
> ldif_elements)
>
> ----
>
> The same is on DC2:
> samba-tool drs showrepl
>
> ==== INBOUND NEIGHBORS ====
>
> DC=DomainDnsZones,DC=ad,DC=example,DC=com
>         Default-First-Site-Name\DC1 via RPC
>                 DSA object GUID: ef78b5d8-520a-4aa9-9c45-6bfe550935f6
>                 Last attempt @ Thu Jul 24 09:53:45 2014 CEST failed, 
> result 31 (WERR_GENERAL_FAILURE)
>                 568 consecutive failure(s).
>                 Last success @ Thu Jul 24 08:23:08 2014 CEST
>
> DC=DomainDnsZones,DC=ad,DC=example,DC=com
>         Default-First-Site-Name\DC3 via RPC
>                 DSA object GUID: 16a9b6d2-4f90-4d5b-b769-b5e905a5c02c
>                 Last attempt @ Thu Jul 24 09:53:39 2014 CEST was 
> successful
>                 0 consecutive failure(s).
>                 Last success @ Thu Jul 24 09:53:39 2014 CEST
>
>
> samba-tool dbcheck --cross-ncs
> Checking 17973 objects
> Conversion error: Incomplete multibyte sequence(�)
> ERROR(runtime): uncaught exception - (31, 'WERR_GENERAL_FAILURE')
>   File "/usr/lib64/python2.6/site-packages/samba/netcmd/__init__.py", 
> line 175, in _run
>     return self.run(*args, **kwargs)
>   File "/usr/lib64/python2.6/site-packages/samba/netcmd/dbcheck.py", 
> line 136, in run
>     controls=controls, attrs=attrs)
>   File "/usr/lib64/python2.6/site-packages/samba/dbchecker.py", line 
> 130, in check_database
>     error_count += self.check_object(object.dn, attrs=attrs)
>   File "/usr/lib64/python2.6/site-packages/samba/dbchecker.py", line 
> 1201, in check_object
>     normalised = 
> self.samdb.dsdb_normalise_attributes(self.samdb_schema, attrname, [val])
>   File "/usr/lib64/python2.6/site-packages/samba/samdb.py", line 647, 
> in dsdb_normalise_attributes
>     return dsdb._dsdb_normalise_attributes(ldb, ldap_display_name, 
> ldif_elements)
>
> ---
> On DC3:
> ==== INBOUND NEIGHBORS ====
>
> DC=DomainDnsZones,DC=ad,DC=example,DC=com
>         Default-First-Site-Name\DC2 via RPC
>                 DSA object GUID: 41153b09-2116-4567-aea2-584f9b159b6d
>                 Last attempt @ Thu Jul 24 08:59:56 2014 CEST failed, 
> result 31 (WERR_GENERAL_FAILURE)
>                 80 consecutive failure(s).
>                 Last success @ Thu Jul 24 08:23:44 2014 CEST
>
> DC=DomainDnsZones,DC=ad,DC=wuestenrot,DC=at
>         Default-First-Site-Name\DC1 via RPC
>                 DSA object GUID: ef78b5d8-520a-4aa9-9c45-6bfe550935f6
>                 Last attempt @ Thu Jul 24 09:01:19 2014 CEST failed, 
> result 31 (WERR_GENERAL_FAILURE)
>                 254 consecutive failure(s).
>                 Last success @ Thu Jul 24 08:23:08 2014 CEST
>
>
> ---
> On DC1 there are the fsmo roles.
> 1) What can I do now? Which one is health?
> 2) What about samba-tool dbcheck -fix ?
>
> Any insights would be great,
>
> Thanks,
> Chris Kindler
>
Hello Chris,

Seems your mail did not appear on the list. You did not run "samba-tool 
dbcheck --cross-ncs" on dc3.

I came accross "Conversion error: Incomplete multibyte sequence(�)" in 
the context of the printing subsystem once.
Some odd utf characters caugth them.
If you run "samba-tool dbcheck --cross-ncs -v" again you'll get more 
verbose output it may point you to the failing object.

achim~




More information about the samba mailing list