Univention Bugzilla – Bug 41917
UCS 4.1-3 installation stalled at 05univention-bind - cannot contact ldap server
Last modified: 2016-09-21 20:57:29 CEST
Created attachment 7856 [details] logs_etc.tgz A quick basic installation of a plain UCS master from ucs_4.1-3-20160804-100104-dvd-amd64.iso failed, the graphical installer hangs at 05uinvention-bind and setup.log shows a lot of univention-dnsedit messages "timeout while trying to contact LDAP server ucs6675.foo90.intranet". The attached archive containes all logs and /etc as well as /root/slapcat.log, which only shows two entries, the ldap/base and cn=admin,dc=unassigned-domain. The /etc/ldap.secret is world readable and the password isn't accepted by the running slapd process.
From var/log/univention/setup.log: __MSG__:Einrichten von 01univention-ldap-server-init __STEP__:1 Configure /usr/lib/univention-install/01univention-ldap-server-init.inst 2016-08-04 20:38:18.478191632+02:00 (in joinscript_init) ldap/server/type not set This happens if univention-server-master is not installed: $ rgrep 'ldap/server/type' univention-server/debian/univention-server-master.postinst ldap/server/type=master $ From var/log/univention/setup.log: __MSG__:Aufruf des Nach-Installations-Triggers install-info __STEP__:35.8065 __MSG__:Aufruf des Nach-Installations-Triggers mime-support __STEP__:35.8065 __ERR__:univention-server-master: Failed to install __STEP__:0 Unfortunately, the error isn't logged.
After some more debugging. It works if I install the old univention-ssl package. With the new univention-ssl package the preinst aborts: Unpacking univention-server-master (from .../univention-server-master_11.0.1-8.230.201510141128_all.deb) ... no certificate for unassigned-hostname.unassigned-domain registered /var/lib/dpkg/tmp.ci/preinst: 78: local: argument:: bad variable name dpkg: error processing /media/cdrom///all/univention-server-master_11.0.1-8.230.201510141128_all.deb (--unpack): subprocess new pre-installation script returned error exit status 2 Errors were encountered while processing: /media/cdrom///all/univention-server-master_11.0.1-8.230.201510141128_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1) root@unassigned-hostname:~# If I add 'set -x' in preinst, I get: + echo no certificate for unassigned-hostname.unassigned-domain registered no certificate for unassigned-hostname.unassigned-domain registered + return 2 + [ 2 -eq 2 ] + install -m 700 -d /etc/univention/ssl/unassigned-hostname.unassigned-domain + [ 37 -gt 64 ] + mk_config /etc/univention/ssl/unassigned-hostname.unassigned-domain/openssl.cnf 1825 unassigned-hostname.unassigned-domain unassigned-hostname.unassigned-domain unassigned-hostname + local outfile=/etc/univention/ssl/unassigned-hostname.unassigned-domain/openssl.cnf + local password=?Missing argument: password /var/lib/dpkg/tmp.ci/preinst: 78: local: argument:: bad variable name dpkg: error processing x.deb (--install): subprocess new pre-installation script returned error exit status 2 Errors were encountered while processing: x.deb root@unassigned-hostname:~# Philipp, please have a look.
r71441 | Bug #41917 SSL: Allow empty passwords r71443 | Bug #41917 SSL: Fix dash local variable quoting r71444 | Bug #41917 SSL: Changelog entry Package: univention-ssl Version: 10.0.0-16.173.201608080903 Branch: ucs_4.1-0 Scope: ucs4.1-3 ucs_4.1-3-20160808-113834-dvd-amd64.iso
Code review Ok and installation works fine. Changelog is present too.
UCS 4.1-3 has been released: https://docs.software-univention.de/release-notes-4.1-3-en.html https://docs.software-univention.de/release-notes-4.1-3-de.html If this error occurs again, please use "Clone This Bug".