UCS Web Console not running


#1

Hello everyone. I'm hoping someone can help me with a problem I am having.

I'm running the latest version of UCS and since a few days the web console keeps crashing and giving me a "server not found" error when accessing the URL.

Restarting Apache and UCS have not helped.

I've checked the apache and univention logs and can't find anything where I would say the problem is coming from.

Any help would be great!


#2

Can you attach the logs or relevant snippets? Syslog, daemon.log and the univention-webserver Logs can tell us maybe about the problem.


#3

Absolutely:

Apache2 error.log:

[Mon Mar 20 15:11:49 2017] [error] [client 172.19.25.118] File does not exist: /var/www/univention-management-console/js_$20172003090013$/umc/modules/udm/wizards/computers/trustaccount, referer: https://o02.int.travelaudience.com/univention-management-console/?lang=en-US
[Tue Mar 21 10:11:11 2017] [notice] caught SIGTERM, shutting down
[Tue Mar 21 10:11:12 2017] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Tue Mar 21 10:11:14 2017] [notice] Apache/2.2.22 (Univention) PHP/5.4.45-0.235.201611171529 mod_ssl/2.2.22 OpenSSL/1.0.2d configured -- resuming normal operations
[Tue Mar 21 10:26:33 2017] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Tue Mar 21 10:26:35 2017] [notice] Apache/2.2.22 (Univention) PHP/5.4.45-0.235.201611171529 mod_ssl/2.2.22 OpenSSL/1.0.2d configured -- resuming normal operations
[Tue Mar 21 11:03:20 2017] [notice] caught SIGTERM, shutting down
[Tue Mar 21 11:03:25 2017] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Tue Mar 21 11:03:27 2017] [notice] Apache/2.2.22 (Univention) PHP/5.4.45-0.235.201611171529 mod_ssl/2.2.22 OpenSSL/1.0.2d configured -- resuming normal operations
[Tue Mar 21 11:24:16 2017] [notice] caught SIGTERM, shutting down
[Tue Mar 21 11:24:17 2017] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Tue Mar 21 11:24:19 2017] [notice] Apache/2.2.22 (Univention) PHP/5.4.45-0.235.201611171529 mod_ssl/2.2.22 OpenSSL/1.0.2d configured -- resuming normal operations
[Tue Mar 21 11:58:47 2017] [notice] caught SIGTERM, shutting down
[Tue Mar 21 12:02:44 2017] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Tue Mar 21 12:02:46 2017] [notice] Apache/2.2.22 (Univention) PHP/5.4.45-0.235.201611171529 mod_ssl/2.2.22 OpenSSL/1.0.2d configured -- resuming normal operations
[Tue Mar 21 13:04:55 2017] [error] [client 172.19.25.118] File does not exist: /var/www/univention-management-console/js_$20172003090013$/umc/modules/udm/wizards/computers/trustaccount, referer: https://o02.int.travelaudience.com/univention-management-console/?lang=en-US
[Thu Mar 23 08:58:49 2017] [notice] caught SIGTERM, shutting down
[Thu Mar 23 08:58:50 2017] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Thu Mar 23 08:58:52 2017] [notice] Apache/2.2.22 (Univention) PHP/5.4.45-0.235.201611171529 mod_ssl/2.2.22 OpenSSL/1.0.2d configured -- resuming normal operations
[Thu Mar 23 09:00:05 2017] [notice] caught SIGTERM, shutting down
[Thu Mar 23 09:00:06 2017] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Thu Mar 23 09:00:08 2017] [notice] Apache/2.2.22 (Univention) PHP/5.4.45-0.235.201611171529 mod_ssl/2.2.22 OpenSSL/1.0.2d configured -- resuming normal operations
[Thu Mar 23 09:00:48 2017] [notice] caught SIGTERM, shutting down
[Thu Mar 23 09:00:49 2017] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Thu Mar 23 09:00:51 2017] [notice] Apache/2.2.22 (Univention) PHP/5.4.45-0.235.201611171529 mod_ssl/2.2.22 OpenSSL/1.0.2d configured -- resuming normal operations
[Thu Mar 23 09:06:11 2017] [notice] caught SIGTERM, shutting down
[Thu Mar 23 09:06:12 2017] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Thu Mar 23 09:06:14 2017] [notice] Apache/2.2.22 (Univention) PHP/5.4.45-0.235.201611171529 mod_ssl/2.2.22 OpenSSL/1.0.2d configured -- resuming normal operations
[Thu Mar 23 09:09:46 2017] [notice] caught SIGTERM, shutting down
[Thu Mar 23 09:13:21 2017] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Thu Mar 23 09:13:23 2017] [notice] Apache/2.2.22 (Univention) PHP/5.4.45-0.235.201611171529 mod_ssl/2.2.22 OpenSSL/1.0.2d configured -- resuming normal operations

