URGENT needed - Nginx + FastCGIwrap = 502 error

Kasino Strasse kasinostrasse55 at gmail.com
Wed Oct 14 09:22:36 UTC 2015


Hello,

Thanks everyone. This issue was resolved after correcting user group
matching fcgiwrap.socket with nginx as www-data user.

Best regards,
Kasino.

On Sun, Oct 11, 2015 at 11:52 AM, Francis Daly <francis at daoine.org> wrote:

> On Sun, Oct 11, 2015 at 12:41:38AM +0200, Kasino Strasse wrote:
>
> Hi there,
>
> > Nginx configured correctly and I am able to serve pages. But I get error
> > from error_log as follows:
> >
> > 2015/10/11 00:34:49 [crit] 18092#0: *9 connect() to
> > unix:/var/run/fcgiwrap.socket failed (13: Permission denied) while
>
> ls -ldZ /
> ls -ldZ /var
> ls -ldZ /var/run
>
> > ls -ltr /var/run/fcgiwrap.socket
> >
> > srwxr-xr-x 1 www-data www-data 0 Oct 11 00:19 */var/run/fcgiwrap.socket*
>
> What user/group does your nginx run as?
>
> Does that user have suitable access to the full path to the socket?
>
>         f
> --
> Francis Daly        francis at daoine.org
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20151014/dd06d231/attachment.html>


More information about the nginx mailing list