Page 1 of 1

No web page or port 80

Posted: Sun Jul 16, 2017 12:15 pm
by ChorleyCake
Hi

I've woke to a zillion emails saying NEMS http is down. Port scanned and there is no port 80?
Rebooting has no effect. Is there a command to start it and keep it there?

Thankyou in advance

RE: No web page or port 80

Posted: Mon Jul 17, 2017 10:33 am
by Robbie Ferguson
Trying to understand what you're asking. Can you SSH to the unit? If not, perhaps your SD card failed. If yes, you'll need to explain what you are experiencing.

RE: No web page or port 80

Posted: Mon Jul 17, 2017 2:52 pm
by ChorleyCake
Robbie Ferguson wrote: Trying to understand what you're asking. Can you SSH to the unit? If not, perhaps your SD card failed. If yes, you'll need to explain what you are experiencing.
Yes can ssh into it. As I said port 80 (and the Web page obviously) not there. Port 22 is there and I can ssh into it, all is working, still emailing warning for the devices I'm monitoring just no Web page. And rebooting changes nothing. It happened overnight whatever went wrong and as I said I had dozens of emails warning about NEMS HTTP check failed by the time I woke up.
I'm baffled (although I'm a Linux noob)

RE: No web page or port 80

Posted: Tue Jul 25, 2017 3:42 pm
by Robbie Ferguson
Very odd. You didn't install any additional software such as a firewall by chance? Just want to rule that out.

So the first thing I'd do, in that state, is check the status of the web server.

Code: Select all

systemctl status apache2
Is it running? Does it tell you anything is wrong?

Try starting it if it is stopped.

Code: Select all

systemctl start apache2
Since you have SSH access working, you can email me the info to connect and I'll be happy to take a look for you if you're stuck.