management-console-web-server.log:

23.03.17 09:08:31.717 MAIN ( INFO ) : stopping cherrypy: 0
23.03.17 09:08:31.718 MAIN ( INFO ) : cherrypy stopped
23.03.17 09:08:32.205 MAIN ( PROCESS ) : Starting UMC web server ...
23.03.17 09:08:32.287 MAIN ( INFO ) : Reloading SAML service provider configuration
23.03.17 09:09:04.112 DEBUG_INIT
23.03.17 09:09:04.115 MAIN ( PROCESS ) : Stopping UMC web server ...
23.03.17 09:09:04.115 MAIN ( PROCESS ) : The UMC web server is still running. Will wait for 5 seconds
23.03.17 09:09:04.128 MAIN ( INFO ) : stopping cherrypy: 0
23.03.17 09:09:04.129 MAIN ( INFO ) : cherrypy stopped
23.03.17 09:09:04.616 MAIN ( PROCESS ) : Starting UMC web server ...
23.03.17 09:09:04.697 MAIN ( INFO ) : Reloading SAML service provider configuration
23.03.17 09:10:04.509 DEBUG_INIT
23.03.17 09:10:04.512 MAIN ( PROCESS ) : The UMC web server is still running. Will wait for 5 seconds
23.03.17 09:10:04.526 MAIN ( INFO ) : stopping cherrypy: 0
23.03.17 09:10:04.527 MAIN ( INFO ) : cherrypy stopped
23.03.17 09:12:58.184 DEBUG_INIT
23.03.17 09:12:58.307 MAIN ( INFO ) : Reloading SAML service provider configuration
23.03.17 09:17:00.173 DEBUG_INIT
23.03.17 09:17:00.177 MAIN ( PROCESS ) : Stopping UMC web server ...
23.03.17 09:17:00.177 MAIN ( PROCESS ) : The UMC web server is still running. Will wait for 5 seconds
23.03.17 09:17:00.190 MAIN ( INFO ) : stopping cherrypy: 0
23.03.17 09:17:00.192 MAIN ( INFO ) : cherrypy stopped
23.03.17 09:17:00.678 MAIN ( PROCESS ) : Starting UMC web server ...
23.03.17 09:17:00.780 MAIN ( INFO ) : Reloading SAML service provider configuration
23.03.17 09:25:49.762 DEBUG_INIT
23.03.17 09:25:49.766 MAIN ( PROCESS ) : The UMC web server is still running. Will wait for 5 seconds
23.03.17 09:25:49.778 MAIN ( INFO ) : stopping cherrypy: 0
23.03.17 09:25:49.779 MAIN ( INFO ) : cherrypy stopped
23.03.17 09:26:57.230 DEBUG_INIT
23.03.17 09:26:57.233 MAIN ( PROCESS ) : Failed to shutdown server gracefully (may be its already dead): PID file '/var/run/umc-web-server.pid' not locked
23.03.17 09:32:59.534 DEBUG_INIT
23.03.17 09:32:59.616 MAIN ( INFO ) : Reloading SAML service provider configuration
23.03.17 09:38:42.106 DEBUG_INIT
23.03.17 09:38:42.109 MAIN ( PROCESS ) : The UMC web server is still running. Will wait for 5 seconds

univention-console-server.log

