Univention Bugzilla – Bug 45692
appcenter/query: ldapError: Server is unavailable
Last modified: 2019-01-03 07:20:15 CET
Version: 4.2-2 errata209 (Lesum) Die Ausführung des Kommandos appcenter/query ist fehlgeschlagen: Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 250, in execute function.__func__(self, request, *args, **kwargs) File "%PY2.7%/univention/management/console/modules/decorators.py", line 318, in _response result = _multi_response(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 192, in _response return function(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 440, in _response return list(function(self, iterator, *nones)) File "%PY2.7%/univention/management/console/modules/decorators.py", line 286, in _fake_func yield function(self, *args) File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 199, in query info = domain.to_dict(apps) File "%PY2.7%/univention/appcenter/actions/domain.py", line 98, in to_dict hosts = self.get_appcenter_hosts(lo, pos) File "%PY2.7%/univention/appcenter/actions/domain.py", line 80, in get_appcenter_hosts objs = search_objects('computers/%s' % role, lo, pos) File "%PY2.7%/univention/appcenter/udm.py", line 115, in search_objects module = _get_module(module, lo, pos) File "%PY2.7%/univention/appcenter/udm.py", line 64, in _get_module udm_modules.init(lo, pos, mod) File "%PY2.7%/univention/admin/modules.py", line 136, in init update_extended_attributes(lo, module, position) File "%PY2.7%/univention/admin/modules.py", line 267, in update_extended_attributes for dn, attrs in lo.search(base=position.getDomainConfigBase(), filter=filter_format('(&(objectClass=univentionUDMProperty)(univentionUDMPropertyModule=%s)(univentionUDMPropertyVersion=2))', [name(module)])): File "%PY2.7%/univention/admin/uldap.py", line 437, in search raise univention.admin.uexceptions.ldapError(_err2str(msg), original_exception=msg) ldapError: Server is unavailable
Reported again: Version: 4.2-2 errata222 (Lesum) Die Ausführung des Kommandos appcenter/query ist fehlgeschlagen: Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 250, in execute function.__func__(self, request, *args, **kwargs) File "%PY2.7%/univention/management/console/modules/decorators.py", line 318, in _response result = _multi_response(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 192, in _response return function(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 440, in _response return list(function(self, iterator, *nones)) File "%PY2.7%/univention/management/console/modules/decorators.py", line 286, in _fake_func yield function(self, *args) File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 199, in query info = domain.to_dict(apps) File "%PY2.7%/univention/appcenter/actions/domain.py", line 104, in to_dict app_ldap_objects = search_objects('appcenter/app', lo, pos) File "%PY2.7%/univention/appcenter/udm.py", line 120, in search_objects objs = module.lookup(None, lo, filter_str, base=base) File "%PY2.7%/univention/admin/handlers/appcenter/app.py", line 373, in lookup for dn, attrs in lo.search(unicode(filter), base, scope, [], unique, required, timeout, sizelimit): File "%PY2.7%/univention/admin/uldap.py", line 437, in search raise univention.admin.uexceptions.ldapError(_err2str(msg), original_exception=msg) ldapError: Server is unavailable
Version: 4.2-3 errata256 (Lesum) Remark: Install Kopano Webapp after installing Kopano Core Execution of command 'appcenter/query' has failed: Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 250, in execute function.__func__(self, request, *args, **kwargs) File "%PY2.7%/univention/management/console/modules/decorators.py", line 318, in _response result = _multi_response(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 192, in _response return function(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 440, in _response return list(function(self, iterator, *nones)) File "%PY2.7%/univention/management/console/modules/decorators.py", line 286, in _fake_func yield function(self, *args) File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 199, in query info = domain.to_dict(apps) File "%PY2.7%/univention/appcenter/actions/domain.py", line 98, in to_dict hosts = self.get_appcenter_hosts(lo, pos) File "%PY2.7%/univention/appcenter/actions/domain.py", line 80, in get_appcenter_hosts objs = search_objects('computers/%s' % role, lo, pos) File "%PY2.7%/univention/appcenter/udm.py", line 124, in search_objects udm_objects.open(obj) File "%PY2.7%/univention/admin/objects.py", line 104, in open object.open() File "%PY2.7%/univention/admin/handlers/computers/domaincontroller_slave.py", line 413, in open self.nagios_open() File "%PY2.7%/univention/admin/nagios.py", line 180, in nagios_open self['nagiosServices'] = self.nagiosGetAssignedServices() File "%PY2.7%/univention/admin/nagios.py", line 145, in nagiosGetAssignedServices base=self.position.getDomain(), attr=[]) File "%PY2.7%/univention/admin/uldap.py", line 437, in search raise univention.admin.uexceptions.ldapError(_err2str(msg), original_exception=msg) ldapError: Server is unavailable
This issue has been filled against UCS 4.1. The maintenance with bug and security fixes for UCS 4.1 has ended on 5st of April 2018. Customers still on UCS 4.1 are encouraged to update to UCS 4.3. Please contact your partner or Univention for any questions. If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.