Univention Bugzilla – Bug 34679
Traceback when LDAP server is (temporarily) down
Last modified: 2023-06-28 10:46:19 CEST
Not being able to connect to LDAP while the application depends on that is really something that should raise an exception. That being said, we received a traceback feedback (probably LDAP was restarted at this very moment): Traceback: The init function of the module has failed: LDAP_ConnectionError: Opening LDAP connection failed: {'desc': "Can't contact LDAP server"} Traceback (most recent call last): File "/usr/lib/pymodules/python2.6/univention/management/console/protocol/modserver.py", line 228, in handle self.__handler.init() File "/usr/lib/pymodules/python2.6/univention/management/console/modules/uvmm/__init__.py", line 66, in init self.read_profiles() File "/usr/lib/pymodules/python2.6/univention/management/console/modules/uvmm/udm.py", line 79, in wrapper_func raise LDAP_ConnectionError('Opening LDAP connection failed: %s' % (ex,)) LDAP_ConnectionError: Opening LDAP connection failed: {'desc': "Can't contact LDAP server"} Remark: Upgrading SugarCRM Community Edition 93% filter: (objectClass=digitecSugarCRM)
Reported again
(In reply to Dirk Wiesenthal from comment #1) > Reported again Remark: Delete several OUs at once. So maybe this can happen when LDAP is very busy?
(In reply to Dirk Wiesenthal from comment #2) > (In reply to Dirk Wiesenthal from comment #1) > > Reported again > Oh, forgot to mention, this was a different Traceback, not UVMM but UDM. Can't contact LDAP server when it is very busy? So maybe LDAP was not restarted at this moment, just a heavy load on the server. Traceback: File "/usr/lib/pymodules/python2.6/notifier/threads.py", line 82, in _run tmp = self._function() File "/usr/lib/pymodules/python2.6/notifier/__init__.py", line 104, in __call__ return self._function( *tmp, **self._kwargs ) File "/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/__init__.py", line 971, in _thread for module, obj in list_objects( container, object_type = object_type ): File "/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/udm_ldap.py", line 170, in wrapper_func raise LDAP_ConnectionError( 'Opening LDAP connection failed: %s' % str( e ) ) LDAP_ConnectionError: Opening LDAP connection failed: {'desc': "Can't contact LDAP server"}
*** This bug has been marked as a duplicate of bug 35254 ***
Reported again, 3.2-4 errata260 (Borgfeld)
*** This bug has been marked as a duplicate of bug 38634 ***