Apache2 startet nach Upgrade auf Keyhelp 23 nicht mehr
Apache2 startet nach Upgrade auf Keyhelp 23 nicht mehr
Ich bin sicher, dass die Ursache des Problems bei KeyHelp liegt
(Probleme ohne KeyHelp-Bezug gehören ins Offtopic-Forum)
Server-Betriebssystem + Version
Debian 11.6 (64-bit)
Kernel 5.10.0-21-amd64
Eingesetzte Server-Virtualisierung-Technologie
Proxmox 7.3-4
KeyHelp-Version + Build-Nummer
23.0 (Build 2921)
Problembeschreibung / Fehlermeldungen
Nach dem Upgrade auf die version von Keyhelp 23 startet apache nicht mehr , folgender fehler wird ausgegeben.
"root@panel:~# systemctl status apache2.service
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2023-02-04 16:30:41 CET; 5s ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 86703 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
CPU: 10ms
Feb 04 16:30:41 panel.tech-gero.eu systemd[1]: Starting The Apache HTTP Server...
Feb 04 16:30:41 panel.tech-gero.eu apachectl[86706]: AH00526: Syntax error on line 35 of /etc/apache2/keyhelp/keyhelp.conf:
Feb 04 16:30:41 panel.tech-gero.eu apachectl[86706]: SSLCertificateFile: file '/etc/ssl/keyhelp/keyhelp.pem' does not exist or is empty
Feb 04 16:30:41 panel.tech-gero.eu apachectl[86703]: Action 'start' failed.
Feb 04 16:30:41 panel.tech-gero.eu apachectl[86703]: The Apache error log may have more information.
Feb 04 16:30:41 panel.tech-gero.eu systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
Feb 04 16:30:41 panel.tech-gero.eu systemd[1]: apache2.service: Failed with result 'exit-code'.
Feb 04 16:30:41 panel.tech-gero.eu systemd[1]: Failed to start The Apache HTTP Server.
"
Erwartetes Ergebnis
Ich hoffe es lässt sich irgenwie "fixen" da nur die GUIs nicht funktionieren.
Email-Server etc läuft bisher weiter
Tatsächliches Ergebnis
Schritte zur Reproduktion
/etc/init.d/apache2 restart
Zusätzliche Informationen
Änderungen die durchgeführt worden sind:
Upgrade von Keyhelkp auf Version 23
(Probleme ohne KeyHelp-Bezug gehören ins Offtopic-Forum)
Server-Betriebssystem + Version
Debian 11.6 (64-bit)
Kernel 5.10.0-21-amd64
Eingesetzte Server-Virtualisierung-Technologie
Proxmox 7.3-4
KeyHelp-Version + Build-Nummer
23.0 (Build 2921)
Problembeschreibung / Fehlermeldungen
Nach dem Upgrade auf die version von Keyhelp 23 startet apache nicht mehr , folgender fehler wird ausgegeben.
"root@panel:~# systemctl status apache2.service
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2023-02-04 16:30:41 CET; 5s ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 86703 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
CPU: 10ms
Feb 04 16:30:41 panel.tech-gero.eu systemd[1]: Starting The Apache HTTP Server...
Feb 04 16:30:41 panel.tech-gero.eu apachectl[86706]: AH00526: Syntax error on line 35 of /etc/apache2/keyhelp/keyhelp.conf:
Feb 04 16:30:41 panel.tech-gero.eu apachectl[86706]: SSLCertificateFile: file '/etc/ssl/keyhelp/keyhelp.pem' does not exist or is empty
Feb 04 16:30:41 panel.tech-gero.eu apachectl[86703]: Action 'start' failed.
Feb 04 16:30:41 panel.tech-gero.eu apachectl[86703]: The Apache error log may have more information.
Feb 04 16:30:41 panel.tech-gero.eu systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
Feb 04 16:30:41 panel.tech-gero.eu systemd[1]: apache2.service: Failed with result 'exit-code'.
Feb 04 16:30:41 panel.tech-gero.eu systemd[1]: Failed to start The Apache HTTP Server.
"
Erwartetes Ergebnis
Ich hoffe es lässt sich irgenwie "fixen" da nur die GUIs nicht funktionieren.
Email-Server etc läuft bisher weiter
Tatsächliches Ergebnis
Schritte zur Reproduktion
/etc/init.d/apache2 restart
Zusätzliche Informationen
Änderungen die durchgeführt worden sind:
Upgrade von Keyhelkp auf Version 23
Re: Apache2 startet nach Upgrade auf Keyhelp 23 nicht mehr
Was sagt denn
Code: Select all
file /etc/ssl/keyhelp/keyhelp.pem
Warum nehmt ihr eigentlich nicht Devuan, wenn ihr euch so gegen systemd und dessen richtige Benutzung sträubt?
Der richtige Befehl ist
Code: Select all
systemctl restart apache2.service
mfg Micha
--
Backup: The duplicate copy of crucial data that no one bothered to make;
used only in the abstract
--
Backup: The duplicate copy of crucial data that no one bothered to make;
used only in the abstract
Re: Apache2 startet nach Upgrade auf Keyhelp 23 nicht mehr
Der befehl "file /etc/ssl/keyhelp/keyhelp.pem" gibt folgendes aus:
/etc/ssl/keyhelp/keyhelp.pem: broken symbolic link to /etc/ssl/keyhelp/pem/*.tech-gero.eu_61ae61f67204c.pem
der befehl "systemctl restart apache2.service" bringt hier recht wenig, das habe ich natürlich schon versucht, da kommt die Standard Meldung:
Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details
Dort bekommt man dann den Fehler angezeigt den ich bei der Beitrag Erstellung hinzugefügt habe
/etc/ssl/keyhelp/keyhelp.pem: broken symbolic link to /etc/ssl/keyhelp/pem/*.tech-gero.eu_61ae61f67204c.pem
der befehl "systemctl restart apache2.service" bringt hier recht wenig, das habe ich natürlich schon versucht, da kommt die Standard Meldung:
Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details
Dort bekommt man dann den Fehler angezeigt den ich bei der Beitrag Erstellung hinzugefügt habe
Re: Apache2 startet nach Upgrade auf Keyhelp 23 nicht mehr
Code: Select all
rm /etc/ssl/keyhelp/keyhelp.pem
Du hast anscheinend LetsEncrypt noch nicht aktiviert?
Dann würde er auf eine *.pem unter /etc/ssl/keyhelp/letsencrypt/keyhelp linken.
Was sagt
Code: Select all
ls -las /etc/ssl/keyhelp/pem
Wenn da einen default.pem liegt:
Code: Select all
ln -s /etc/ssl/keyhelp/pem/default.pem /etc/ssl/keyhelp/keyhelp.pem
Und Du meinst, der Umweg über das veraltete SysV Script bringt mehr?Gero1998 wrote: ↑Sat 4. Feb 2023, 17:52
der befehl "systemctl restart apache2.service" bringt hier recht wenig, das habe ich natürlich schon versucht, da kommt die Standard Meldung:
Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details
Dort bekommt man dann den Fehler angezeigt den ich bei der Beitrag Erstellung hinzugefügt habe

Sowohl die Unit als auch das init.d Script rufen apache2ctl auf.
mfg Micha
--
Backup: The duplicate copy of crucial data that no one bothered to make;
used only in the abstract
--
Backup: The duplicate copy of crucial data that no one bothered to make;
used only in the abstract
Re: Apache2 startet nach Upgrade auf Keyhelp 23 nicht mehr
Der Befehl "ls -las /etc/ssl/keyhelp/pem" gibt folgendes aus
4 drwx------ 2 root root 4096 15. Jan 19:01 .
4 drwxr-xr-x 5 root root 4096 24. Jan 18:54 ..
8 -rw------- 1 root root 6430 15. Jan 16:24 mail.tech-gero.eu_63c41a4747d46.pem
8 -rw------- 1 root root 4236 23. Jan 21:22 panel.tech-gero.eu_612b7ebe9a4a8.pem
Ich meine das Problem ist gerade das die Keyhelp.pam nicht mehr existiert.
LetsEncrypt "Sollte" aktiv sein, bzw vor dem Upgrade auf 23 war dies aktiv.
eine "/etc/ssl/keyhelp/pem/default.pem" Datei existiert dort auch nicht
4 drwx------ 2 root root 4096 15. Jan 19:01 .
4 drwxr-xr-x 5 root root 4096 24. Jan 18:54 ..
8 -rw------- 1 root root 6430 15. Jan 16:24 mail.tech-gero.eu_63c41a4747d46.pem
8 -rw------- 1 root root 4236 23. Jan 21:22 panel.tech-gero.eu_612b7ebe9a4a8.pem
Ich meine das Problem ist gerade das die Keyhelp.pam nicht mehr existiert.
LetsEncrypt "Sollte" aktiv sein, bzw vor dem Upgrade auf 23 war dies aktiv.
eine "/etc/ssl/keyhelp/pem/default.pem" Datei existiert dort auch nicht
Re: Apache2 startet nach Upgrade auf Keyhelp 23 nicht mehr
OK.Gero1998 wrote: ↑Sat 4. Feb 2023, 18:12 Der Befehl "ls -las /etc/ssl/keyhelp/pem" gibt folgendes aus
4 drwx------ 2 root root 4096 15. Jan 19:01 .
4 drwxr-xr-x 5 root root 4096 24. Jan 18:54 ..
8 -rw------- 1 root root 6430 15. Jan 16:24 mail.tech-gero.eu_63c41a4747d46.pem
8 -rw------- 1 root root 4236 23. Jan 21:22 panel.tech-gero.eu_612b7ebe9a4a8.pem
Ich meine das Problem ist gerade das die Keyhelp.pam nicht mehr existiert.
LetsEncrypt "Sollte" aktiv sein, bzw vor dem Upgrade auf 23 war dies aktiv.
eine "/etc/ssl/keyhelp/pem/default.pem" Datei existiert dort auch nicht
Probiere:
Code: Select all
ln -s /etc/ssl/keyhelp/pem/panel.tech-gero.eu_612b7ebe9a4a8.pem /etc/ssl/keyhelp/keyhelp.pem
Irgendwie ist das ssl etwas verbastelt:
This server could not prove that it is tech-gero.eu; its security certificate is from *.tech-gero.eu. This may be caused by a misconfiguration or an attacker intercepting your connection.
mfg Micha
--
Backup: The duplicate copy of crucial data that no one bothered to make;
used only in the abstract
--
Backup: The duplicate copy of crucial data that no one bothered to make;
used only in the abstract
Re: Apache2 startet nach Upgrade auf Keyhelp 23 nicht mehr
Ja, irgenwas hat sich da mit dem SSL zerschossen
wenn ich den befehl "ln -s /etc/ssl/keyhelp/pem/panel.tech-gero.eu_612b7ebe9a4a8.pem /etc/ssl/keyhelp/keyhelp.pem" eingebe kommt folgendes:
ln: die symbolische Verknüpfung '/etc/ssl/keyhelp/keyhelp.pem' konnte nicht angelegt werden: Die Datei existiert bereits
wenn ich den befehl "ln -s /etc/ssl/keyhelp/pem/panel.tech-gero.eu_612b7ebe9a4a8.pem /etc/ssl/keyhelp/keyhelp.pem" eingebe kommt folgendes:
ln: die symbolische Verknüpfung '/etc/ssl/keyhelp/keyhelp.pem' konnte nicht angelegt werden: Die Datei existiert bereits
Re: Apache2 startet nach Upgrade auf Keyhelp 23 nicht mehr
viewtopic.php?p=40505#p40505Gero1998 wrote: ↑Sat 4. Feb 2023, 18:23 Ja, irgenwas hat sich da mit dem SSL zerschossen
wenn ich den befehl "ln -s /etc/ssl/keyhelp/pem/panel.tech-gero.eu_612b7ebe9a4a8.pem /etc/ssl/keyhelp/keyhelp.pem" eingebe kommt folgendes:
ln: die symbolische Verknüpfung '/etc/ssl/keyhelp/keyhelp.pem' konnte nicht angelegt werden: Die Datei existiert bereits
mfg Micha
--
Backup: The duplicate copy of crucial data that no one bothered to make;
used only in the abstract
--
Backup: The duplicate copy of crucial data that no one bothered to make;
used only in the abstract
Re: Apache2 startet nach Upgrade auf Keyhelp 23 nicht mehr
Ahh , Vielen dank
, jetzt habe ich gecheckt was du meintest , sorry so fit mit den einzelnen diensten bin ich nicht 
Habe nun den rm ausgeführt und den ln -s
Das Panel ist nun wieder aufrufbar , zwar spinnen die "Domain Webspaces" noch aber mal schauen woran das hängt
Eine Domain Funktioniet wieder
die andere zeigt wiederrum
Not Found
The requested URL was not found on this server.
an obwohl dort nur WordPress liegt mit einer Template Seite die mit brizy erstellt worden ist


Habe nun den rm ausgeführt und den ln -s
Das Panel ist nun wieder aufrufbar , zwar spinnen die "Domain Webspaces" noch aber mal schauen woran das hängt
Eine Domain Funktioniet wieder
die andere zeigt wiederrum
Not Found
The requested URL was not found on this server.
an obwohl dort nur WordPress liegt mit einer Template Seite die mit brizy erstellt worden ist
Re: Apache2 startet nach Upgrade auf Keyhelp 23 nicht mehr
Dann schau in die Logdatei der Domain, was denn angefordert wird wenn der 404 geschmissen wird.Gero1998 wrote: ↑Sat 4. Feb 2023, 18:58 Ahh , Vielen dank, jetzt habe ich gecheckt was du meintest , sorry so fit mit den einzelnen diensten bin ich nicht
Habe nun den rm ausgeführt und den ln -s
Das Panel ist nun wieder aufrufbar , zwar spinnen die "Domain Webspaces" noch aber mal schauen woran das hängt
Eine Domain Funktioniet wieder
die andere zeigt wiederrum
Not Found
The requested URL was not found on this server.
an obwohl dort nur WordPress liegt mit einer Template Seite die mit brizy erstellt worden ist
mfg Micha
--
Backup: The duplicate copy of crucial data that no one bothered to make;
used only in the abstract
--
Backup: The duplicate copy of crucial data that no one bothered to make;
used only in the abstract
Re: Apache2 startet nach Upgrade auf Keyhelp 23 nicht mehr
Mal eine "doofe" frage , wo gibts die Logdatei der einzelnen Domains? hab danach bisher nicht suchen müssen :S
Re: Apache2 startet nach Upgrade auf Keyhelp 23 nicht mehr
Jeder keyhelp user hat einen Ordner Logs unter ~ (/Home/users/<username>).
Seit dem Upgrade auf 23.0 wohl für jede Domain einzeln, hatte aber noch keine Zeit, mir das anzugucken.
Seit dem Upgrade auf 23.0 wohl für jede Domain einzeln, hatte aber noch keine Zeit, mir das anzugucken.
mfg Micha
--
Backup: The duplicate copy of crucial data that no one bothered to make;
used only in the abstract
--
Backup: The duplicate copy of crucial data that no one bothered to make;
used only in the abstract
Re: Apache2 startet nach Upgrade auf Keyhelp 23 nicht mehr
Auf der Domain-Übersicht - unter der Spalte "Aktionen", da ist es das 4. Icon.
Mit freundlichen Grüßen / Best regards
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************