Hallo zusammen,
ich habe gerade versucht meine Checkmk-Instanz von Ubuntu 20.04 auf 22.04 upzugraden, hierbei bin ich grundsätzlich nach dieser Anleitung vorgegangen:
Linux-Upgrade auf dem Checkmk-Server => 3.1
Ich habe vorher die Version 2.1.0p40 installiert und dann das OS-Upgrade angestossen. Bis dahin war auch alles gut. Nach dem Upgrade auf 22.04 und Installation der checkmk-Version 2.1.0p40 unter 22.04 ging dann leider nichts mehr.
Ich habe auch diese Variante mal ausprobiert, aber das Ergebnis ist das Gleiche Upgrade Ubuntu 20.04 auf 22.04 mit check-mk 2.1.0b9 - #7 by privatscheiss
Und zu letzt habe ich mal eine neue VM aufgesetzt, das checkmk installiert und das Backup eingespielt, das Ergebnis ist leider das Gleiche… “die Website ist nicht erreichbar”.
root@checkm2204:/omd/apache# netstat -tlpen
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 0 18211 1/init
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 0 27640 3129/apache2
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 20957 642/sshd: /usr/sbin
tcp 0 0 0.0.0.0:6556 0.0.0.0:* LISTEN 0 20710 1/init
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 101 20590 597/systemd-resolve
tcp 0 0 0.0.0.0:8000 0.0.0.0:* LISTEN 997 19994 1053/python3
tcp 0 0 127.0.0.1:5000 0.0.0.0:* LISTEN 997 20237 1156/apache2
root@checkm2204:/omd/apache# ll /etc/apache2/conf-enabled/zzz_omd.conf
lrwxrwxrwx 1 root root 30 Mär 12 11:34 **/etc/apache2/conf-enabled/zzz_omd.conf** -> ../conf-available/zzz_omd.conf
root@checkm2204:/omd/apache# cat /omd/apache/check.conf
# version: 2
# This file is managed by 'omd' and will automatically be overwritten. Better do not edit manually
# Make sure that symlink /omd does not make problems
<Directory />
Options +FollowSymlinks
</Directory>
<IfModule mod_proxy_http.c>
ProxyRequests Off
ProxyPreserveHost On
<Proxy http://127.0.0.1:5000/check>
Order allow,deny
allow from all
</Proxy>
<Location /check>
# Setting "retry=0" to prevent 60 second caching of problem states e.g. when
# the site apache is down and someone tries to access the page.
# "disablereuse=On" prevents the apache from keeping the connection which leads to
# wrong devlivered pages sometimes
ProxyPass http://127.0.0.1:5000/check retry=0 disablereuse=On timeout=120
ProxyPassReverse http://127.0.0.1:5000/check
</Location>
</IfModule>
<IfModule !mod_proxy_http.c>
Alias /check /omd/sites/check
<Directory /omd/sites/check>
Deny from all
ErrorDocument 403 "<h1>Checkmk: Incomplete Apache Installation</h1>You need mod_proxy and
mod_proxy_http in order to run the web interface of Checkmk."
</Directory>
</IfModule>
<Location /check>
ErrorDocument 503 "<meta http-equiv='refresh' content='60'><h1>Checkmk: Site Not Started</h1>You need to start this site in order to access the web interface.<!-- IE shows its own short useless error message otherwise: placeholder -->"
</Location>
Für mich sieht das irgendwie auch eher nach einem apache-Problem aus, als direkt nach einem checkmk-Problem.
Hat vielleicht jemand eine Idee, was das Problem sein könnte und was ich noch tun kann?
Danke!