Re: Apache: syntax error: AH00526
Posted: Fri 29. Jan 2021, 18:06
Was habt ihr nur?
Ist doch ein Thread
Ist doch ein Thread
Das offizielle KeyHelp Forum der Keyweb AG / The official KeyHelp forum of Keyweb AG
https://community.keyhelp.de/
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
Code: Select all
sudo netstat -tulpn | grep LISTEN
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
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
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
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?
Code: Select all
ls -la
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
Code: Select all
/etc/ssl/keyhelp/letsencrypt/keyhelp/vps2061266.fastwebserver.de/