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
   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.

  • What it says when you run sudo systemctl start apache2.service? – pa4080 May 29 '18 at 16:50
  • Nothing, blank line. But it isn't running – HenryM May 29 '18 at 16:53
  • How did you verify that it is not running? – vidarlo Jun 2 '18 at 15:29
  • service apache2 status – HenryM Jun 2 '18 at 17:19

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.