Apache2 and nginx not starting

This fixed it for nginx, but apache still did not start.
I’ve now added it to /etc/systemd/system/multi-user.target.wants/apache2.service
Both services are now starting on reboot.

Thanks for the help @LoGiCa7 and everybody else.

I looked in the apache logs this morning and there is a load or errors and warns.

[php7:error] [pid 9851] [client 27.151.0.75:0]’/var/www/html/shell.php’ not found or unable to stat
[php7:error] [pid 9852] [client 27.151.0.75:0] script ‘/var/www/html/99.php’ not found or unable to stat

Ive added the log to pastebin if anybody wants a look.
https://pastebin.com/QT521jsV

This is a fresh install on a idle Kimsufi dedicated server. Nothing is being used on the server, no websites and Ive installed nothing.

2 Likes