Last UCS-5 upgrade broke down apache2

after a reboot, no Apache … no web services.

root@ucs:~# 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 Mon 2021-04-26 10:42:22 -10; 2s ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 3232 ExecStart=/usr/sbin/apachectl start (code=exited, status=126)

avril 26 10:42:22 ucs systemd[1]: Starting The Apache HTTP Server…
avril 26 10:42:22 ucs apachectl[3232]: /usr/sbin/apachectl: 174: /usr/sbin/apachectl: /usr/sbin/apache2: Permission denied
avril 26 10:42:22 ucs apachectl[3232]: Action ‘start’ failed.
avril 26 10:42:22 ucs apachectl[3232]: The Apache error log may have more information.
avril 26 10:42:22 ucs systemd[1]: apache2.service: Control process exited, code=exited, status=126/n/a
avril 26 10:42:22 ucs systemd[1]: apache2.service: Failed with result ‘exit-code’.
avril 26 10:42:22 ucs systemd[1]: Failed to start The Apache HTTP Server.

the error was Permission denied, so I checked

root@ucs:~# ls -l /usr/sbin/apache2
-rw-r–r-- 1 root root 687944 sept. 2 2020 /usr/sbin/apache2
root@ucs:~# chmod +x /usr/sbin/apache2

now apache2 start; but there may be a mess with the scripts or the apache2 package for the permission to disapear.

regards.

Mastodon