Apache2 failed to start failed to start LSB The 2019 Stack Overflow Developer Survey Results Are InUbuntu upgrade from 12.0 to 14.0 failed, apache2 cannot startsmbd (samba daemon) does not listen on ports 139/445Apache, problem Failed to start LSB: Apache2 web serveran issue with apache2 restartFailed to load apache server?Failed to start raise network interface on Ubuntu 16.04services failing to start - control process exited with error codeApache2 HTTP Ubuntu Won't Restartsite inaccesible when i run a vhostUbuntu 18.04 Error with apache2
Does the shape of a die affect the probability of a number being rolled?
Can one be advised by a professor who is very far away?
How to deal with fear of taking dependencies
How to answer pointed "are you quitting" questioning when I don't want them to suspect
Why is the maximum length of OpenWrt’s root password 8 characters?
What is the accessibility of a package's `Private` context variables?
FPGA - DIY Programming
What does ひと匙 mean in this manga and has it been used colloquially?
Shouldn't "much" here be used instead of "more"?
For what reasons would an animal species NOT cross a *horizontal* land bridge?
Did 3000BC Egyptians use meteoric iron weapons?
Why was M87 targetted for the Event Horizon Telescope instead of Sagittarius A*?
Right tool to dig six foot holes?
How to support a colleague who finds meetings extremely tiring?
If I score a critical hit on an 18 or higher, what are my chances of getting a critical hit if I roll 3d20?
The difference between dialogue marks
Should I use my personal e-mail address, or my workplace one, when registering to external websites for work purposes?
Apparent duplicates between Haynes service instructions and MOT
Geography at the pixel level
Write faster on AT24C32
Have you ever entered Singapore using a different passport or name?
Identify boardgame from Big movie
What tool would a Roman-age civilization have for the breaking of silver and other metals into dust?
Is bread bad for ducks?
Apache2 failed to start failed to start LSB
The 2019 Stack Overflow Developer Survey Results Are InUbuntu upgrade from 12.0 to 14.0 failed, apache2 cannot startsmbd (samba daemon) does not listen on ports 139/445Apache, problem Failed to start LSB: Apache2 web serveran issue with apache2 restartFailed to load apache server?Failed to start raise network interface on Ubuntu 16.04services failing to start - control process exited with error codeApache2 HTTP Ubuntu Won't Restartsite inaccesible when i run a vhostUbuntu 18.04 Error with apache2
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
Hi folks today i lost a job because i couldn't solve this error
while i was working with laravel phpmyadmin didn't work and i got error 2002
i have reinstall every thing apache2 php and phpmyadmin but a problem happened with apache2 it cannot start anymore
here is the error hope you help me fast
● apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
Drop-In: /lib/systemd/system/apache2.service.d
└─apache2-systemd.conf
Active: failed (Result: exit-code) since Fri 2017-07-07 03:11:31 EET; 6ms ago
Docs: man:systemd-sysv-generator(8)
Process: 4035 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)
Jul 07 03:11:31 Alex apache2[4035]: *
Jul 07 03:11:31 Alex apache2[4035]: * The apache2 configtest failed.
Jul 07 03:11:31 Alex apache2[4035]: Output of config test was:
Jul 07 03:11:31 Alex apache2[4035]: apache2: Syntax error on line 140 of /e...ry
Jul 07 03:11:31 Alex apache2[4035]: Action 'configtest' failed.
Jul 07 03:11:31 Alex apache2[4035]: The Apache error log may have more info...n.
Jul 07 03:11:31 Alex systemd[1]: apache2.service: Control process exited, c...=1
Jul 07 03:11:31 Alex systemd[1]: Failed to start LSB: Apache2 web server.
Jul 07 03:11:31 Alex systemd[1]: apache2.service: Unit entered failed state.
Jul 07 03:11:31 Alex systemd[1]: apache2.service: Failed with result 'exit-...'.
Hint: Some lines were ellipsized, use -l to show in full.
server apache2 php
bumped to the homepage by Community♦ 4 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
Hi folks today i lost a job because i couldn't solve this error
while i was working with laravel phpmyadmin didn't work and i got error 2002
i have reinstall every thing apache2 php and phpmyadmin but a problem happened with apache2 it cannot start anymore
here is the error hope you help me fast
● apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
Drop-In: /lib/systemd/system/apache2.service.d
└─apache2-systemd.conf
Active: failed (Result: exit-code) since Fri 2017-07-07 03:11:31 EET; 6ms ago
Docs: man:systemd-sysv-generator(8)
Process: 4035 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)
Jul 07 03:11:31 Alex apache2[4035]: *
Jul 07 03:11:31 Alex apache2[4035]: * The apache2 configtest failed.
Jul 07 03:11:31 Alex apache2[4035]: Output of config test was:
Jul 07 03:11:31 Alex apache2[4035]: apache2: Syntax error on line 140 of /e...ry
Jul 07 03:11:31 Alex apache2[4035]: Action 'configtest' failed.
Jul 07 03:11:31 Alex apache2[4035]: The Apache error log may have more info...n.
Jul 07 03:11:31 Alex systemd[1]: apache2.service: Control process exited, c...=1
Jul 07 03:11:31 Alex systemd[1]: Failed to start LSB: Apache2 web server.
Jul 07 03:11:31 Alex systemd[1]: apache2.service: Unit entered failed state.
Jul 07 03:11:31 Alex systemd[1]: apache2.service: Failed with result 'exit-...'.
Hint: Some lines were ellipsized, use -l to show in full.
server apache2 php
bumped to the homepage by Community♦ 4 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
Hi folks today i lost a job because i couldn't solve this error
while i was working with laravel phpmyadmin didn't work and i got error 2002
i have reinstall every thing apache2 php and phpmyadmin but a problem happened with apache2 it cannot start anymore
here is the error hope you help me fast
● apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
Drop-In: /lib/systemd/system/apache2.service.d
└─apache2-systemd.conf
Active: failed (Result: exit-code) since Fri 2017-07-07 03:11:31 EET; 6ms ago
Docs: man:systemd-sysv-generator(8)
Process: 4035 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)
Jul 07 03:11:31 Alex apache2[4035]: *
Jul 07 03:11:31 Alex apache2[4035]: * The apache2 configtest failed.
Jul 07 03:11:31 Alex apache2[4035]: Output of config test was:
Jul 07 03:11:31 Alex apache2[4035]: apache2: Syntax error on line 140 of /e...ry
Jul 07 03:11:31 Alex apache2[4035]: Action 'configtest' failed.
Jul 07 03:11:31 Alex apache2[4035]: The Apache error log may have more info...n.
Jul 07 03:11:31 Alex systemd[1]: apache2.service: Control process exited, c...=1
Jul 07 03:11:31 Alex systemd[1]: Failed to start LSB: Apache2 web server.
Jul 07 03:11:31 Alex systemd[1]: apache2.service: Unit entered failed state.
Jul 07 03:11:31 Alex systemd[1]: apache2.service: Failed with result 'exit-...'.
Hint: Some lines were ellipsized, use -l to show in full.
server apache2 php
Hi folks today i lost a job because i couldn't solve this error
while i was working with laravel phpmyadmin didn't work and i got error 2002
i have reinstall every thing apache2 php and phpmyadmin but a problem happened with apache2 it cannot start anymore
here is the error hope you help me fast
● apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
Drop-In: /lib/systemd/system/apache2.service.d
└─apache2-systemd.conf
Active: failed (Result: exit-code) since Fri 2017-07-07 03:11:31 EET; 6ms ago
Docs: man:systemd-sysv-generator(8)
Process: 4035 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)
Jul 07 03:11:31 Alex apache2[4035]: *
Jul 07 03:11:31 Alex apache2[4035]: * The apache2 configtest failed.
Jul 07 03:11:31 Alex apache2[4035]: Output of config test was:
Jul 07 03:11:31 Alex apache2[4035]: apache2: Syntax error on line 140 of /e...ry
Jul 07 03:11:31 Alex apache2[4035]: Action 'configtest' failed.
Jul 07 03:11:31 Alex apache2[4035]: The Apache error log may have more info...n.
Jul 07 03:11:31 Alex systemd[1]: apache2.service: Control process exited, c...=1
Jul 07 03:11:31 Alex systemd[1]: Failed to start LSB: Apache2 web server.
Jul 07 03:11:31 Alex systemd[1]: apache2.service: Unit entered failed state.
Jul 07 03:11:31 Alex systemd[1]: apache2.service: Failed with result 'exit-...'.
Hint: Some lines were ellipsized, use -l to show in full.
server apache2 php
server apache2 php
asked Jul 7 '17 at 1:20
Mohamed ShaabanMohamed Shaaban
813
813
bumped to the homepage by Community♦ 4 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 4 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
You have a syntax error in your .conf file in line 140.
That's what the error tells you.
You can see which .conf file it is if you use the -l
like listed in the last line of that message.
systemctl status apache2.service -l
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f932769%2fapache2-failed-to-start-failed-to-start-lsb%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You have a syntax error in your .conf file in line 140.
That's what the error tells you.
You can see which .conf file it is if you use the -l
like listed in the last line of that message.
systemctl status apache2.service -l
add a comment |
You have a syntax error in your .conf file in line 140.
That's what the error tells you.
You can see which .conf file it is if you use the -l
like listed in the last line of that message.
systemctl status apache2.service -l
add a comment |
You have a syntax error in your .conf file in line 140.
That's what the error tells you.
You can see which .conf file it is if you use the -l
like listed in the last line of that message.
systemctl status apache2.service -l
You have a syntax error in your .conf file in line 140.
That's what the error tells you.
You can see which .conf file it is if you use the -l
like listed in the last line of that message.
systemctl status apache2.service -l
answered Jul 7 '17 at 7:35
ZiazisZiazis
1,913419
1,913419
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f932769%2fapache2-failed-to-start-failed-to-start-lsb%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown