Univention Bugzilla – Bug 42553
Base system installations hangs after UMC-web-server removal
Last modified: 2017-03-17 15:54:27 CET
When installing a UCS base system, USS removes the packages "univention-management-console-web-server" and then waits from them to restart, which no longer is possible. Thus USS hangs infinity. > Warte auf den neustart der Server-Komponenten ... $ dpkg -l univention-management-console-web-server ... > rc univention-management-console-web-server 5.0.63-48.1240 ... /var/log/univention/setup.log > = Running 90_remove_univention-system-setup_boot ... > Entfernen von univention-management-console-web-server ... ... > = Running 95_remove_setup_status_file /var/log/apache2/access.log ... > ::1 - - [04/Oct/2016:15:29:25 +0200] "POST /univention-management-console/get/ucr HTTP/1.1" 503 348 "http://localhost/univention-management-console/?username=__systemsetup__&password=NTjbsURmcxMbvFaXwdhy9IhBCMLZXJ&module=setup&flavor=wizard&overview=false&lang=de_DE&width=800" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0" > ::1 - - [04/Oct/2016:15:29:25 +0200] "GET /ucs_setup_process_status.json?request.preventCache=1475587765937 HTTP/1.1" 200 316 "http://localhost/univention-management-console/?username=__systemsetup__&password=NTjbsURmcxMbvFaXwdhy9IhBCMLZXJ&module=setup&flavor=wizard&overview=false&lang=de_DE&width=800" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0" $ ps axf 1 ? Ss 0:00 /bin/busybox init 57 ? Ss 0:00 udevd --daemon --resolve-names=never 8794 ? S 0:00 \_ udevd --daemon --resolve-names=never 8795 ? S 0:00 \_ udevd --daemon --resolve-names=never 193 ? Ss 0:00 /sbin/syslogd -m 0 -O /var/log/syslog -S 195 ? Ss 0:00 /sbin/klogd -c 2 1265 tty2 Ss+ 0:00 /bin/busybox init 1266 tty3 Ss 0:00 -/bin/sh 10449 tty3 S+ 0:00 \_ bin/bash 1267 tty4 Ss+ 0:00 /usr/bin/tail -f /var/log/syslog 1282 tty5 Ss+ 0:13 Xorg -noreset -nolisten tcp 1288 tty1 Ss+ 0:00 /bin/sh /sbin/debian-installer 1307 tty1 Sl+ 0:26 \_ debconf -o d-i /usr/bin/main-menu 1314 tty1 S+ 0:00 \_ /usr/bin/main-menu 27995 tty1 S+ 0:00 \_ udpkg --configure --force-configure di-univention-system-setup 27996 tty1 S+ 0:00 \_ /bin/sh /var/lib/dpkg/info/di-univention-system-setup.postinst configure 9037 tty1 S+ 0:00 \_ /bin/bash /usr/share/univention-system-setup/startxwithfirefox --installer 9470 tty1 S+ 0:00 \_ /bin/su nobody -m --login -c '/usr/share/univention-system-setup/startxwithfirefox' 'http://localhost/univention-management-console/?username=__systemsetup__&password=NTjbsURmcxMbvFaXwdhy9IhBCMLZXJ&module=setup&flavor=wizard&overview=false&lang=de_DE' -- 9471 ? Ss 0:00 \_ -su -c '/usr/share/univention-system-setup/startxwithfirefox' 'http://localhost/univention-management-console/?username=__systemsetup__&password=NTjbsURmcxMbvFaXwdhy9IhBCMLZXJ&module=setup&flavor=wizard&overview=false&lang=de_DE' 9474 ? S 0:00 \_ /bin/bash /usr/share/univention-system-setup/startxwithfirefox http://localhost/univention-management-console/?username=__systemsetup__&password=NTjbsURmcxMbvFaXwdhy9IhBCMLZXJ&module=setup&flavor=wizard&overview=false&lang=de_DE 9488 ? S 0:00 \_ openbox --config-file /etc/xdg/openbox/rc_no_shortcuts.xml 9489 ? Sl 1:15 \_ /opt/firefox/firefox -profile /tmp/tmp.q2VsGggRGq/tmp.JlwoA5RdYC http://localhost/univention-management-console/?username=__systemsetup__&password=NTjbsURmcxMbvFaXwdhy9IhBCMLZXJ&module=setup&flavor=wizard&overview=false&lang=de_DE&width=800 9165 ? Ss 0:00 dhclient -v -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases eth0 9318 ? S 0:00 runsvdir -P /etc/service log: etc/service: warning: unable to stat /etc/service: file does not exist runsvdir /etc/service: warning: unable to stat /etc/service: file does not exist runsvdir /etc/service: warning: unable to stat /etc/service: file does not exist runsvdir /etc/service: warning: unable to stat /etc/service: file does not exist runsvdir /etc/service: warning: unable to stat /etc/service: file does not exist 11797 ? Ss 0:00 /usr/sbin/atd 11892 ? SN 0:00 /usr/bin/python2.7 /usr/sbin/univention-management-console-server restart $ isoinfo -i /dev/sr0 -d ... Volume id: UCS 4.1-3 amd64 1 Data preparer id: XORRISO-1.2.2 2012.04.02.133001, LIBISOBURN-1.2.2, LIBISOFS-1.2.2, LIBBURN-1.2.2 # dd skip=32 bs=1k count=1 if=/dev/sr0 | xxd -g 1 0000000: 01 43 44 30 30 31 01 00 20 20 20 20 20 20 20 20 .CD001.. 0000010: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0000020: 20 20 20 20 20 20 20 20 55 43 53 20 34 2e 31 2d UCS 4.1- 0000030: 33 20 61 6d 64 36 34 20 31 20 20 20 20 20 20 20 3 amd64 1 0000040: 20 20 20 20 20 20 20 20 00 00 00 00 00 00 00 00 ........ 0000050: b8 80 09 00 00 09 80 b8 00 00 00 00 00 00 00 00 ................ 0000060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000070: 00 00 00 00 00 00 00 00 01 00 00 01 01 00 00 01 ................ 0000080: 00 08 08 00 50 01 00 00 00 00 01 50 d3 00 00 00 ....P......P.... 0000090: 00 00 00 00 00 00 00 d4 00 00 00 00 22 00 14 00 ............"... 00000a0: 00 00 00 00 00 14 00 10 00 00 00 00 10 00 74 08 ..............t. 00000b0: 09 09 24 24 00 02 00 00 01 00 00 01 01 00 20 20 ..$$.......... 00000c0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 00000d0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 00000e0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 00000f0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0000100: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0000110: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0000120: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0000130: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0000140: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0000150: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0000160: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0000170: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0000180: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0000190: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 00001a0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 00001b0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 58 4f XO 00001c0: 52 52 49 53 4f 2d 31 2e 32 2e 32 20 32 30 31 32 RRISO-1.2.2 2012 00001d0: 2e 30 34 2e 30 32 2e 31 33 33 30 30 31 2c 20 4c .04.02.133001, L 00001e0: 49 42 49 53 4f 42 55 52 4e 2d 31 2e 32 2e 32 2c IBISOBURN-1.2.2, 00001f0: 20 4c 49 42 49 53 4f 46 53 2d 31 2e 32 2e 32 2c LIBISOFS-1.2.2, 0000200: 20 4c 49 42 42 55 52 4e 2d 31 2e 32 2e 32 20 20 LIBBURN-1.2.2 0000210: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0000220: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0000230: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0000240: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0000250: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0000260: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0000270: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0000280: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0000290: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 00002a0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 00002b0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 00002c0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 00002d0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 00002e0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 00002f0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0000300: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0000310: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0000320: 20 20 20 20 20 20 20 20 20 20 20 20 20 32 30 31 201 0000330: 36 30 38 30 39 30 39 33 36 34 31 30 30 00 32 30 6080909364100.20 0000340: 31 36 30 38 30 39 30 39 33 36 34 31 30 30 00 00 16080909364100.. 0000350: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000360: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000370: 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000380: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000390: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00003a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00003b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00003c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00003d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00003e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00003f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
Why was UMC-webserver package selected for removal? It should not be removed.
(In reply to Florian Best from comment #1) > Why was UMC-webserver package selected for removal? because not base-system-package depends on UMC. > It should not be removed. Yes, it should: <http://docs.software-univention.de/manual-4.1.html#domain-ldap:Base_system> Our EC2 images also can't be used to setup a base-system - so it seems.
As far as I remember it was possible to install UCS 4.0 and UCS 4.1 as Base System and UMC was always uninstalled. So, what did we change that a removal is no longer possible?
(In reply to Stefan Gohmann from comment #3) > As far as I remember it was possible to install UCS 4.0 and UCS 4.1 as Base > System and UMC was always uninstalled. So, what did we change that a removal > is no longer possible? My guess is Bug #40046 /mnt/omar/vmwares/kvm/iso/ucs/UCS_4.1-2-amd64.iso works /mnt/omar/vmwares/kvm/iso/ucs/UCS_4.1-3-amd64.iso is broken
Erik, do you see a chance to fix it?
I could not reproduce the original error. I tried to install a basesystem with a current 4.1-4 DVD and appliance, which also did not work. I fixed these setup errors in univention-system-setup: r74084 univention-system-setup 9.0.5-4.997.201611031621 r74085 changelog r74086 Merge to UCS 4.2
FAIL - univention-management-console-web-server is installed on basesystem installed via ucs appliance OK - install base system (rc univention-management-console-web-server)
(In reply to Felix Botner from comment #7) > FAIL - univention-management-console-web-server is installed on basesystem > installed via ucs appliance We cannot use apt commands in our cleanup scripts, as possible errors in the sources.list files may prevent it, see bug 42808 and bug 42450. Setting back to resolved.
There already is a bug that to many univention-* packages are installed on a basesystem: bug 39944
OK - installation of base systems works Appliance base system have to many univention packages installed, but this will be fixed with bug #39944 OK - merged OK - changelog
UCS 4.1-4 has been released: https://docs.software-univention.de/release-notes-4.1-4-en.html https://docs.software-univention.de/release-notes-4.1-4-de.html If this error occurs again, please use "Clone This Bug".