Update
After check some logs i started the server diagnostic.
Update:
Listener.log
UNIVENTION_DEBUG_BEGIN : uldap.__open host=central.c-lab.one port=7389 base=dc=c-lab,dc=one
UNIVENTION_DEBUG_END : uldap.__open host=central.c-lab.one port=7389 base=dc=c-lab,dc=one
02.10.19 10:26:49.516 LISTENER ( ERROR ) : notifier.c:129:notifier_wait_id_result LDAP failed No such object (32): id:4547
02.10.19 10:26:49.516 LISTENER ( ERROR ) : listener: 32
02.10.19 10:26:54.679 DEBUG_INIT
02.10.19 10:26:54.685 LISTENER ( WARN ) : Notifier/LDAP server is central.c-lab.one:7389
02.10.19 10:26:54.685 LDAP ( PROCESS ) : connecting to ldap://central.c-lab.one:7389
Processing section “[netlogon]”
Processing section “[sysvol]”
Processing section “[homes]”
Processing section “[printers]”
Processing section “[print$]”
Processing section “[opsi_depot_rw]”
Processing section “[opsi_workbench]”
Processing section “[opsi_depot]”
Processing section “[opsi_images]”
pm_process() returned Yes
connector-s4.log
02.10.2019 16:14:44.037 LDAP (PROCESS): Building internal group membership cache
02.10.2019 16:14:44.077 LDAP (PROCESS): Internal group membership cache was created
02.10.2019 16:16:02.767 MAIN (------ ): DEBUG_INIT
02.10.2019 16:16:02.824 LDAP (ERROR ): Failed to lookup S4 LDAP base, using UCR value.
02.10.2019 16:16:02.825 LDAP (ERROR ): Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/univention/s4connector/s4/init.py”, line 869, in open_s4
self.s4_ldap_base = self.s4_search_ext_s(’’, ldap.SCOPE_BASE, ‘objectclass=*’, [‘defaultNamingContext’])[0][1][‘defaultNamingContext’][0]
File “/usr/lib/python2.7/dist-packages/univention/s4connector/s4/init.py”, line 850, in s4_search_ext_s
return fix_dn_in_search(self.lo_s4.lo.search_ext_s(*args, **kwargs))
File “/usr/lib/python2.7/dist-packages/ldap/ldapobject.py”, line 590, in search_ext_s
msgid = self.search_ext(base,scope,filterstr,attrlist,attrsonly,serverctrls,clientctrls,timeout,sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap/ldapobject.py”, line 586, in search_ext
timeout,sizelimit,
File “/usr/lib/python2.7/dist-packages/ldap/ldapobject.py”, line 106, in _ldap_call
result = func(*args,**kwargs)
SERVER_DOWN: {‘desc’: “Can’t contact LDAP server”}
I did this: Troubleshooting: Listener-/Notifier
CRITICAL: no change of listener transaction id for last 0 checks (nid=4703 lid=4546)
So i did this: How-To: Check for Listener/ Notifier Service Status
And this: How-To: Check and Fix if Notifier Files are Corrupted
Status:
root@central:/var/log/univention# univention-directory-listener-ctrl status
Listener status:
run: univention-directory-listener: (pid 7054) 1s, normally down
Current Notifier ID on “central.c-lab.one”
4703
Last Notifier ID processed by local Listener:
4546
Last transaction processed:
4703 cn=test,cn=shares,dc=c-lab,dc=one d
root@central:/var/log/univention# sv status univention-directory-notifier | sed -n ‘s/:.//p’
run
root@central:/var/log/univention# sv status univention-directory-listener | sed -n 's/:.//p’
run
i tried to fix:
root@central:/var/log/univention# systemctl stop univention-directory-listener
root@central:/var/log/univention# systemctl stop univention-directory-notifier
root@central:/var/log/univention# systemctl stop slapd
root@central:/var/log/univention# /usr/share/univention-directory-notifier/univention-translog check
2019-10-02 17:37:23,504:ERROR:/var/lib/univention-ldap/notify/transaction:4547:‘4553 cn=MB2-Media,cn=memberserver,cn=computers,dc=c-lab,dc=one m\n’: Hole after ‘4546 cn=cloud,cn=memberser
ver,cn=computers,dc=c-lab,dc=one m’
/var/lib/univention-ldap/notify/transaction needs fixing:
- missing transactions in sequence
You can re-run this tool with the option “–fix” in order to try to fix this issue.
See https://help.univention.com/t/problem-umc-diagnostic-module-complains-about-problems-with-udn-replication/11707/1 for more detail
root@central:/var/log/univention# /usr/share/univention-directory-notifier/univention-translog check --fix
2019-10-02 17:37:40,584:ERROR:/var/lib/univention-ldap/notify/transaction:4547:‘4553 cn=MB2-Media,cn=memberserver,cn=computers,dc=c-lab,dc=one m\n’: Hole after ‘4546 cn=cloud,cn=memberser
ver,cn=computers,dc=c-lab,dc=one m’
/var/lib/univention-ldap/notify/transaction needs fixing:
- missing transactions in sequen
finally i tried to reset the listener How to reset Listener / Notifier replication
OSError: [Errno 2] No such file or directory: ‘/var/lib/univention-ldap/notify/transaction.index’
It didnt solve after start services again.
How i can Fix it? I need assistance