Ich habe ein Upgrade von Ubuntu 22.04.04 nach 24.04.01 gemacht und bin streng nach Anleitung
vorgegangen.
Das Upgrade hat auch geklappt.
Allerdings kommt Fehler 404 von Apache, die Instans selber läuft (erhalte Benachrichtigungen)
root@ubuntu-misc:~# omd start pve
Temporary filesystem already mounted
Starting agent-receiver...OK
Starting mkeventd...OK
Starting liveproxyd...OK
Starting mknotifyd...OK
Starting rrdcached...OK
Starting cmc...OK
Starting apache...OK
Starting dcd...OK
Starting redis...OK
Initializing Crontab...OK
root@ubuntu-misc:~# omd status pve
agent-receiver: running
mkeventd: running
liveproxyd: running
mknotifyd: running
rrdcached: running
cmc: running
apache: running
dcd: running
redis: running
crontab: running
-----------------------
Overall state: running
Auch eine neu angelegte Instans meldet Fehler 404.
check-mk-cloud-2.3.0p13_0
Kann mir jemand weiterhelfen?
sebkir
August 30, 2024, 7:31am
2
Könnte am Apache liegen. Einen ganz fixen Test könntest du mit
root@mycheckmkserver:/# omd update-apache-config mysite
machen.
Häng gerne auch noch den Output von omd sites und omd versions an.
root@ubuntu-misc:~# omd update-apache-config pve
Reloading Apache...AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
OK
root@ubuntu-misc:~# omd sites
SITE VERSION COMMENTS
pve 2.3.0p13.cce default version
root@ubuntu-misc:~# omd versions
2.3.0p13.cce (default)
root@ubuntu-misc:~# omd restart pve
Temporary filesystem already mounted
Removing Crontab...OK
Stopping redis...killing 18420...OK
Stopping dcd...killing 18414....OK
Stopping apache...killing 18083...........................OK
Stopping cmc...killing 17994.........OK
Stopping rrdcached...waiting for termination...OK
Stopping mknotifyd...killing 17968...OK
Stopping liveproxyd...killing 17954....OK
Stopping mkeventd...killing 17943....OK
Stopping agent-receiver...killing 17932...OK
Starting agent-receiver...OK
Starting mkeventd...OK
Starting liveproxyd...OK
Starting mknotifyd...OK
Starting rrdcached...OK
Starting cmc...OK
Starting apache...OK
Starting dcd...OK
Starting redis...OK
Initializing Crontab...OK
root@ubuntu-misc:~# omd status pve
agent-receiver: running
mkeventd: running
liveproxyd: running
mknotifyd: running
rrdcached: running
cmc: running
apache: running
dcd: running
redis: running
crontab: running
-----------------------
Overall state: running
root@ubuntu-misc:~#
leider keine besserung
aeckstein
(Andre Eckstein)
August 30, 2024, 7:38am
4
Can you check, if the file zzz_omd.conf is present in /etc/apache2/conf-enabled ?
sebkir
August 30, 2024, 7:58am
5
Was tipperst du in den Browser ein? Kannst du es mal mit der IP probieren?
Schau auch mal, wo es hingeht, wenn du den Instanznamen bei der Adresse weglässt. Dann sollte sich ja die “Apache2 Default Page” begrüßen (wenn du die nicht entfernt hast). Wenn die nicht kommt, kannst du bei System-Apache weiterschauen.
root@ubuntu-misc:/etc/apache2/conf-enabled# ls -n
total 0
lrwxrwxrwx 1 0 0 30 Aug 30 08:43 charset.conf -> ../conf-available/charset.conf
lrwxrwxrwx 1 0 0 44 Aug 30 08:43 localized-error-pages.conf -> ../conf-available/localized-error-pages.conf
lrwxrwxrwx 1 0 0 46 Aug 30 08:43 other-vhosts-access-log.conf -> ../conf-available/other-vhosts-access-log.conf
lrwxrwxrwx 1 0 0 31 Aug 30 08:43 security.conf -> ../conf-available/security.conf
lrwxrwxrwx 1 0 0 36 Aug 30 08:43 serve-cgi-bin.conf -> ../conf-available/serve-cgi-bin.conf
root@ubuntu-misc:/etc/apache2/conf-enabled#
Im Brwoser arbeite ich nur mit der IP. Und die Apache Default Page kommt .
sebkir
August 30, 2024, 8:30am
8
Wie Andre schon angedeutet hat: die zzz_omd.conf fehlt in conf-enabled. Schau mal, ob die in conf-available vorhanden ist. Wenn ja, dann erzeuge den Link wieder.
Wenn nicht, dann erzeuge auch die zzz_omd.conf in conf-available. Der Inhalt ist:
Include /omd/apache/*.conf
2 Likes
root@ubuntu-misc:/etc/apache2/conf-available# ls -n
total 32
-rw-r--r-- 1 0 0 269 Mar 18 13:35 charset.conf
-rw-r--r-- 1 0 0 3178 Mar 18 13:35 localized-error-pages.conf
-rw-r--r-- 1 0 0 143 Mar 18 13:35 other-vhosts-access-log.conf
-rw-r--r-- 1 0 0 1139 Apr 7 2022 php8.1-cgi.conf
-rw-r--r-- 1 0 0 1282 Jun 13 17:23 php8.3-cgi.conf
-rw-r--r-- 1 0 0 1827 Mar 18 13:35 security.conf
-rw-r--r-- 1 0 0 409 Mar 18 13:35 serve-cgi-bin.conf
-rw-r--r-- 1 0 0 27 May 22 2022 zzz_omd.conf
sebkir
August 30, 2024, 8:35am
10
a2enconf zzz_omd.conf
systemctl reload apache2
2 Likes
system
(system)
Closed
August 30, 2025, 8:36am
11
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.