0

I run a local apahe2 and PHP set up on my Ubuntu desktop to test stuff. Mainly so I can avoid uploading utter garbage when I am creating new code.

However after a particularly problematic upgrade it seems Apache is no longer running. When I try to start or restart it I get this:

 * Restarting web server apache2
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
(13)Permission denied: AH00072: make_sock: could not bind to address [::]:80
(13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
                                                                         [fail]
 * The apache2 instance did not start within 20 seconds. Please read the log files to discover problems

I couldn't rember where the error logs might be found (it has beena long while) but I googled it: Where are the Apache and PHP log files?

However /var/log/apache2/error.log is empty

How can I figure out what is wrong and fix it?

Notes: I am aware of the whole cannot determine FQDN thing and as I am running it only for me I've never been that bothered so long as it actually worked and I could test what I had written.

0 Answers0