Cannot get Apache2 to run

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I was having some trouble with Apache2 and reading the web it seemed in uninstall reinstall should sort the issue.



I did that following this link.



I've now reinstalled apache but as soon as I run service apache2 status I get the following



● 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: inactive (dead) since Tue 2018-05-29 16:41:31 UTC; 2min 5s ago
Docs: man:systemd-sysv-generator(8)
Process: 19421 ExecStop=/etc/init.d/apache2 stop (code=exited, status=0/SUCCESS)
Process: 19412 ExecStart=/etc/init.d/apache2 start (code=exited, status=0/SUCCESS)


I'm running on Ubuntu 16.04.







share|improve this question




















  • What it says when you run sudo systemctl start apache2.service?
    – pa4080
    May 29 at 16:50










  • Nothing, blank line. But it isn't running
    – HenryM
    May 29 at 16:53










  • How did you verify that it is not running?
    – vidarlo
    Jun 2 at 15:29










  • service apache2 status
    – HenryM
    Jun 2 at 17:19














up vote
0
down vote

favorite












I was having some trouble with Apache2 and reading the web it seemed in uninstall reinstall should sort the issue.



I did that following this link.



I've now reinstalled apache but as soon as I run service apache2 status I get the following



● 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: inactive (dead) since Tue 2018-05-29 16:41:31 UTC; 2min 5s ago
Docs: man:systemd-sysv-generator(8)
Process: 19421 ExecStop=/etc/init.d/apache2 stop (code=exited, status=0/SUCCESS)
Process: 19412 ExecStart=/etc/init.d/apache2 start (code=exited, status=0/SUCCESS)


I'm running on Ubuntu 16.04.







share|improve this question




















  • What it says when you run sudo systemctl start apache2.service?
    – pa4080
    May 29 at 16:50










  • Nothing, blank line. But it isn't running
    – HenryM
    May 29 at 16:53










  • How did you verify that it is not running?
    – vidarlo
    Jun 2 at 15:29










  • service apache2 status
    – HenryM
    Jun 2 at 17:19












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I was having some trouble with Apache2 and reading the web it seemed in uninstall reinstall should sort the issue.



I did that following this link.



I've now reinstalled apache but as soon as I run service apache2 status I get the following



● 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: inactive (dead) since Tue 2018-05-29 16:41:31 UTC; 2min 5s ago
Docs: man:systemd-sysv-generator(8)
Process: 19421 ExecStop=/etc/init.d/apache2 stop (code=exited, status=0/SUCCESS)
Process: 19412 ExecStart=/etc/init.d/apache2 start (code=exited, status=0/SUCCESS)


I'm running on Ubuntu 16.04.







share|improve this question












I was having some trouble with Apache2 and reading the web it seemed in uninstall reinstall should sort the issue.



I did that following this link.



I've now reinstalled apache but as soon as I run service apache2 status I get the following



● 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: inactive (dead) since Tue 2018-05-29 16:41:31 UTC; 2min 5s ago
Docs: man:systemd-sysv-generator(8)
Process: 19421 ExecStop=/etc/init.d/apache2 stop (code=exited, status=0/SUCCESS)
Process: 19412 ExecStart=/etc/init.d/apache2 start (code=exited, status=0/SUCCESS)


I'm running on Ubuntu 16.04.









share|improve this question











share|improve this question




share|improve this question










asked May 29 at 16:47









HenryM

11817




11817











  • What it says when you run sudo systemctl start apache2.service?
    – pa4080
    May 29 at 16:50










  • Nothing, blank line. But it isn't running
    – HenryM
    May 29 at 16:53










  • How did you verify that it is not running?
    – vidarlo
    Jun 2 at 15:29










  • service apache2 status
    – HenryM
    Jun 2 at 17:19
















  • What it says when you run sudo systemctl start apache2.service?
    – pa4080
    May 29 at 16:50










  • Nothing, blank line. But it isn't running
    – HenryM
    May 29 at 16:53










  • How did you verify that it is not running?
    – vidarlo
    Jun 2 at 15:29










  • service apache2 status
    – HenryM
    Jun 2 at 17:19















What it says when you run sudo systemctl start apache2.service?
– pa4080
May 29 at 16:50




What it says when you run sudo systemctl start apache2.service?
– pa4080
May 29 at 16:50












Nothing, blank line. But it isn't running
– HenryM
May 29 at 16:53




Nothing, blank line. But it isn't running
– HenryM
May 29 at 16:53












How did you verify that it is not running?
– vidarlo
Jun 2 at 15:29




How did you verify that it is not running?
– vidarlo
Jun 2 at 15:29












service apache2 status
– HenryM
Jun 2 at 17:19




service apache2 status
– HenryM
Jun 2 at 17:19















active

oldest

votes











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',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1041643%2fcannot-get-apache2-to-run%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1041643%2fcannot-get-apache2-to-run%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

Trouble downloading packages list due to a “Hash sum mismatch” error

How do I move numbers in filenames, in a batch renaming operation?