Folgende Situation:
UCS 4.2.3 (funktionierte tadellos), installiert Nextcloud, auch keine Probleme, alles lief bis ich Letsencrypt installiert habe.
Letsencrypt habe ich nach Aleitung (http://wiki.univention.de/index.php?title=Cool_Solution_-_Let’s_Encrypt) installiert. Dann wollte ich von Cool Solution zur Let’s Encrypt App migrieren ( nach Anleitung ).
Nach dem neuen Start konnte ich mich im System nicht anmelden.
hier ist die Meldung:
systemctl status apache2.service
Active: failed (Result: exit-code) since Do 2017-11-30 17:18:42 CET; 16h ago
Process: 16695 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)
● apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2)
Active: failed (Result: exit-code) since Do 2017-11-30 17:18:42 CET; 19h ago
Process: 16695 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)
Nov 30 17:18:42 DNS-GW-SRV apache2[16695]: Action 'configtest' failed.
Nov 30 17:18:42 DNS-GW-SRV apache2[16695]: The Apache error log may have more information.
Nov 30 17:18:42 DNS-GW-SRV systemd[1]: apache2.service: control process exited, code=exited status=1
Nov 30 17:18:42 DNS-GW-SRV systemd[1]: Failed to start LSB: Apache2 web server.
Nov 30 17:18:42 DNS-GW-SRV systemd[1]: Unit apache2.service entered failed state.
Nov 30 17:21:17 DNS-GW-SRV systemd[1]: Unit apache2.service cannot be reloaded because it is inactive.
Ich hoffe auf Ihre Unterstützung.
Danke im Voraus.
oh, ich sehe schon, ichabe nicht alles eingefügt…
root@DNS-GW-SRV:~# systemctl status apache2.service
Active: failed (Result: exit-code) since Do 2017-11-30 17:18:42 CET; 16h ago
Process: 16695 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)
● apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2)
Active: failed (Result: exit-code) since Do 2017-11-30 17:18:42 CET; 19h ago
Process: 16695 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)
Nov 30 17:18:42 DNS-GW-SRV apache2[16695]: SSLCertificateFile: file ‘/etc/univention/letsencrypt/signed.crt’ does not exist or is empty
Nov 30 17:18:42 DNS-GW-SRV apache2[16695]: Action ‘configtest’ failed.
Nov 30 17:18:42 DNS-GW-SRV apache2[16695]: The Apache error log may have more information.
Nov 30 17:18:42 DNS-GW-SRV systemd[1]: apache2.service: control process exited, code=exited status=1
Nov 30 17:18:42 DNS-GW-SRV systemd[1]: Failed to start LSB: Apache2 web server.
Nov 30 17:18:42 DNS-GW-SRV systemd[1]: Unit apache2.service entered failed state.
Nov 30 17:21:17 DNS-GW-SRV systemd[1]: Unit apache2.service cannot be reloaded because it is inactive.
SSLCertificateFile: file ‘/etc/univention/letsencrypt/signed.crt’ does not exist or is empty
Da ist wohl beim Erstellen des Let’s Encrypt Zertifikats was schiefgegangen. In der Datei sollte eigentlich das Zertifikat sein, ist es aber offenbar nicht und Apache2 will nicht mit einem nicht-vorhandenen Zertifikat starten.
Um Apache wieder zum laufen zu kriegen würde ich die UCR-Variable mit dem Zertifikat erstmal zurücksetzen: