Problem: UMC service does not start anymore


UMC service does not start anymore You get the following traceback and message:

11.10.21 12:37:32.642  MAIN        ( ERROR   ) : Traceback (most recent call last):
  File "/usr/sbin/univention-management-console-server", line 285, in <module>
  File "/usr/lib/python2.7/dist-packages/daemon/", line 267, in do_action
  File "/usr/lib/python2.7/dist-packages/daemon/", line 186, in _start
  File "/usr/sbin/univention-management-console-server", line 228, in run
    with self.server:
  File "/usr/lib/python2.7/dist-packages/univention/management/console/protocol/", line 366, in __enter__
  File "/usr/lib/python2.7/", line 228, in meth
    return getattr(self._sock,name)(*args)
error: [Errno 22] Das Argument ist ungültig
11.10.21 13:00:52.418  DEBUG_INIT
11.10.21 13:00:52.419  MAIN        ( PROCESS ) : Failed to shutdown server gracefully (may be its already dead): PID file '/var/run/' not locked


Start the umc in terminal:
/usr/bin/python2.7 /usr/sbin/univention-management-console-server -n d4


The service cannot create his socket. Looks similar to Bug 32255
In this case the directory /var/run/univention-management-console exists, but with the permission 755. This is the default permission, but in this case we had to set 777.