Univention Bugzilla – Bug 30439
Installation of UCC management components leads to crashing UMC server
Last modified: 2013-07-25 12:49:46 CEST
The following setup: One Master and one additional UCS server (so far reproduced with backup, slave and member), both with errata 37 installed. Shortly after installation of univention-add-app ucc_20130218 ucc-management-integration the UMC server process is crashing. Everything works after a /etc/init.d/univention-management-console-server restart (I've added that to the UCC installation instructions) I'm attaching logfiles with debug level 4, but there's not a whole lot more info than: 14.02.13 09:34:13.712 MAIN ( PROCESS ) : Processor: dying
This is a UCC problem due to a syntactic error. I needed to start the UMC server as foreground process: ==================== invoke-rc.d univention-management-console-server stop univention-management-console-server -d 4 -n ==================== Then I could get the following traceback (which is unfortunately not logged!): > Traceback (most recent call last): > File "/usr/sbin/univention-management-console-server", line 209, in <module> > umc_daemon.do_action() > File "/usr/lib/pymodules/python2.6/daemon/runner.py", line 186, in do_action > func(self) > File "/usr/lib/pymodules/python2.6/daemon/runner.py", line 131, in _start > self.app.run() > File "/usr/sbin/univention-management-console-server", line 192, in run > notifier.loop() > File "/usr/lib/pymodules/python2.6/notifier/nf_generic.py", line 284, in loop > step() > File "/usr/lib/pymodules/python2.6/notifier/nf_generic.py", line 271, in step > not __sockets[ cond ][ fd ]( sock_obj ): > File "/usr/lib/pymodules/python2.6/univention/management/console/protocol/server.py", line 161, in _receive > self._handle( state, msg ) > File "/usr/lib/pymodules/python2.6/univention/management/console/protocol/server.py", line 273, in _handle > state.processor = Processor( *state.credentials() ) > File "/usr/lib/pymodules/python2.6/univention/management/console/protocol/session.py", line 213, in __init__ > udm_modules.update() > File "/usr/lib/pymodules/python2.6/univention/admin/modules.py", line 88, in update > os.path.walk(dir, _walk, p) > File "/usr/lib/python2.6/posixpath.py", line 236, in walk > walk(name, func, arg) > File "/usr/lib/python2.6/posixpath.py", line 228, in walk > func(arg, top, names) > File "/usr/lib/pymodules/python2.6/univention/admin/modules.py", line 72, in _walk > m=__import__(mod, globals(), locals(), name) > File "/usr/lib/pymodules/python2.6/univention/admin/handlers/policies/ucc_desktop.py", line 78, in <module> > syntax=univention.admin.syntax.uccDesktopEnvVar, > AttributeError: 'module' object has no attribute 'uccDesktopEnvVar' > 13.02.13 09:51:05.213 MAIN ( PROCESS ) : Processor: dying
(In reply to comment #1) > This is a UCC problem due to a syntactic error. I needed to start the UMC > server as foreground process: ... wrong, it is not a syntactic problem. The syntax is unknown at that point in time. A restart of the UMC server in one of the integration packages should be sufficient.
Reported via Ticket #2013032721013831
A restart of univention-management-console-server has been added to ucc-management-integration.postinst ucc-management-integration 1.1.10-1 rev 39818
Ok - univention-management-console-server restart in ucc-management-integration.postinst OK - YAML
This does not fix the error. It helps for univention-add-app, but not for installation of UCC in Univention App Center (because restart is prevented). One has to fix it in the UMC Server itself.
We may consider reverting the patch and mark this bug as DUPLICATE of Bug#31154 - although it does not hurt to restart UMC-Server.
*** Bug 31274 has been marked as a duplicate of this bug. ***
(In reply to comment #8) > *** Bug 31274 has been marked as a duplicate of this bug. *** The error still occurred: > File "/usr/lib/pymodules/python2.6/univention/admin/handlers/policies/ucc_desktop.py", line 78, in <module> > syntax=univention.admin.syntax.uccDesktopEnvVar, > AttributeError: 'module' object has no attribute 'uccDesktopEnvVar' The syntax should be defined in ucc_desktop.py as well. The problem is that the syntax is not loaded at this point.
The error has been fixed with an errata from bug 31154 which was released on 2013-05-22. *** This bug has been marked as a duplicate of bug 31154 ***
OK
This is a duplicate of http://errata.univention.de/ucs/3.1/109.html