Management-Console-Server repeatedly Crashes

Due to missing 64-Bit Test Capabilities I have installed the 32 Bit 3.2-5 Version of UCS and migrated via Management Console to 4.01. Now Errors detected, but management console keeps crashing. The log of the crash ist copied below. Looks like a Bug, but could also be specifics in my installation.
Is installed in a 32 Bit Virtual Box as a 32 Bit application, no errors, issues etc. reported and no corrupt packages found. Restarting is not solving the issue - crashes again. Appreciate an idea how to solve.

08.04.15 17:35:09.791 DEBUG_INIT 08.04.15 17:35:36.963 MAIN ( PROCESS ) : Server started 08.04.15 17:37:16.359 SSL ( WARN ) : SSL error in _receive: [('SSL routines', 'SSL23_READ', 'ssl handshake failure')]. Probably the socket was closed by the client. 08.04.15 17:52:17.557 ACL ( PROCESS ) : Allowed UMC operations: 08.04.15 17:52:17.605 ACL ( PROCESS ) : User | Host | Flavor | Command | Options 08.04.15 17:52:17.605 ACL ( PROCESS ) : ****************************************************************************** 08.04.15 17:52:17.605 ACL ( PROCESS ) : False | main | * | appcenter/* | {} 08.04.15 17:52:17.606 ACL ( PROCESS ) : False | main | * | apps/* | {} 08.04.15 17:52:17.606 ACL ( PROCESS ) : False | main | * | diagnostic/* | {} 08.04.15 17:52:17.606 ACL ( PROCESS ) : False | main | * | ip/change | {} 08.04.15 17:52:17.606 ACL ( PROCESS ) : False | main | * | join/* | {} 08.04.15 17:52:17.606 ACL ( PROCESS ) : False | main | * | lib/* | {} 08.04.15 17:52:17.607 ACL ( PROCESS ) : False | main | * | lib/server/* | {} 08.04.15 17:52:17.607 ACL ( PROCESS ) : False | main | * | lib/server/reboot | {} 08.04.15 17:52:17.607 ACL ( PROCESS ) : False | main | * | lib/server/shutdown | {} 08.04.15 17:52:17.607 ACL ( PROCESS ) : False | main | * | lib/sso/* | {} 08.04.15 17:52:17.607 ACL ( PROCESS ) : False | main | * | mrtg/* | {} 08.04.15 17:52:17.727 ACL ( PROCESS ) : False | main | * | oxldb/* | {} 08.04.15 17:52:17.727 ACL ( PROCESS ) : False | main | * | passwordchange/* | {} 08.04.15 17:52:17.727 ACL ( PROCESS ) : False | main | * | quota/* | {} 08.04.15 17:52:17.727 ACL ( PROCESS ) : False | main | * | reboot/* | {} 08.04.15 17:52:17.727 ACL ( PROCESS ) : False | main | * | services/* | {} 08.04.15 17:52:17.727 ACL ( PROCESS ) : False | main | * | setup/* | {} 08.04.15 17:52:17.727 ACL ( PROCESS ) : False | main | * | sysinfo/* | {} 08.04.15 17:52:17.727 ACL ( PROCESS ) : False | main | * | top/* | {} 08.04.15 17:52:17.727 ACL ( PROCESS ) : False | main | * | ucr/* | {} 08.04.15 17:52:17.727 ACL ( PROCESS ) : False | main | * | udm/* | {} 08.04.15 17:52:17.727 ACL ( PROCESS ) : False | main | users/self | udm/* | {'objectType': 'users/self'} 08.04.15 17:52:17.727 ACL ( PROCESS ) : False | main | * | udm/request_new_license | {} 08.04.15 17:52:17.728 ACL ( PROCESS ) : False | main | * | updater/* | {} 08.04.15 17:52:17.728 ACL ( PROCESS ) : True | main | users/self | udm/* | {'objectType': 'users/self'} 08.04.15 17:52:17.728 ACL ( PROCESS ) : 08.04.15 17:52:17.850 RESOURCES ( WARN ) : Duplicated flavor for module udm: mail/mail 08.04.15 17:52:36.053 MAIN ( PROCESS ) : running: ['/usr/sbin/univention-management-console-module', '-m', 'udm', '-s', '/var/run/univention-management-console/3285-1428508356053.socket', '-d', '2', '-l', 'de_DE.UTF-8'] 08.04.15 17:52:36.996 MAIN ( PROCESS ) : running: ['/usr/sbin/univention-management-console-module', '-m', 'join', '-s', '/var/run/univention-management-console/3285-1428508356995.socket', '-d', '2', '-l', 'de_DE.UTF-8'] 08.04.15 17:52:46.759 MAIN ( PROCESS ) : ModuleProcess: dying 08.04.15 17:52:49.595 MAIN ( ERROR ) : Traceback (most recent call last): File "/usr/sbin/univention-management-console-server", line 210, in <module> umc_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 131, in _start self.app.run() File "/usr/sbin/univention-management-console-server", line 192, in run notifier.loop() File "/usr/lib/pymodules/python2.7/notifier/nf_generic.py", line 284, in loop step() File "/usr/lib/pymodules/python2.7/notifier/nf_generic.py", line 243, in step if not timer[ CALLBACK ](): File "/usr/lib/pymodules/python2.7/notifier/__init__.py", line 104, in __call__ return self._function( *tmp, **self._kwargs ) File "/usr/lib/pymodules/python2.7/univention/management/console/protocol/session.py", line 833, in _mod_connect _send_error() File "/usr/lib/pymodules/python2.7/univention/management/console/protocol/session.py", line 825, in _send_error self.__processes[mod.name].__del__() File "/usr/lib/pymodules/python2.7/univention/management/console/protocol/session.py", line 165, in __del__ self.__process.stop() File "/usr/lib/pymodules/python2.7/notifier/popen.py", line 211, in stop cb = Callback( self.__kill, 15 ) NameError: global name 'Callback' is not defined

We’ve seen this issue once before. In the previous case the system didn’t have enough memory. Please check the output of free -m
Maybe you can see more error messages in /var/log/syslog?

Thanks for the fast reply, have to do some more evaluations. System has enough free swapfile resources so that memory in general is not a problem, but memory resident functions like a Java heap may cause a bottleneck. Will verify by moving it to a system with more main memory.

Have checked memory as a cause and believe I can exclude that. Added 1 GB of memory, moved to a new hardware (nearly all drivers different), but have imported same virtual machine. Virtual Box new machine has a minor deviation in release causing Guest additions to work with restrictions (fixed window), but no real issue. Tried to add a user and failed with identical log data, assume is identical root cause. Controlled memory use via KDE Sytem monitor throughout execution and haven’t seen any heavy usage of memory, always a minimum of 800 MB free and no use of swap. Is in line with my expectation, looks like root cause is within the virtual server.
System is empty - just fresh installed, one user defined with nearly no data,OX App installed but not configured for use, no other app or data, no network monitoring logs, Apps monitoring etc. Role is domain master, but up to now domain only consists of master and nothing else.
Sorry and regards

Hello Edgar,

I attached a patch for this issue which can be applied to your system in the following manner:
Download the attachment and copy it to your UCS system into the /root/ directory.
Connect via SSH to the UCS system and execute the following command (as root):
patch -i /root/python_notifier_callback.patch -p0 -d /

Then please restart the UMC daemons by executing:
invoke-rc.d univention-management-console-server restart
invoke-rc.d univention-management-console-web-server restart

Can you please have a look into the following log files, they might contain more information about the error:
/var/log/univention/management-console-module-udm.log
/var/log/univention/management-console-module-join.log

Thank you for your feedback!
Best regards
Florian Best
python_notifier_callback.patch (1.37 KB)

Mastodon