Nginx bad gateway 502 error

  • I installed mysql, and nginx server.
    OMV 3 latest, i64 cpu.
    I make as here in forum described phpmyadmin and wordpress web szerver.
    It worked, but then i changed my.cnf to bind adress #-ed, and maked new column with 0.0.0.0, then mysql isnt workek. Then i uninstall-reinstall mysql, and revert my.cnf to original state, and enabled bind adress 0.0.0.0 at control panel.
    After that i haved this message, when try access wordpress:
    bad gateway 502
    log:
    2016/12/08 08:06:57 [crit] 13006#0: *12 connect() to unix:/var/run/fpm-ff617fc3-c900-4c23-af56-9fe5088c3522.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.1.25, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/fpm-ff617fc3-c900-4c23-af56-9fe5088c3522.sock:", host: "192.168.1.28:8080"


    And when myphp:
    2016/12/08 08:14:28 [crit] 13008#0: *183 connect() to unix:/var/run/fpm-667da548-3cd3-4367-91a7-f3b6d912ce93.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.1.25, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/fpm-667da548-3cd3-4367-91a7-f3b6d912ce93.sock:", host: "192.168.1.28:8081"


    What is wrong?
    How can i fix it?

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!