G
G
gto61202016-10-17 19:10:02
Nginx
gto6120, 2016-10-17 19:10:02

Nginx, why could it stop working?

Good afternoon. I worked with nginx on centos7 on virtualbox virtual machine. Everything was hurt. I rebooted the computer, I start the virtual machine, all the sites on it do not respond (white page, code 404 in the inspector). Started reloading nginx, then php-fpm, neither worked.

[[email protected] ~]# ps -auxww | grep nginx
root      2601  0.0  0.1  47808  1116 ?        Ss   19:03   0:00 nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.conf
nginx     2602  0.0  0.1  48240  1892 ?        S    19:03   0:00 nginx: worker process
nginx     2603  0.0  0.1  48240  1892 ?        S    19:03   0:00 nginx: worker process
nginx     2604  0.0  0.1  48240  1892 ?        S    19:03   0:00 nginx: worker process
nginx     2605  0.0  0.1  48240  1892 ?        S    19:03   0:00 nginx: worker process
root      2637  0.0  0.0 112648   976 pts/0    S+   19:08   0:00 grep --color=auto nginx

Processes hang, but nginx also responds with a white page everywhere, even at 127.0.0.1:80.
Any thoughts besides yum remove nginx?
Didn't change the configuration. Logs are empty.
UPD: after reinstalling nginx behaves the same
way UPD: ###, how so? hangs on port 80, disabled the firewall, disabled selinux, demolished nginx twice, one fig does not respond.
UPD: everything is easier than I thought... Skype, its mother, sat down on port 80 and it happened just after the reboot, because before it it was busy with another process.

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
E
evnuh, 2016-10-17
@gto6120

Logs are empty.

You are all lying, look better, where are your logs and what is the error. because
you are lying again, nginx answers you, look in the web inspector.

N
Nikon_NLG, 2016-10-17
@Nikon_NLG

nginx works, upstream does not work, which is BEHIND nginx. Show the config /etc/nginx/sites-enabled/something.conf, then we'll see.

G
gto6120, 2016-10-17
@gto6120

Host problem. I don’t understand why this is so, I can knock on the server fine via ssh, but through the browser 127.0.0.1 it doesn’t go into the virtual machine, although port forwarding is configured correctly and worked fine before. Actually, the ssh forwarding rule is nearby and everything is fine with ssh.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question