Report this

What is the reason for this report?

Issues with apache2 restart

Posted on August 21, 2016

I have followed the phpMyAdmin tutorial, and have experienced an issue.

I have given the following command: sudo service apache2 restart

I have received the following response: Job for apache2 service failed because the control process exited with error code. See “systemctl status apache2.service” and “journalctl -xe” for details.

Upon using systemctl status apache2.service, I see the following text: [reddot] 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 Sun 2016-08-21 [TIME]; 18s ago Docs: man:systemd-sysv-generator(8) Process: 19827 ExecStop=etc/init.d/apache2 stop (code=exited, status=0/SUCCESS) Process: 16438 ExecReload=/et/init.d/apache2 stop reload (code=exited, status=0/SUCCESS) Process: 19919 ExecStat=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)

Doing “journalctl -xe” give a large amount of information, with no obvious issues visible.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

This question was answered by @sierracircle:

I think that tutorial might be out of date for 16.04.

Try removing that line from apache.conf:

sudo nano /etc/apache2/apache2.conf

remove this line: Include /etc/phpmyadmin/apache.conf

restart apache…

View the original comment

I’m running into this exact issue and the suggestion of removing ‘Include /etc/phpmyadmin/apache.conf’ from /etc/apache2/apache2.conf does nothing

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.