Achim Gottinger
2014-Jul-24 11:42 UTC
[Samba] Fwd: Re: Fwd: dnsdomainzone replication failure
-------- Original-Nachricht -------- Betreff: Re: Fwd: dnsdomainzone replication failure Datum: Thu, 24 Jul 2014 13:32:56 +0200 Von: C.Kindler <kindc1 at gmail.com> An: Achim Gottinger <achim at ag-web.biz> Many thanks! I didnt thought about Microsoft Admin Tools :-) - Yes with this is much easier: Now the replication goes a little forward: in the logs there are now such entries... What about this error? Jul 24 13:26:38 DC samba[8798]: [2014/07/24 13:26:38.794655, 0] ../lib/util/charset/convert_string.c:438(convert_string_talloc_handle) Jul 24 13:26:38 DC samba[8798]: Conversion error: Illegal multibyte sequence(??Yp#177) Jul 24 13:26:38 DC samba[8798]: [2014/07/24 13:26:38.794911, 0] ../source4/rpc_server/drsuapi/getncchanges.c:358(get_nc_changes_build_object) Jul 24 13:26:38 DC samba[8798]: Unable to convert name on DC=#0312\3B\00\001\00\001\00\00\00\00\00\00\0ADEL:da87670c-b794-4c0c-86c3-dd54357ecf71,CN=Deleted Objects,DC=DomainDnsZones,DC=ad,DC=wuestenrot,DC=at to DRS object - WERR_GENERAL_FAILURE 2014-07-24 12:46 GMT+02:00 Achim Gottinger <achim at ag-web.biz <mailto:achim at ag-web.biz>>: Am 24.07.2014 12 <tel:24.07.2014%2012>:38, schrieb C.Kindler:> Hello Achim, > > thanks a lot for your kindly reply. > > On DC3 there is no error on dc3. Sorry, I forgot to mention this. > > > > I found a terrible dns-entry on dc1 & dc2. > (<C0>;#004#001#004<FF><FF><FF>.ad.example.com <http://ad.example.com>) > > > with samba-tool dns query there is the following entry: > > Name=^Y2;, Records=1, Children=0 > A: 172.21.21.171 (flags=f0, serial=13441, ttl=900) > > > on dc1 und &dc2. > > how can I delete such a strange entry? What is the easiest and > best way to clean up?If you have Microsoft Admin Tools running using DNS Management there would be easiest. samba-tool dns delete sould be tricky with that name. :-)> > > > > > 2014-07-24 11:26 GMT+02:00 Achim Gottinger <achim at ag-web.biz > <mailto:achim at ag-web.biz>>: > > Am 24.07.2014 10 <tel:24.07.2014%2010>: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~ > > >