Ist doch ein Thread
Apache: syntax error: AH00526
Re: Apache: syntax error: AH00526
Ist doch ein Thread
Tobi
-----------------------------
wewoco.de
Das Forum für Reseller, Digital-Agenturen, Bildschirmarbeiter und Mäuseschubser
- Justman10000
- Posts: 217
- Joined: Tue 15. Dec 2020, 16:40
Re: Apache: syntax error: AH00526
Re: Apache: syntax error: AH00526
Wenn Du da Deine Domain eingibst. Kommt dann die IP Adresse von Deinem Server als Antwort?
Gruß Arne
- Justman10000
- Posts: 217
- Joined: Tue 15. Dec 2020, 16:40
Re: Domain nicht verwendbar
Vielleicht wäre ein Managed Server das bessere Produkt für dich?Justman10000 wrote: ↑Fri 29. Jan 2021, 17:26 Nein, nicht wirklich, hier stimmt mit Let's Encrypt was nicht, bei dem anderen war es eine Datei

Re: Apache: syntax error: AH00526
Code: Select all
sudo netstat -tulpn | grep LISTEN
Tobi
-----------------------------
wewoco.de
Das Forum für Reseller, Digital-Agenturen, Bildschirmarbeiter und Mäuseschubser
- OlliTheDarkness
- Posts: 1868
- Joined: Tue 14. Aug 2018, 16:41
- Location: Essen (NRW)
Re: Apache: syntax error: AH00526
BITTE TOBI !"!!
Setz dem Wahnsinn hier ein ENDE!

OlliTheDarkness
**************************************************************
Helden leben lange, Legenden sterben nie


