PHP5-FPM + Nginx connect() to unix:/var/lib/php5-fpm/web1.sock failed (111: Connectio

Discussion in 'Installation/Configuration' started by bhasina, Nov 22, 2014.

  1. bhasina

    bhasina New Member

    SOLVED connect() to unix:/var/lib/php5-fpm/web1.sock failed (111: Connectio

    Hi,

    I have installed a freshcopy of Ubuntu 14.04 with ISP Config latest stable (3.0.5.4p5) using nginx. I am able to run static websites perfectly fine but with any php sites I get 502 errors and the following errors in the logs:

    [error] 17836#0: *83 connect() to unix:/var/lib/php5-fpm/web1.sock failed (111: Connection refused) while connecting to upstream, client: 59.92.220.204, server: XXXXXXXXXX, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/lib/php5-fpm/web1.sock:", host: "XXXXXXXXXX"

    I removed all software, started from scratch and again the same issue! Any help towards this will be great as I can't seem to find anything in the forum on internet!
     
    Last edited: Nov 22, 2014
  2. bhasina

    bhasina New Member

    Reboot sorted it out!
     

Share This Page