23.03.17 09:32:50.310 ADMIN ( INFO ) : admin.syntax.import_syntax_files: importing "/usr/lib/pymodules/python2.7/univention/admin/syntax.d/univention-virtual-machine-manager-schema.py"
23.03.17 09:32:50.311 ADMIN ( INFO ) : admin.syntax.import_syntax_files: importing "/usr/lib/pymodules/python2.7/univention/admin/syntax.d/samlserviceprovider.py"
23.03.17 09:32:50.311 ADMIN ( INFO ) : admin.syntax.import_syntax_files: importing "/usr/lib/pymodules/python2.7/univention/admin/syntax.d/__init__.py"
23.03.17 09:32:50.311 ADMIN ( INFO ) : admin.syntax.import_syntax_files: importing "/usr/lib/pymodules/python2.7/univention/admin/syntax.d/example.py"
23.03.17 09:32:50.312 ADMIN ( INFO ) : admin.syntax.import_hook_files: importing "/usr/lib/pymodules/python2.7/univention/admin/hooks.d/__init__.py"
23.03.17 09:32:50.842 MAIN ( INFO ) : Loading resources ...
23.03.17 09:32:50.842 MAIN ( INFO ) : Reloading resources: modules, categories
23.03.17 09:32:50.842 RESOURCES ( INFO ) : Loading modules ...
23.03.17 09:32:50.851 RESOURCES ( INFO ) : Loaded module udm.xml
23.03.17 09:32:50.855 RESOURCES ( INFO ) : Loaded module setup.xml
23.03.17 09:32:50.857 RESOURCES ( INFO ) : Loaded module mrtg.xml
23.03.17 09:32:50.858 RESOURCES ( INFO ) : Loaded module setup-certificate.xml
23.03.17 09:32:50.859 RESOURCES ( INFO ) : Loaded module diagnostic.xml
23.03.17 09:32:50.861 RESOURCES ( INFO ) : Loaded module ipchange.xml
23.03.17 09:32:50.866 RESOURCES ( INFO ) : Loaded module appcenter.xml
23.03.17 09:32:50.869 RESOURCES ( INFO ) : Loaded module updater.xml
23.03.17 09:32:50.871 RESOURCES ( INFO ) : Loaded module lib.xml
23.03.17 09:32:50.873 RESOURCES ( INFO ) : Loaded module ucr.xml
23.03.17 09:32:50.875 RESOURCES ( INFO ) : Loaded module services.xml
23.03.17 09:32:50.877 RESOURCES ( INFO ) : Loaded module sysinfo.xml
23.03.17 09:32:50.879 RESOURCES ( INFO ) : Loaded module quota.xml
23.03.17 09:32:50.880 RESOURCES ( INFO ) : Loaded module top.xml
23.03.17 09:32:50.882 RESOURCES ( INFO ) : Loaded module reboot.xml
23.03.17 09:32:50.884 RESOURCES ( INFO ) : Loaded module apps.xml
23.03.17 09:32:50.885 RESOURCES ( INFO ) : Loaded module passwordchange.xml
23.03.17 09:32:50.887 RESOURCES ( INFO ) : Loaded module join.xml
23.03.17 09:32:50.887 RESOURCES ( INFO ) : Loading categories ...
23.03.17 09:32:50.890 RESOURCES ( INFO ) : Loaded categories from default.xml
23.03.17 09:32:50.891 RESOURCES ( INFO ) : Loaded categories from apps.xml
23.03.17 09:32:50.891 RESOURCES ( INFO ) : Reloading UCR variables
23.03.17 09:32:50.908 MAIN ( INFO ) : Initialising server process

