Univention Bugzilla – Bug 44029
Error 502 while doing an UMC Software Update
Last modified: 2017-04-04 18:29:11 CEST
Created attachment 8617 [details] UCS 4.2 Update Error 502 While doing a Software Update within UMC, first a hint arises telling me to don't switch off the system; the system might be temporarily unavailable. But after a while an 'error 502 ' is shown (see attachment).
After a hard-refresh (F5 → "Leave site : OK") the upcoming Login fails by telling 'UMC Web Server is not running' - probably this has somthing to do with the previous behavior. (Screenshot attached)
Created attachment 8618 [details] UCS 4.2 LoginError after Update Error 502
Does this happen during Upgrade from UCS 4.1 → UCS 4.2 ? Or during a regular package update?
Created attachment 8619 [details] UCS 4.2 UMC-WebServer after Update Error 502 after examining the underlaying problem I tried to start the univention-management-web-server but failed → see attachment. the same thing (screenshot) in textual → https://bepasty.knut.univention.de/xkoqLobf
(In reply to Florian Best from comment #3) > Does this happen during Upgrade from UCS 4.1 → UCS 4.2 ? Or during a regular > package update? The system was a clean single master installation from the latest iso (2017-03-22 10:00) and it only was a software update.
looks like umc-server and umc-web-server could not be configured and the join-scripts failed → https://bepasty.knut.univention.de/4rDhcbkv
If so, please attach the join.log.
Created attachment 8620 [details] updater.log
Created attachment 8621 [details] umc-server.log
Created attachment 8622 [details] umc-web-server.log
(In reply to Florian Best from comment #7) > If so, please attach the join.log. I attached logfiles with errors in it; the join.log is pretty empty: 58d25cee OVER: Loading Translog Overlay 58d25cee Loading shadowbind Overlay.OVER: db_init 58d25cee OVER: Configuring Translog Overlay 58d25cee OVER: Configured Translog Overlay to use file "/var/lib/univention-ldap/listener/listener" 58d25cee shadowbind_db_init 58d25cee shadowbind_db_config 58d25cee shadowbind_db_open 58d25cee OVER: db_close 58d25cee shadowbind_db_destroy 58d25cee OVER: db_destroy
Traceback (most recent call last): File "/usr/sbin/univention-management-console-web-server", line 1530, in <module> http_daemon.do_action() File "/usr/lib/pymodules/python2.7/daemon/runner.py", line 186, in do_action func(self) File "/usr/lib/pymodules/python2.7/daemon/runner.py", line 121, in _start self.daemon_context.open() File "/usr/lib/pymodules/python2.7/daemon/daemon.py", line 344, in open self.pidfile.__enter__() File "/usr/lib/pymodules/python2.7/lockfile.py", line 223, in __enter__ self.acquire() File "/usr/lib/pymodules/python2.7/daemon/pidlockfile.py", line 109, in acquire super(TimeoutPIDLockFile, self).acquire(timeout, *args, **kwargs) File "/usr/lib/pymodules/python2.7/daemon/pidlockfile.py", line 59, in acquire super(PIDLockFile, self).acquire(*args, **kwargs) File "/usr/lib/pymodules/python2.7/lockfile.py", line 261, in acquire raise LockTimeout lockfile.LockTimeout
Workaround: # rm /var/run/umc-web-server.pid.lock
Created attachment 8631 [details] univention-management-console-web-server.log.1 vom 23.03.2017 here it's spaming TraceBacks!
(In reply to Nico Stöckigt from comment #16) > Created attachment 8631 [details] > univention-management-console-web-server.log.1 vom 23.03.2017 > > here it's spaming TraceBacks! after another UMC-Software-Update (webfrontend) the UMC hangs again.
I think it is a same problem as described in Bug #44052. *** This bug has been marked as a duplicate of bug 44052 ***
Yes, duplicate.
UCS 4.2 has been released: https://docs.software-univention.de/release-notes-4.2-0-en.html https://docs.software-univention.de/release-notes-4.2-0-de.html If this error occurs again, please use "Clone This Bug".