Bug 38019 - UMC-Server: failed to start "Address already in use"
UMC-Server: failed to start "Address already in use"
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 4.0
Other Linux
: P5 normal (vote)
: UCS 4.0-x
Assigned To: UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-03-12 10:25 CET by Sönke Schwardt-Krummrich
Modified: 2019-01-03 07:18 CET (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Schwardt-Krummrich univentionstaff 2015-03-12 10:25:24 CET
The following tracebacks occur repeatedly at least in UCS@school jenkins machines:

19.11.14 06:50:04.694  DEBUG_INIT
19.11.14 06:50:04.695  MAIN        ( WARN    ) : Shutting down all open connections
19.11.14 08:39:42.833  DEBUG_INIT
19.11.14 08:39:42.834  MAIN        ( PROCESS ) : Failed to shutdown server gracefully (may be its already dead): PID file '/var/run/umc-server.pid' not locked
19.11.14 08:39:42.987  DEBUG_INIT
19.11.14 08:39:42.988  MAIN        ( PROCESS ) : Reload failed: server ist not running
19.11.14 08:39:55.185  DEBUG_INIT
19.11.14 08:39:55.186  MAIN        ( PROCESS ) : Reload failed: server ist not running
19.11.14 08:39:55.559  DEBUG_INIT
19.11.14 08:39:55.572  MAIN        ( PROCESS ) : Reload failed: server ist not running
19.11.14 08:39:57.569  DEBUG_INIT
19.11.14 08:39:57.570  MAIN        ( PROCESS ) : Reload failed: server ist not running
19.11.14 08:40:42.256  DEBUG_INIT
19.11.14 08:40:42.257  MAIN        ( PROCESS ) : Reload failed: server ist not running
19.11.14 08:40:43.070  DEBUG_INIT
19.11.14 08:40:44.164  MAIN        ( ERROR   ) : 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.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 189, in run
    self.server = Server( port = self.options.port )
  File "/usr/lib/pymodules/python2.7/univention/management/console/protocol/server.py", line 432, in __init__
    self.connection.bind(('', self.__port))
  File "/usr/lib/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
error: [Errno 98] Address already in use

19.11.14 08:40:45.193  DEBUG_INIT
19.11.14 08:40:45.194  MAIN        ( PROCESS ) : Starting UMC server ...
19.11.14 08:40:45.715  DEBUG_INIT
19.11.14 08:40:45.715  MAIN        ( PROCESS ) : Reloading configuration ...
19.11.14 08:40:46.017  MAIN        ( ERROR   ) : 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.7/daemon/runner.py", line 186, in do_action
    func(self)
  File "/usr/sbin/univention-management-console-server", line 142, in _restart
    self._start()
  File "/usr/lib/pymodules/python2.7/daemon/runner.py", line 131, in _start
    self.app.run()
  File "/usr/sbin/univention-management-console-server", line 189, in run
    self.server = Server( port = self.options.port )
  File "/usr/lib/pymodules/python2.7/univention/management/console/protocol/server.py", line 432, in __init__
    self.connection.bind(('', self.__port))
  File "/usr/lib/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
error: [Errno 98] Address already in use

19.11.14 08:40:46.443  DEBUG_INIT
19.11.14 08:40:46.444  MAIN        ( PROCESS ) : Reload failed: server ist not running
19.11.14 08:40:52.522  DEBUG_INIT
19.11.14 08:40:52.523  MAIN        ( PROCESS ) : Reload failed: server ist not running
10.02.15 07:23:26.881  DEBUG_INIT
10.02.15 07:23:26.883  MAIN        ( PROCESS ) : Failed to shutdown server gracefully (may be its already dead): PID file '/var/run/umc-server.pid' not locked
10.02.15 07:23:27.027  DEBUG_INIT
10.02.15 07:23:27.027  MAIN        ( PROCESS ) : Reload failed: server ist not running
10.02.15 07:23:40.771  DEBUG_INIT
10.02.15 07:23:40.776  MAIN        ( PROCESS ) : Reload failed: server ist not running
10.02.15 07:23:41.246  DEBUG_INIT
10.02.15 07:23:41.247  MAIN        ( PROCESS ) : Reload failed: server ist not running
10.02.15 07:23:43.038  DEBUG_INIT
10.02.15 07:23:43.038  MAIN        ( PROCESS ) : Reload failed: server ist not running
10.02.15 07:25:15.402  DEBUG_INIT
10.02.15 07:25:15.403  MAIN        ( PROCESS ) : Reload failed: server ist not running
10.02.15 07:25:16.233  DEBUG_INIT
10.02.15 07:25:17.326  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 189, in run
    self.server = Server( port = self.options.port )
  File "/usr/lib/pymodules/python2.7/univention/management/console/protocol/server.py", line 424, in __init__
    self.connection.bind(('', self.__port))
  File "/usr/lib/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
error: [Errno 98] Address already in use

10.02.15 07:25:18.537  DEBUG_INIT
10.02.15 07:25:18.538  MAIN        ( PROCESS ) : Starting UMC server ...
10.02.15 07:25:18.953  DEBUG_INIT
10.02.15 07:25:18.954  MAIN        ( PROCESS ) : Reloading configuration ...
10.02.15 07:25:19.575  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/sbin/univention-management-console-server", line 142, in _restart
    self._start()
  File "/usr/lib/pymodules/python2.7/daemon/runner.py", line 131, in _start
    self.app.run()
  File "/usr/sbin/univention-management-console-server", line 189, in run
    self.server = Server( port = self.options.port )
  File "/usr/lib/pymodules/python2.7/univention/management/console/protocol/server.py", line 424, in __init__
    self.connection.bind(('', self.__port))
  File "/usr/lib/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
error: [Errno 98] Address already in use

10.02.15 07:25:19.816  DEBUG_INIT
10.02.15 07:25:19.816  MAIN        ( PROCESS ) : Reload failed: server ist not running
10.02.15 07:27:18.114  DEBUG_INIT
10.02.15 07:27:18.115  MAIN        ( PROCESS ) : Reload failed: server ist not running
10.02.15 07:28:18.716  DEBUG_INIT
10.02.15 07:28:18.717  MAIN        ( PROCESS ) : Starting UMC server ...
10.02.15 07:28:19.756  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/sbin/univention-management-console-server", line 142, in _restart
    self._start()
  File "/usr/lib/pymodules/python2.7/daemon/runner.py", line 131, in _start
    self.app.run()
  File "/usr/sbin/univention-management-console-server", line 189, in run
    self.server = Server( port = self.options.port )
  File "/usr/lib/pymodules/python2.7/univention/management/console/protocol/server.py", line 424, in __init__
    self.connection.bind(('', self.__port))
  File "/usr/lib/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
error: [Errno 98] Address already in use

11.03.15 06:32:21.093  DEBUG_INIT
11.03.15 06:32:26.824  MAIN        ( PROCESS ) : Server started
11.03.15 06:34:22.473  DEBUG_INIT
11.03.15 06:34:22.487  MAIN        ( PROCESS ) : Reloading configuration ...
11.03.15 06:34:22.995  DEBUG_INIT
11.03.15 06:34:22.996  MAIN        ( PROCESS ) : Reloading configuration ...
11.03.15 06:34:23.487  DEBUG_INIT
11.03.15 06:34:23.488  MAIN        ( PROCESS ) : Reloading configuration ...
11.03.15 06:35:01.483  DEBUG_INIT
11.03.15 06:35:01.484  MAIN        ( PROCESS ) : Reloading configuration ...
11.03.15 06:35:02.042  DEBUG_INIT
11.03.15 06:35:02.043  MAIN        ( PROCESS ) : Reloading configuration ...
11.03.15 06:38:23.141  DEBUG_INIT
11.03.15 06:38:23.143  MAIN        ( PROCESS ) : Reloading configuration ...
11.03.15 07:03:01.552  DEBUG_INIT
11.03.15 07:03:01.553  MAIN        ( PROCESS ) : Stopping UMC server ...
11.03.15 07:03:01.553  MAIN        ( WARN    ) : Shutting down all open connections
11.03.15 07:03:01.568  MAIN        ( PROCESS ) : Starting UMC server ...
11.03.15 07:03:03.055  MAIN        ( PROCESS ) : Server started
11.03.15 07:03:24.367  DEBUG_INIT
11.03.15 07:03:24.368  MAIN        ( WARN    ) : Shutting down all open connections
11.03.15 07:05:59.684  DEBUG_INIT
Comment 1 Stefan Gohmann univentionstaff 2019-01-03 07:18:25 CET
This issue has been filled against UCS 4.0. The maintenance with bug and security fixes for UCS 4.0 has ended on 31st of May 2016.

Customers still on UCS 4.0 are encouraged to update to UCS 4.3. Please contact
your partner or Univention for any questions.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.