0

Since upgrading openssl via apt a couple of days ago apache no longer displays web pages. It thinks it's running, and listening on port 80 as it used to be, but asking a browser to load the page at the IP of the RPi results in what appears to be a permanent loading cycle, no errors, it just never loads.

Everything seems fine, the server is running, nothing in the error log to speak of. I'm lost.

Any ideas?

Thanks

EDIT:

apachectl configtest

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 Syntax OK

curl localhost

gives me the HTML I'm expecting.

The googling I'm doing is leading me to think it's either a problem with apache not listening on port 80 anymore or an IP table entry has been added somehow that's blocking it. But I'm struggling to figure out how I find that out...

  • Thank you.Output below: 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 Syntax OK – Andy Apr 11 '18 at 11:22
0

You can check who's listening on port 80 using netstat:

sudo netstat -pln | grep ':80'

That should print the PID/process name of the server process listening on port 80, if any.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.