URGENT needed - Nginx + FastCGIwrap = 502 error

Francis Daly francis at daoine.org
Sun Oct 11 09:52:34 UTC 2015


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



More information about the nginx mailing list