When I try to restart nginx it says nothing like:
>sudo service nginx restart >sudo service nginx restart
When I enter
sudo nginx -t it alsy says nothing!
When I try reload my host page - I see 404 nginx error.
In error log I see
09:09:18 [error] 489#0: *3 connect() failed (111: Connection refused) while connecting to upstream, client: 184.108.40.206, server: psy-spb.pro, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "psy-spb.pro"
07:53 [crit] 491#0: unlink() "/var/run/udev/data/+pci:0000:00:00.0" failed (13: Permission denied) 2016/04/16 09:07:53 [crit] 491#0: cache file "/var/run/initramfs/overlayroot.log" is too small 2016/04/16 09:07:53 [crit] 491#0: unlink() "/var/run/initramfs/overlayroot.log" failed (13: Permission denied)
nginx restartsays nothing?
- How could I fix
permission deniederrors? Where I should look for?
My nginx.conf Sensitive strings:
fastcgi_pass unix:/run/php/php7.0-fpm.sock; # fastcgi_pass 127.0.0.1:9000;
Another issue - I can't see any file in folder
fastcgi_pass is listening to
php7.0-fpm.sock that is really does not exists in this folder.