Error: Failed to start Apache2 service on boot
I am running up to date Bookworm and get the 'Failed to start Apache2
service on boot' error message.
I searched Google and found
https://forums.debian.net/voew.top9c,php?t=14419s which didn't solve the
problem.
I then tried sudo systemctl status apache2.service resulting in:
× apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled;
preset: enabled)
Active: failed (Result: exit-code) since Fri 2024-03-01 10:14:07
EST; 20min ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 4474 ExecStart=/usr/sbin/apachectl start (code=exited,
status=1/FAILURE)
CPU: 41ms
Mar 01 10:14:07 AbNormal systemd[1]: Starting apache2.service - The
Apache HTTP Server...
Mar 01 10:14:07 AbNormal apachectl[4477]: AH00526: Syntax error on line
11 of /etc/apache2/mods-enabled/userdir.conf:
Mar 01 10:14:07 AbNormal apachectl[4477]: Illegal option ExecCG
Mar 01 10:14:07 AbNormal apachectl[4474]: Action 'start' failed.
Mar 01 10:14:07 AbNormal apachectl[4474]: The Apache error log may have
more information.
Mar 01 10:14:07 AbNormal systemd[1]: apache2.service: Control process
exited, code=exited, status=1/FAILURE
Mar 01 10:14:07 AbNormal systemd[1]: apache2.service: Failed with result
'exit-code'.
Mar 01 10:14:07 AbNormal systemd[1]: Failed to start apache2.service -
The Apache HTTP Server.
Unfortunately, I am not conversant in ancient Greek and wold very
appreciative of assistance.
Thanks in advance.
--
Stephen P. Molnar, Ph.D.
https://insilicochemistry.net
(614)312-7528 (c)
Skype: smolnar1
Reply to: