Php-fpm and nginx return "The page you are looking for is temporarily unavailable. Please try again

php-fpm and nginx return "The page you are looking for is temporarily
unavailable. Please try again later. "

call http://173.212.207.146/upload/info.php

location ~ \.php$ {
  root   /home/admin/18loadnet;
  fastcgi_pass  127.0.0.1:9000;
  fastcgi_index index.php;
  fastcgi_param  SCRIPT_FILENAME  /home/admin/info.php;
  include /etc/nginx/fastcgi_params;
}

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,217967,217967#msg-217967

On Tue, Nov 08, 2011 at 04:25:57AM -0500, abcomp01 wrote:

  include /etc/nginx/fastcgi_params;
}

Please look in error_log for reason of this issue.


Igor S.

Hello!

On Tue, Nov 08, 2011 at 04:25:57AM -0500, abcomp01 wrote:

  include /etc/nginx/fastcgi_params;
}

Try looking into error_log, it likely has explanation of the error
returned.

Maxim D.

2011/11/08 02:53:31 [error] 3983#0: *513879 recv() failed (104:
Connection reset by peer) while reading response header from upstream,
client: 171.98.8.155, server: _, request: “GET /upload/info.php
HTTP/1.1”, upstream: “fastcgi://127.0.0.1:9000”, host:
“173.212.207.146”

?

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,217967,217973#msg-217973

Hello!

On Tue, Nov 08, 2011 at 04:54:57AM -0500, abcomp01 wrote:

2011/11/08 02:53:31 [error] 3983#0: *513879 recv() failed (104:
Connection reset by peer) while reading response header from upstream,
client: 171.98.8.155, server: _, request: “GET /upload/info.php
HTTP/1.1”, upstream: “fastcgi://127.0.0.1:9000”, host:
“173.212.207.146”

?

Backend (php-fpm) sent RST (i.e. terminated connection abnormally)
before replying anything to nginx. Most likely it died. Try
looking into php-fpm / system logs for more details.

In any case it doesn’t look like nginx issue.

Maxim D.

Hi,
I was getting the same error earlier today. I eventually
figured out that for me it was the mssql (NOT MySql) extension that was
messing things up. A phpinfo() page would work fine but the mssql data
import script that I was writing wouldn’t work through a browser
request. I noticed some Segfault errors in one of the logs.

My script ran fine from the command line but just not through php-fpm.
Didn’t try fast-cgi though.

Keith.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs