Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #267982 > unrolled thread
| Started by | "Stephen P. Molnar" <s.molnar@sbcglobal.net> |
|---|---|
| First post | 2024-03-01 16:40 +0100 |
| Last post | 2024-03-01 19:30 +0100 |
| Articles | 4 — 3 participants |
Back to article view | Back to linux.debian.user
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Error: Failed to start Apache2 service on boot "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2024-03-01 16:40 +0100
Re: Error: Failed to start Apache2 service on boot Markus Schönhaber <debian-user@list-post.mks-mail.de> - 2024-03-01 17:20 +0100
Re: Error: Failed to start Apache2 service on boot "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2024-03-01 17:50 +0100
Re: Error: Failed to start Apache2 service on boot Dan Ritter <dsr@randomstring.org> - 2024-03-01 19:30 +0100
| From | "Stephen P. Molnar" <s.molnar@sbcglobal.net> |
|---|---|
| Date | 2024-03-01 16:40 +0100 |
| Subject | Error: Failed to start Apache2 service on boot |
| Message-ID | <Idd9n-dIq6-7@gated-at.bofh.it> |
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
[toc] | [next] | [standalone]
| From | Markus Schönhaber <debian-user@list-post.mks-mail.de> |
|---|---|
| Date | 2024-03-01 17:20 +0100 |
| Message-ID | <IddM6-dIT4-1@gated-at.bofh.it> |
| In reply to | #267982 |
01.03.24, 16:36 +0100, Stephen P. Molnar: > 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: [1] ^^^^^^ > Mar 01 10:14:07 AbNormal apachectl[4477]: Illegal option ExecCG [2] ^^^^^^ > 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. Hm, to me it seems that the problem description in the log is written in pretty plain English: [1] Look at /etc/apache2/mods-enabled/userdir.conf line 11 there you should see something like [2] "ExecCG" which probably should read "ExecCGI" instead. -- Regards mks
[toc] | [prev] | [next] | [standalone]
| From | "Stephen P. Molnar" <s.molnar@sbcglobal.net> |
|---|---|
| Date | 2024-03-01 17:50 +0100 |
| Message-ID | <Idef7-dJ2B-1@gated-at.bofh.it> |
| In reply to | #267983 |
On 03/01/2024 11:08 AM, Markus Schönhaber wrote: > 01.03.24, 16:36 +0100, Stephen P. Molnar: > >> 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: > [1] ^^^^^^ > >> Mar 01 10:14:07 AbNormal apachectl[4477]: Illegal option ExecCG > [2] ^^^^^^ > >> 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. > Hm, to me it seems that the problem description in the log is written in > pretty plain English: > > [1] Look at /etc/apache2/mods-enabled/userdir.conf line 11 > there you should see something like > [2] "ExecCG" which probably should read "ExecCGI" instead. > That was the problem. Many thanks. -- Stephen P. Molnar, Ph.D. https://insilicochemistry.net (614)312-7528 (c) Skype: smolnar1
[toc] | [prev] | [next] | [standalone]
| From | Dan Ritter <dsr@randomstring.org> |
|---|---|
| Date | 2024-03-01 19:30 +0100 |
| Message-ID | <IdfNT-dKfF-7@gated-at.bofh.it> |
| In reply to | #267984 |
Stephen P. Molnar wrote: > > > On 03/01/2024 11:08 AM, Markus Schönhaber wrote: > > > > [1] Look at /etc/apache2/mods-enabled/userdir.conf line 11 > > there you should see something like > > [2] "ExecCG" which probably should read "ExecCGI" instead. > > > That was the problem. Many thanks. If you install etckeeper on this machine, you can check in snapshots of every configuration change you make and the packaging system makes, and then see precisely what changed and when. $ sudo apt install etckeeper before each change: $ sudo etckeeper commit [optional message to yourself] when there's a problem: $ sudo etckeeper vcs diff will show you the difference between what you have now and what you last stored You can actually do just about anything you need to do on a single user system with those two commands, but you have the whole power of git available as well. -dsr-
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web