Hallo zusammen,
meine Konfiguration ist eine DC-Master DC-Slave Konfiguration, aktuell gepatcht auf 4.2-3 error 310. Seitdem ich die root-Mails umleiten lasse, werde ich genervt von Nagios Meldungen, die S4-Connector-Probleme anzeigen.
univention-s4connector-list-rejected
zeigt:
UCS rejected
1: UCS DN: zoneName=msbe.local,cn=dns,dc=msbe,dc=local
S4 DN: dc=@,dc=msbe.local,cn=microsoftdns,dc=domaindnszones,DC=msbe,DC=local
Filename: /var/lib/univention-connector/s4/1508431548.934227
2: UCS DN: zoneName=msbe.local,cn=dns,dc=msbe,dc=local
S4 DN: dc=@,dc=msbe.local,cn=microsoftdns,dc=domaindnszones,DC=msbe,DC=local
Filename: /var/lib/univention-connector/s4/1512486138.758671
3: UCS DN: zoneName=msbe.local,cn=dns,dc=msbe,dc=local
S4 DN: dc=@,dc=msbe.local,cn=microsoftdns,dc=domaindnszones,DC=msbe,DC=local
Filename: /var/lib/univention-connector/s4/1512489021.926985
4: UCS DN: zoneName=msbe.local,cn=dns,dc=msbe,dc=local
S4 DN: dc=@,dc=msbe.local,cn=microsoftdns,dc=domaindnszones,DC=msbe,DC=local
Filename: /var/lib/univention-connector/s4/1513268252.757453
S4 rejected
last synced USN: 421063
In /var/log/univention/connector-s4.log
finde ich (sorry, viel Text):
07.03.2018 17:08:42,392 LDAP (PROCESS): sync from ucs: Resync rejected file: /var/lib/univention-connector/s4/1508431548.934227
07.03.2018 17:08:42,395 LDAP (PROCESS): sync from ucs: [ dns] [ modify] dc=@,dc=msbe.local,cn=microsoftdns,dc=domaindnszones,DC=msbe,DC=local
07.03.2018 17:08:42,467 LDAP (WARNING): sync failed, saved as rejected
/var/lib/univention-connector/s4/1508431548.934227
07.03.2018 17:08:42,467 LDAP (WARNING): Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/univention/s4connector/__init__.py", line 897, in __sync_file_from_ucs
if ((old_dn and not self.sync_from_ucs(key, object, premapped_ucs_dn, unicode(old_dn, 'utf8'), old, new)) or (not old_dn and not self.sync_from_ucs(key, object, premapped_ucs_dn, old_dn, old, new))):
File "/usr/lib/pymodules/python2.7/univention/s4connector/s4/__init__.py", line 2588, in sync_from_ucs
self.property[property_type].con_sync_function(self, property_type, object)
File "/usr/lib/pymodules/python2.7/univention/s4connector/s4/dns.py", line 1583, in ucs2con
s4_zone_create_wrapper(s4connector, object)
File "/usr/lib/pymodules/python2.7/univention/s4connector/s4/dns.py", line 859, in s4_zone_create_wrapper
result = s4_zone_create(s4connector, object)
File "/usr/lib/pymodules/python2.7/univention/s4connector/s4/dns.py", line 801, in s4_zone_create
s4connector.lo_s4.modify(soa_dn, [('dnsRecord', old_dnsRecords, dnsRecords)])
File "/usr/lib/pymodules/python2.7/univention/uldap.py", line 473, in modify
self.modify_ext_s(dn, ml, serverctrls=serverctrls, response=response)
File "/usr/lib/pymodules/python2.7/univention/uldap.py", line 513, in modify_ext_s
rtype, rdata, rmsgid, resp_ctrls = self.lo.modify_ext_s(dn, ml, serverctrls=serverctrls)
File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 336, in modify_ext_s
resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all=1,timeout=self.timeout)
File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 476, in result3
resp_ctrl_classes=resp_ctrl_classes
File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 483, in result4
ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop)
File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 106, in _ldap_call
result = func(*args,**kwargs)
TYPE_OR_VALUE_EXISTS: {'info': "attribute 'dnsRecord': value #1 on 'DC=@,DC=msbe.local,CN=MicrosoftDNS,DC=DomainDnsZones,DC=msbe,DC=local' provided more than once", 'desc': 'Type or value exists'}
07.03.2018 17:08:42,467 LDAP (PROCESS): sync from ucs: Resync rejected file: /var/lib/univention-connector/s4/1512486138.758671
07.03.2018 17:08:42,470 LDAP (PROCESS): sync from ucs: [ dns] [ modify] dc=@,dc=msbe.local,cn=microsoftdns,dc=domaindnszones,DC=msbe,DC=local
07.03.2018 17:08:42,534 LDAP (WARNING): sync failed, saved as rejected
/var/lib/univention-connector/s4/1512486138.758671
07.03.2018 17:08:42,534 LDAP (WARNING): Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/univention/s4connector/__init__.py", line 897, in __sync_file_from_ucs
if ((old_dn and not self.sync_from_ucs(key, object, premapped_ucs_dn, unicode(old_dn, 'utf8'), old, new)) or (not old_dn and not self.sync_from_ucs(key, object, premapped_ucs_dn, old_dn, old, new))):
File "/usr/lib/pymodules/python2.7/univention/s4connector/s4/__init__.py", line 2588, in sync_from_ucs
self.property[property_type].con_sync_function(self, property_type, object)
File "/usr/lib/pymodules/python2.7/univention/s4connector/s4/dns.py", line 1583, in ucs2con
s4_zone_create_wrapper(s4connector, object)
File "/usr/lib/pymodules/python2.7/univention/s4connector/s4/dns.py", line 859, in s4_zone_create_wrapper
result = s4_zone_create(s4connector, object)
File "/usr/lib/pymodules/python2.7/univention/s4connector/s4/dns.py", line 801, in s4_zone_create
s4connector.lo_s4.modify(soa_dn, [('dnsRecord', old_dnsRecords, dnsRecords)])
File "/usr/lib/pymodules/python2.7/univention/uldap.py", line 473, in modify
self.modify_ext_s(dn, ml, serverctrls=serverctrls, response=response)
File "/usr/lib/pymodules/python2.7/univention/uldap.py", line 513, in modify_ext_s
rtype, rdata, rmsgid, resp_ctrls = self.lo.modify_ext_s(dn, ml, serverctrls=serverctrls)
File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 336, in modify_ext_s
resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all=1,timeout=self.timeout)
File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 476, in result3
resp_ctrl_classes=resp_ctrl_classes
File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 483, in result4
ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop)
File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 106, in _ldap_call
result = func(*args,**kwargs)
TYPE_OR_VALUE_EXISTS: {'info': "attribute 'dnsRecord': value #1 on 'DC=@,DC=msbe.local,CN=MicrosoftDNS,DC=DomainDnsZones,DC=msbe,DC=local' provided more than once", 'desc': 'Type or value exists'}
07.03.2018 17:08:42,534 LDAP (PROCESS): sync from ucs: Resync rejected file: /var/lib/univention-connector/s4/1512489021.926985
07.03.2018 17:08:42,537 LDAP (PROCESS): sync from ucs: [ dns] [ modify] dc=@,dc=msbe.local,cn=microsoftdns,dc=domaindnszones,DC=msbe,DC=local
07.03.2018 17:08:42,597 LDAP (WARNING): sync failed, saved as rejected
/var/lib/univention-connector/s4/1512489021.926985
07.03.2018 17:08:42,597 LDAP (WARNING): Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/univention/s4connector/__init__.py", line 897, in __sync_file_from_ucs
if ((old_dn and not self.sync_from_ucs(key, object, premapped_ucs_dn, unicode(old_dn, 'utf8'), old, new)) or (not old_dn and not self.sync_from_ucs(key, object, premapped_ucs_dn, old_dn, old, new))):
File "/usr/lib/pymodules/python2.7/univention/s4connector/s4/__init__.py", line 2588, in sync_from_ucs
self.property[property_type].con_sync_function(self, property_type, object)
File "/usr/lib/pymodules/python2.7/univention/s4connector/s4/dns.py", line 1583, in ucs2con
s4_zone_create_wrapper(s4connector, object)
File "/usr/lib/pymodules/python2.7/univention/s4connector/s4/dns.py", line 859, in s4_zone_create_wrapper
result = s4_zone_create(s4connector, object)
File "/usr/lib/pymodules/python2.7/univention/s4connector/s4/dns.py", line 801, in s4_zone_create
s4connector.lo_s4.modify(soa_dn, [('dnsRecord', old_dnsRecords, dnsRecords)])
File "/usr/lib/pymodules/python2.7/univention/uldap.py", line 473, in modify
self.modify_ext_s(dn, ml, serverctrls=serverctrls, response=response)
File "/usr/lib/pymodules/python2.7/univention/uldap.py", line 513, in modify_ext_s
rtype, rdata, rmsgid, resp_ctrls = self.lo.modify_ext_s(dn, ml, serverctrls=serverctrls)
File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 336, in modify_ext_s
resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all=1,timeout=self.timeout)
File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 476, in result3
resp_ctrl_classes=resp_ctrl_classes
File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 483, in result4
ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop)
File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 106, in _ldap_call
result = func(*args,**kwargs)
TYPE_OR_VALUE_EXISTS: {'info': "attribute 'dnsRecord': value #1 on 'DC=@,DC=msbe.local,CN=MicrosoftDNS,DC=DomainDnsZones,DC=msbe,DC=local' provided more than once", 'desc': 'Type or value exists'}
07.03.2018 17:08:42,597 LDAP (PROCESS): sync from ucs: Resync rejected file: /var/lib/univention-connector/s4/1513268252.757453
07.03.2018 17:08:42,600 LDAP (PROCESS): sync from ucs: [ dns] [ modify] dc=@,dc=msbe.local,cn=microsoftdns,dc=domaindnszones,DC=msbe,DC=local
07.03.2018 17:08:42,660 LDAP (WARNING): sync failed, saved as rejected
/var/lib/univention-connector/s4/1513268252.757453
07.03.2018 17:08:42,660 LDAP (WARNING): Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/univention/s4connector/__init__.py", line 897, in __sync_file_from_ucs
if ((old_dn and not self.sync_from_ucs(key, object, premapped_ucs_dn, unicode(old_dn, 'utf8'), old, new)) or (not old_dn and not self.sync_from_ucs(key, object, premapped_ucs_dn, old_dn, old, new))):
File "/usr/lib/pymodules/python2.7/univention/s4connector/s4/__init__.py", line 2588, in sync_from_ucs
self.property[property_type].con_sync_function(self, property_type, object)
File "/usr/lib/pymodules/python2.7/univention/s4connector/s4/dns.py", line 1583, in ucs2con
s4_zone_create_wrapper(s4connector, object)
File "/usr/lib/pymodules/python2.7/univention/s4connector/s4/dns.py", line 859, in s4_zone_create_wrapper
result = s4_zone_create(s4connector, object)
File "/usr/lib/pymodules/python2.7/univention/s4connector/s4/dns.py", line 801, in s4_zone_create
s4connector.lo_s4.modify(soa_dn, [('dnsRecord', old_dnsRecords, dnsRecords)])
File "/usr/lib/pymodules/python2.7/univention/uldap.py", line 473, in modify
self.modify_ext_s(dn, ml, serverctrls=serverctrls, response=response)
File "/usr/lib/pymodules/python2.7/univention/uldap.py", line 513, in modify_ext_s
rtype, rdata, rmsgid, resp_ctrls = self.lo.modify_ext_s(dn, ml, serverctrls=serverctrls)
File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 336, in modify_ext_s
resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all=1,timeout=self.timeout)
File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 476, in result3
resp_ctrl_classes=resp_ctrl_classes
File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 483, in result4
ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop)
File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 106, in _ldap_call
result = func(*args,**kwargs)
TYPE_OR_VALUE_EXISTS: {'info': "attribute 'dnsRecord': value #1 on 'DC=@,DC=msbe.local,CN=MicrosoftDNS,DC=DomainDnsZones,DC=msbe,DC=local' provided more than once", 'desc': 'Type or value exists'}
Aufgrund dieses Beitrags habe ich noch univention-ldapsearch zonename=msbe.local | grep nSRecord
aufgrufen und erhalte:
nSRecord: userver.msbe.local.
nSRecord: vserver.msbe.local.
Es sind zwei DNS-Server im System vorhanden - das sollte eigentlich kein Problem sein.
Aber wie komme ich dem Problem (und damit seiner Lösung) näher ?
Danke
Martin