Made Packet Update, reboot and ports 80 and 443 are gone

Hi, all.
I made Paket-Updates yesterday evening to my both UCS Systems with actual Errata Level. Both signaled Finished Updates - reboot Server Komponents. I did it…
And ended up with unavailable Webserver. Kopano is working, Mails and Calendar also. No access for Portal and Nextcloud and so on.
Any clues? i had no since i´m by now not complete Healthy on Duty.

Blue Skies
Chris

It seems, that Apache service is not running.

The reason might be found after a

systemctl status apache2

The output shows, why Apache cannot start.

I had the same issue a few weeks ago before I upgraded to UCS 4.4.4. So I did a restore of the UCS server from backup and tried it a few weeks later successfully.

Hi and sorry, was busy at work.
I now have made some investigations in the system.

Jun 04 10:38:13 ucs-8033 systemd[1]: Starting The Apache HTTP Server…
Jun 04 10:38:14 ucs-8033 apachectl[1979]: AH00526: Syntax error on line 65 of /etc/apache2/sites-enabled/univention-letsencrypt.conf:
Jun 04 10:38:14 ucs-8033 apachectl[1979]: Invalid ServerName “*.fsg2020.de” use ServerAlias to set multiple server names.
Jun 04 10:38:14 ucs-8033 apachectl[1979]: Action ‘start’ failed.
Jun 04 10:38:14 ucs-8033 apachectl[1979]: The Apache error log may have more information.
Jun 04 10:38:14 ucs-8033 systemd[1]: apache2.service: Control process exited, code=exited status=1
Jun 04 10:38:14 ucs-8033 systemd[1]: Failed to start The Apache HTTP Server.
Jun 04 10:38:14 ucs-8033 systemd[1]: apache2.service: Unit entered failed state.
Jun 04 10:38:14 ucs-8033 systemd[1]: apache2.service: Failed with result ‘exit-code’.

this is the Result of your suggestion. Apache is not active, but loaded.

the Log says:

– Reboot –
Jun 04 10:38:12 ucs-8033 systemd[1]: Starting The Apache HTTP Server…
Jun 04 10:38:13 ucs-8033 apachectl[1884]: AH00526: Syntax error on line 65 of /etc/apache2/sites-enabled/univention-letsencrypt.conf:
Jun 04 10:38:13 ucs-8033 apachectl[1884]: Invalid ServerName “.xxxx.se" use ServerAlias to set multiple server names.
Jun 04 10:38:13 ucs-8033 apachectl[1884]: Action ‘start’ failed.
Jun 04 10:38:13 ucs-8033 apachectl[1884]: The Apache error log may have more information.
Jun 04 10:38:13 ucs-8033 systemd[1]: apache2.service: Control process exited, code=exited status=1
Jun 04 10:38:13 ucs-8033 systemd[1]: Failed to start The Apache HTTP Server.
Jun 04 10:38:13 ucs-8033 systemd[1]: apache2.service: Unit entered failed state.
Jun 04 10:38:13 ucs-8033 systemd[1]: apache2.service: Failed with result ‘exit-code’.
Jun 04 10:38:13 ucs-8033 systemd[1]: Starting The Apache HTTP Server…
Jun 04 10:38:14 ucs-8033 apachectl[1979]: AH00526: Syntax error on line 65 of /etc/apache2/sites-enabled/univention-letsencrypt.conf:
Jun 04 10:38:14 ucs-8033 apachectl[1979]: Invalid ServerName "
.xxxx.se” use ServerAlias to set multiple server names.
Jun 04 10:38:14 ucs-8033 apachectl[1979]: Action ‘start’ failed.
Jun 04 10:38:14 ucs-8033 apachectl[1979]: The Apache error log may have more information.
Jun 04 10:38:14 ucs-8033 systemd[1]: apache2.service: Control process exited, code=exited status=1
Jun 04 10:38:14 ucs-8033 systemd[1]: Failed to start The Apache HTTP Server.
Jun 04 10:38:14 ucs-8033 systemd[1]: apache2.service: Unit entered failed state.
Jun 04 10:38:14 ucs-8033 systemd[1]: apache2.service: Failed with result ‘exit-code’.

now i am a little disapointed and need time to solve this. Any hints (maybe also an Axe to get out of the wood) is apreciated. I feel the answer is right before me but i did not see.
Note: in the second blockquote the Servername is *.xxxx.se.
cheers Chris

And. there it is: The Solution…
LetsEncrypt did mess up the Certificates and after disabling them apache restarts and i reinstalled lets encrypt. now it runs smooth as ever.

Cheers and thanks to the original Thread Solution provider Moritz Bunkus.
Chris

Mastodon