Perl not working with Nginx via fastcgi, cannot decipher error logs

Posted by ProfessionalAmateur on Server Fault See other posts from Server Fault or by ProfessionalAmateur
Published on 2012-09-03T04:57:11Z Indexed on 2012/09/04 15:42 UTC
Read the original article Hit count: 462

Filed under:
|
|
|

Im running CentOS 6.2, Nginx 1.2.3 following these Linode Instructions to get Perl to work with Nginx I've done everything upto the point of testing an actual Perl file. When I do this the browser says:

The page you are looking for is temporarily unavailable.
Please try again later. 

And my Nginx error-log shows the following:

2012/09/02 22:09:58 [error] 20772#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.1.102, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:8999", host: "192.168.1.10:81"

Im stuck at this point. Im not sure if it matters but I also have spawn-fcgi and php-fpm to serve up PHP files on this site, but that should be 100% seperate from the perl-fastcgi setup, different port, etc..

How can I troubleshoot this?

© Server Fault or respective owner

Related posts about centos

Related posts about nginx