I don’t want to hijack Steve’s helpful thread here (but I will), but not getting output from netstat seems to indicate nginx is not running. You can double check by running either (or both!) of these:
systemctl status nginx
ps -ef | grep nginx
- Darryl
----------------------------------------------------------------------
Darryl Friesen, B.Sc., Programmer/Analyst Darryl....@usask.ca
Library Systems & Information Technology, http://library.usask.ca/
University of Saskatchewan Library
----------------------------------------------------------------------
"Go not to the Elves for counsel, for they will say both no and yes"
From: ica-ato...@googlegroups.com [mailto:ica-ato...@googlegroups.com]
On Behalf Of Jonathan Sinclair
Sent: Tuesday, September 19, 2017 12:06 PM
To: AtoM Users <ica-ato...@googlegroups.com>
Subject: [ica-atom-users] Re: Initial Setup: Failed to start PHP 7.0 FastCGI
Ok, so there is not output from netstat
--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
ica-atom-user...@googlegroups.com.
To post to this group, send email to
ica-ato...@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/ica-atom-users/07138b9e-e2a4-489b-8475-31f3766e866a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To post to this group, send email to ica-at...@googlegroups.com.
It’s weird that systemctl show nginx as running, but netstat does not. I’ll leave it for Steve to offer you good advice. My only suggestion is to double check netstat again, and possibly look for port 80 (in case something else is using that).
sudo netstat -peanut | grep nginx
sudo netstat -peanut | grep ":80"
- Darryl
To post to this group, send email to ica-ato...@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/15b0349e-fdb7-46a4-a241-f10eca624e7a%40googlegroups.com.
That is odd. I wonder if something else is installed on your server and is listening on port 80?Darryl had a great suggestion - run the netstat command but search for port 80:sudo netstat -peanut | grep ":80"This will tell us if something else perhaps is listening on that port.
If that does identify the issue, I would say the next step would be to check your nginx config file. If you followed our AtoM installation instructions, you should find it here:
sudo systemctl status <any_service_name>
sudo systemctl status elasticsearch