Univention Bugzilla – Bug 40575
CRITICAL:__main__:OpenLDAP slapd is running; aborting
Last modified: 2016-04-26 09:48:07 CEST
The message is shown during a normal package upgrade on a DC master: --------------------------------------------------------------------------- univention-ldap-server (12.1.6-21.811.201602031616) wird eingerichtet ... File: /etc/init.d/slapd File: /var/lib/univention-ldap/ldap/DB_CONFIG File: /etc/cron.d/univention-ldap Multifile: /etc/ldap/slapd.conf Not updating ldap/translogfile Setting security/packetfilter/package/univention-ldap-server/tcp/389/all Setting security/packetfilter/package/univention-ldap-server/tcp/389/all/en Setting security/packetfilter/package/univention-ldap-server/tcp/636/all Setting security/packetfilter/package/univention-ldap-server/tcp/636/all/en Setting security/packetfilter/package/univention-ldap-server/tcp/7389/all Setting security/packetfilter/package/univention-ldap-server/tcp/7389/all/en Setting security/packetfilter/package/univention-ldap-server/tcp/7636/all Setting security/packetfilter/package/univention-ldap-server/tcp/7636/all/en File: /etc/security/packetfilter.d/10_univention-firewall_start.sh File: /etc/security/packetfilter.d/80_univention-firewall_policy.sh Stopping Univention iptables configuration::. Starting Univention iptables configuration::. Not updating ldap/debug/level Not updating slapd/port Not updating slapd/port/ldaps Not updating ldap/database/type Not updating ldap/database/mdb/maxsize Not updating ldap/sizelimit Not updating ldap/cachesize Not updating ldap/idlcachesize Not updating ldap/idletimeout Not updating ldap/index/autorebuild Not updating ldap/threads Not updating ldap/tool-threads Not updating ldap/acl/user/password/change Not updating ldap/acl/slavepdc Not updating ldap/acl/nestedgroups Not updating ldap/database/bdb/db_config_options Not updating ldap/database/bdb/set_flags Not updating ldap/autostart Not updating ldap/tls/dh/paramfile Not updating ldap/maxopenfiles Not updating ldap/acl/read/anonymous Multifile: /etc/ldap/slapd.conf CRITICAL:__main__:OpenLDAP slapd is running; aborting ---------------------------------------------------------------------------
This is a Bug introduced accidentally by r66668 (Bug #39866), where the "stop_slapd" was removed before doing the /usr/share/univention-ldap/ldap_setup_index
Created attachment 7450 [details] Kill OpenLDAP slapd during upgrade
r67289 | Bug #40575 ldap: Kill OpenLDAP slapd during upgrade Add missing slapd stop
I'll move it to 4.1-1-errata. The package haven't been built and a YAML doesn't exist so we won't get it into the current errata updates. I've reverted the patch: r67336
r67514 | Bug #40575 ldap: Kill OpenLDAP slapd during upgrade Package: univention-ldap Version: 12.1.6-22.812.201602171541 Branch: ucs_4.1-0 Scope: errata4.1-1 r67516 | Bug #40575 ldap: Kill OpenLDAP slapd during upgrade YAML univention-ldap.yaml
Code review: OK YAML: OK (it will be released for UCS 4.1-0 and 4.1-1 which is OK) Tests: OK
<http://errata.software-univention.de/ucs/4.1/119.html>
*** Bug 40886 has been marked as a duplicate of this bug. ***