Univention Bugzilla – Bug 52492
implement monitoring-check for univention-portal-server.service
Last modified: 2020-12-14 15:58:43 CET
UCS: 4.4-7 errata835 Installed: adconnector=12.0 itslearning=3.2 self-service=4.0 self-service-backend=4.0 ucs-to-school-transformer=1.3.2 ucsschool=4.4 v8 ucsschool-id-connector=2.0.0 ucsschool-kelvin-rest-api=1.2.0 In the customers environment the univention-portal-server.service stopped out of a sudden (result: empty portal page) for no apparent reason. It would be good, if there would be a monitoring check for that service. root@ucs-master:# systemctl status univention-portal-server.service ● univention-portal-server.service - Univention Portal server Loaded: loaded (/lib/systemd/system/univention-portal-server.service; enabled; vendor preset: enabled) Active: inactive (dead) since Mon 2020-12-14 12:49:32 CET; 1h 31min ago Process: 12368 ExecReload=/bin/kill -HUP $MAINPID (code=exited, status=0/SUCCESS) Main PID: 3155 (code=killed, signal=TERM) CPU: 1h 23min 32.057s Dez 14 12:49:32 ucs-ma univention-portal-server[3155]: DEBUG:univention.portal.cache:getting portal from cache Dez 14 12:49:32 ucs-ma univention-portal-server[3155]: getting entries from cache Dez 14 12:49:32 ucs-ma univention-portal-server[3155]: DEBUG:univention.portal.cache:getting entries from cache Dez 14 12:49:32 ucs-ma univention-portal-server[3155]: getting links from cache Dez 14 12:49:32 ucs-ma univention-portal-server[3155]: DEBUG:univention.portal.cache:getting links from cache Dez 14 12:49:32 ucs-ma univention-portal-server[3155]: getting categories from cache Dez 14 12:49:32 ucs-ma univention-portal-server[3155]: DEBUG:univention.portal.cache:getting categories from cache Dez 14 12:49:32 ucs-ma univention-portal-server[3155]: getting entries from cache Dez 14 12:49:32 ucs-ma univention-portal-server[3155]: DEBUG:univention.portal.cache:getting entries from cache Dez 14 14:17:35 ucs-ma systemd[1]: univention-portal-server.service: Unit cannot be reloaded because it is inactive. root@ucs-master:# systemctl start univention-portal-server.service root@ucs-master:# systemctl status univention-portal-server.service ● univention-portal-server.service - Univention Portal server Loaded: loaded (/lib/systemd/system/univention-portal-server.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2020-12-14 14:21:21 CET; 1s ago Process: 12368 ExecReload=/bin/kill -HUP $MAINPID (code=exited, status=0/SUCCESS) Main PID: 21266 (univention-port) Tasks: 1 (limit: 4915) Memory: 136.9M CPU: 1.276s CGroup: /system.slice/univention-portal-server.service └─21266 /usr/bin/python2.7 /usr/bin/univention-portal-server Dez 14 14:21:22 ucs-ma univention-portal-server[21266]: Writing CSS file /var/www/univention/portal/portal.css Dez 14 14:21:22 ucs-ma univention-portal-server[21266]: INFO:univention.portal.css:Writing CSS file /var/www/univention/portal/portal.css Dez 14 14:21:22 ucs-ma univention-portal-server[21266]: loading cache file Dez 14 14:21:22 ucs-ma univention-portal-server[21266]: INFO:univention.portal.cache:loading cache file Dez 14 14:21:22 ucs-ma univention-portal-server[21266]: getting portal from cache Dez 14 14:21:22 ucs-ma univention-portal-server[21266]: DEBUG:univention.portal.cache:getting portal from cache Dez 14 14:21:22 ucs-ma univention-portal-server[21266]: getting entries from cache Dez 14 14:21:22 ucs-ma univention-portal-server[21266]: DEBUG:univention.portal.cache:getting entries from cache Dez 14 14:21:22 ucs-ma univention-portal-server[21266]: loading group cache file Dez 14 14:21:22 ucs-ma univention-portal-server[21266]: INFO:univention.portal.cache:loading group cache file