**************************************************************
- Justman10000
- Posts: 217
- Joined: Tue 15. Dec 2020, 16:40
Re: Apache: syntax error: AH00526
Tobi wrote: ↑Fri 29. Jan 2021, 20:58 Poste mal die Ausgabe von
Code: Select all
sudo netstat -tulpn | grep LISTEN
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 2417/dovecot
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 2417/dovecot
tcp 0 0 127.0.0.1:783 0.0.0.0:* LISTEN 626/perl
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1/init
tcp 0 0 127.0.0.1:41360 0.0.0.0:* LISTEN 12456/./sinusbot
tcp 0 0 127.0.0.1:37651 0.0.0.0:* LISTEN 4935/./sinusbot
tcp 0 0 127.0.0.1:39923 0.0.0.0:* LISTEN 14706/./sinusbot
tcp 0 0 127.0.0.1:40276 0.0.0.0:* LISTEN 12285/./sinusbot
tcp 0 0 127.0.0.1:33621 0.0.0.0:* LISTEN 11687/./sinusbot
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 463/sshd
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 1829/master
tcp 0 0 127.0.0.1:12345 0.0.0.0:* LISTEN 566/opendkim
tcp 0 0 127.0.0.1:41277 0.0.0.0:* LISTEN 7970/./sinusbot
tcp 0 0 0.0.0.0:4190 0.0.0.0:* LISTEN 2417/dovecot
tcp 0 0 127.0.0.1:33151 0.0.0.0:* LISTEN 10830/./sinusbot
tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 2417/dovecot
tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN 2417/dovecot
tcp 0 0 127.0.0.1:10023 0.0.0.0:* LISTEN 231/postgrey --pidf
tcp 0 0 127.0.0.1:34760 0.0.0.0:* LISTEN 26695/./sinusbot
tcp 0 0 127.0.0.1:10024 0.0.0.0:* LISTEN 1190/amavisd-new (m
tcp 0 0 127.0.0.1:10025 0.0.0.0:* LISTEN 1829/master
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 750/mysqld
tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN 1829/master
tcp6 0 0 :::110 :::* LISTEN 2417/dovecot
tcp6 0 0 :::143 :::* LISTEN 2417/dovecot
tcp6 0 0 ::1:783 :::* LISTEN 626/perl
tcp6 0 0 :::111 :::* LISTEN 1/init
tcp6 0 0 :::80 :::* LISTEN 480/apache2
tcp6 0 0 :::21 :::* LISTEN 2467/proftpd: (acce
tcp6 0 0 :::22 :::* LISTEN 463/sshd
tcp6 0 0 :::1111 :::* LISTEN 10830/./sinusbot
tcp6 0 0 :::1112 :::* LISTEN 11687/./sinusbot
tcp6 0 0 :::1113 :::* LISTEN 12285/./sinusbot
tcp6 0 0 :::1114 :::* LISTEN 4935/./sinusbot
tcp6 0 0 :::1115 :::* LISTEN 14706/./sinusbot
tcp6 0 0 :::443 :::* LISTEN 480/apache2
tcp6 0 0 :::1116 :::* LISTEN 12456/./sinusbot
tcp6 0 0 :::1117 :::* LISTEN 26695/./sinusbot
tcp6 0 0 :::1118 :::* LISTEN 7970/./sinusbot
tcp6 0 0 :::4190 :::* LISTEN 2417/dovecot
tcp6 0 0 :::993 :::* LISTEN 2417/dovecot
tcp6 0 0 :::995 :::* LISTEN 2417/dovecot
tcp6 0 0 ::1:10023 :::* LISTEN 231/postgrey --pidf
tcp6 0 0 ::1:10024 :::* LISTEN 1190/amavisd-new (m
- turbopixel
- Posts: 59
- Joined: Sat 18. Mar 2017, 11:22
Re: Apache: syntax error: AH00526
Code: Select all
[28-Jan-2021 16:18:14] INFO --> All done.
[28-Jan-2021 16:18:14] INFO --> Apache: reloadApache()
[28-Jan-2021 16:18:14] ERROR --> Apache: syntax error: AH00526: Syntax error on line 35 of /etc/apache2/keyhelp/keyhelp.conf:
SSLCertificateFile: file '/etc/ssl/keyhelp/keyhelp.pem' does not exist or is empty
Action 'configtest' failed.
The Apache error log may have more information.
[28-Jan-2021 16:18:14] ERROR --> Apache: no reload due syntax error
- Justman10000
- Posts: 217
- Joined: Tue 15. Dec 2020, 16:40
Re: Apache: syntax error: AH00526
Und was tun?turbopixel wrote: ↑Sat 30. Jan 2021, 15:42 Den Apache Syntax Error wird bei mir auch angezeigt, nachdem ich ursprünglich Probleme mit Lets Encrypt und einer fehlerhaften IP6V Adresse hatte viewtopic.php?f=6&t=10285&p=27773#p27773
Die Datei existiert, die Dateirechte stimmen.Code: Select all
[28-Jan-2021 16:18:14] INFO --> All done. [28-Jan-2021 16:18:14] INFO --> Apache: reloadApache() [28-Jan-2021 16:18:14] ERROR --> Apache: syntax error: AH00526: Syntax error on line 35 of /etc/apache2/keyhelp/keyhelp.conf: SSLCertificateFile: file '/etc/ssl/keyhelp/keyhelp.pem' does not exist or is empty Action 'configtest' failed. The Apache error log may have more information. [28-Jan-2021 16:18:14] ERROR --> Apache: no reload due syntax error
Re: Apache: syntax error: AH00526
Die Datei "/etc/ssl/keyhelp/keyhelp.pem" ist ein Symlink auf eine Zertifikats .pem Datei. Existiert die mit dem Symlink verknüpfte Datei denn auch und hat die korrekten Rechte?
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
- Justman10000
- Posts: 217
- Joined: Tue 15. Dec 2020, 16:40
Re: Apache: syntax error: AH00526
Re: Apache: syntax error: AH00526
http://manpages.ubuntu.com/manpages/art ... /ls.1.html
Code: Select all
ls -la
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
- Justman10000
- Posts: 217
- Joined: Tue 15. Dec 2020, 16:40
Re: Apache: syntax error: AH00526
HmmAlexander wrote: ↑Tue 2. Feb 2021, 13:02 Das lässt sich hiermit ermitteln:
http://manpages.ubuntu.com/manpages/art ... /ls.1.html
Code: Select all
ls -la
Ich glaube, dies erklärt das ganze... Oder?total 48
drwxr-xr-x 5 root root 4096 Jan 25 15:19 .
drwxr-xr-x 5 root root 4096 Jan 19 10:35 ..
drw------- 2 keyhelp keyhelp 4096 Feb 1 14:43 files
lrwxrwxrwx 1 root root 74 Jan 24 10:35 ftp-ca.crt -> /etc/ssl/keyhelp/letsencrypt/keyhelp/vps2061266.fastwebserver.de/chain.pem
lrwxrwxrwx 1 root root 77 Jan 24 10:35 ftp.pem -> /etc/ssl/keyhelp/letsencrypt/keyhelp/vps2061266.fastwebserver.de/complete.pem
lrwxrwxrwx 1 root root 74 Jan 24 10:35 keyhelp-ca.crt -> /etc/ssl/keyhelp/letsencrypt/keyhelp/vps2061266.fastwebserver.de/chain.pem
lrwxrwxrwx 1 root root 77 Jan 24 10:35 keyhelp.pem -> /etc/ssl/keyhelp/letsencrypt/keyhelp/vps2061266.fastwebserver.de/complete.pem
drw------- 4 root root 4096 Feb 2 13:21 letsencrypt
lrwxrwxrwx 1 root root 74 Jan 24 10:35 mail-ca.crt -> /etc/ssl/keyhelp/letsencrypt/keyhelp/vps2061266.fastwebserver.de/chain.pem
lrwxrwxrwx 1 root root 77 Jan 24 10:35 mail.pem -> /etc/ssl/keyhelp/letsencrypt/keyhelp/vps2061266.fastwebserver.de/complete.pem
drw------- 2 root root 4096 Feb 1 14:43 pem
-rw------- 1 root root 2358 Jan 24 10:29 root-ca.crt
lrwxrwxrwx 1 root root 37 Jan 24 10:35 webmail-ca.crt -> /etc/ssl/keyhelp/files/default-ca.crt
lrwxrwxrwx 1 root root 32 Jan 24 10:35 webmail.pem -> /etc/ssl/keyhelp/pem/default.pem
r
Re: Apache: syntax error: AH00526
Hierzu musst du die Symlinks löschen und neu anlegen. Anbei ein vorher / nachher Bild.
Vorher: Nachher: Bevor die nächste Frage kommt, das geht so: https://linuxize.com/post/how-to-create ... n-command/
2) Apache neu starten
3) Einmal Löschen:
Code: Select all
/etc/ssl/keyhelp/letsencrypt/keyhelp/vps2061266.fastwebserver.de/
4) Einmal im KeyHelp zu einem anderen Zertifikat (z.B. default) für alle Serverdienste außer Webmail schalten
(Adminbereich -> SSL/TLS-Zertifikate -> Serverdienste absichern)
4.1) Mindestens 1 Minute warten
4.2) Wieder im selben Bildschirm auf Let's Encrypt stellen.
Nach 1-2 Minute sollten die Symlinks dann wieder stimmen und das Zertifikat bezogen worden sein.
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************