23.03.17 09:32:50.887 RESOURCES ( INFO ) : Loaded module join.xml
23.03.17 09:32:50.887 RESOURCES ( INFO ) : Loading categories ...
23.03.17 09:32:50.890 RESOURCES ( INFO ) : Loaded categories from default.xml
23.03.17 09:32:50.891 RESOURCES ( INFO ) : Loaded categories from apps.xml
23.03.17 09:32:50.891 RESOURCES ( INFO ) : Reloading UCR variables
23.03.17 09:32:50.908 MAIN ( INFO ) : Initialising server process
23.03.17 09:32:50.908 MAIN ( INFO ) : Using a TCP socket
23.03.17 09:32:50.908 MAIN ( INFO ) : Setting up SSL configuration
23.03.17 09:32:50.911 SSL ( INFO ) : Server listening to SSL connections
23.03.17 09:32:50.911 MAIN ( PROCESS ) : Server started
23.03.17 09:34:55.179 MAIN ( INFO ) : Incoming connection from ::ffff:172.19.24.134:36990
23.03.17 09:34:55.180 MAIN ( INFO ) : Established connection: ::ffff:172.19.24.134:36990
23.03.17 09:34:55.180 SSL ( WARN ) : SSL error in receive: [('SSL routines', 'ssl23read', 'ssl handshake failure')]. Probably the socket was closed by the client.
23.03.17 09:34:55.180 MAIN ( INFO ) : The session is shutting down
23.03.17 09:38:32.029 DEBUG_INIT
23.03.17 09:38:32.032 MAIN ( PROCESS ) : The UMC server is still running. Will wait for 5 seconds
23.03.17 09:38:32.032 MAIN ( WARN ) : Shutting down all open connections
23.03.17 09:40:26.286 DEBUG_INIT
23.03.17 09:40:26.729 ADMIN ( INFO ) : admin.syntax.import_syntax_files: importing "/usr/lib/pymodules/python2.7/univention/admin/syntax.d/univention-virtual-machine-manager-schema.py"
23.03.17 09:40:26.730 ADMIN ( INFO ) : admin.syntax.import_syntax_files: importing "/usr/lib/pymodules/python2.7/univention/admin/syntax.d/samlserviceprovider.py"
23.03.17 09:40:26.755 ADMIN ( INFO ) : admin.syntax.import_syntax_files: importing "/usr/lib/pymodules/python2.7/univention/admin/syntax.d/__init__.py"
23.03.17 09:40:26.756 ADMIN ( INFO ) : admin.syntax.import_syntax_files: importing "/usr/lib/pymodules/python2.7/univention/admin/syntax.d/example.py"
23.03.17 09:40:26.757 ADMIN ( INFO ) : admin.syntax.import_hook_files: importing "/usr/lib/pymodules/python2.7/univention/admin/hooks.d/__init__.py"
23.03.17 09:40:27.296 MAIN ( INFO ) : Loading resources ...
23.03.17 09:40:27.296 MAIN ( INFO ) : Reloading resources: modules, categories
23.03.17 09:40:27.296 RESOURCES ( INFO ) : Loading modules ...
23.03.17 09:40:27.306 RESOURCES ( INFO ) : Loaded module udm.xml
23.03.17 09:40:27.311 RESOURCES ( INFO ) : Loaded module setup.xml
23.03.17 09:40:27.312 RESOURCES ( INFO ) : Loaded module mrtg.xml
23.03.17 09:40:27.313 RESOURCES ( INFO ) : Loaded module setup-certificate.xml
23.03.17 09:40:27.315 RESOURCES ( INFO ) : Loaded module diagnostic.xml
23.03.17 09:40:27.316 RESOURCES ( INFO ) : Loaded module ipchange.xml
23.03.17 09:40:27.322 RESOURCES ( INFO ) : Loaded module appcenter.xml
23.03.17 09:40:27.325 RESOURCES ( INFO ) : Loaded module updater.xml
23.03.17 09:40:27.326 RESOURCES ( INFO ) : Loaded module lib.xml
23.03.17 09:40:27.328 RESOURCES ( INFO ) : Loaded module ucr.xml
23.03.17 09:40:27.331 RESOURCES ( INFO ) : Loaded module services.xml
23.03.17 09:40:27.333 RESOURCES ( INFO ) : Loaded module sysinfo.xml
23.03.17 09:40:27.335 RESOURCES ( INFO ) : Loaded module quota.xml
23.03.17 09:40:27.336 RESOURCES ( INFO ) : Loaded module top.xml
23.03.17 09:40:27.338 RESOURCES ( INFO ) : Loaded module reboot.xml
23.03.17 09:40:27.340 RESOURCES ( INFO ) : Loaded module apps.xml
23.03.17 09:40:27.341 RESOURCES ( INFO ) : Loaded module passwordchange.xml
23.03.17 09:40:27.343 RESOURCES ( INFO ) : Loaded module join.xml

23.03.17 09:40:27.343 RESOURCES ( INFO ) : Loaded module join.xml
23.03.17 09:40:27.343 RESOURCES ( INFO ) : Loading categories ...
23.03.17 09:40:27.346 RESOURCES ( INFO ) : Loaded categories from default.xml
23.03.17 09:40:27.347 RESOURCES ( INFO ) : Loaded categories from apps.xml
23.03.17 09:40:27.347 RESOURCES ( INFO ) : Reloading UCR variables
23.03.17 09:40:27.364 MAIN ( INFO ) : Initialising server process
23.03.17 09:40:27.364 MAIN ( INFO ) : Using a TCP socket
23.03.17 09:40:27.365 MAIN ( INFO ) : Setting up SSL configuration
23.03.17 09:40:27.367 SSL ( INFO ) : Server listening to SSL connections
23.03.17 09:40:27.367 MAIN ( PROCESS ) : Server started
23.03.17 09:40:42.425 MAIN ( INFO ) : Incoming connection from ::ffff:172.19.24.134:37036
23.03.17 09:40:42.425 MAIN ( INFO ) : Established connection: ::ffff:172.19.24.134:37036
23.03.17 09:40:42.425 SSL ( WARN ) : SSL error in receive: [('SSL routines', 'ssl23read', 'ssl handshake failure')]. Probably the socket was closed by the client.
23.03.17 09:40:42.425 MAIN ( INFO ) : The session is shutting down


#4

It is ALWAYS DNS. Specifically, my DNS on my local machine. Problem solved. I feel stupid.