Welcome! Log In Create A New Profile

Advanced

URGENT needed - Nginx + FastCGIwrap = 502 error

Kasino Strasse
October 10, 2015 06:42PM
Hello,

I am using Nginx to configure nagios setup.

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
connecting to upstream, client: 192.168.0.1, server: nagios.example.com,
request: "GET /nagios/cgi-bin/status.cgi?hostgroup=all&style=hostdetail
HTTP/1.1", upstream: "fastcgi://unix:/var/run/fcgiwrap.socket:", host: "
nagios.example.com", referrer: "http://nagios.example.com/side.php"


sudo service fcgiwrap status

* Checking status of FastCGI wrapper fcgiwrap
[ OK ]

sudo netstat -anp | grep cgi

unix 2 [ ACC ] STREAM LISTENING 2188667357 16645/f*cgi*wrap
/var/run/f*cgi*wrap.socket


ls -ltr /var/run/fcgiwrap.socket

srwxr-xr-x 1 www-data www-data 0 Oct 11 00:19 */var/run/fcgiwrap.socket*


*Please suggest and fix this error ?*


*Best regards, Kasino.*
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

URGENT needed - Nginx + FastCGIwrap = 502 error

Kasino Strasse October 10, 2015 06:42PM

Re: URGENT needed - Nginx + FastCGIwrap = 502 error

Andrew Hutchings October 11, 2015 02:48AM

Re: URGENT needed - Nginx + FastCGIwrap = 502 error

Francis Daly October 11, 2015 05:54AM

Re: URGENT needed - Nginx + FastCGIwrap = 502 error

Kasino Strasse October 14, 2015 05:24AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 315
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready