Passenger bug?

I’m trying to get Nginx and Passenger working. I’ve installed Nginx
through Passenger. When accessing a rails app I get “Exception
Errno::EPIPE in Passenger RequestHandler”. From what I can see this has
happened to others. And as I understand it it’s a Passenger problem. Why
is Phusion sending out something that doesn’t work? Or is there a
solution?

Quoting Pål Bergström [email protected]:

I’m trying to get Nginx and Passenger working. I’ve installed Nginx
through Passenger. When accessing a rails app I get “Exception
Errno::EPIPE in Passenger RequestHandler”. From what I can see this has
happened to others. And as I understand it it’s a Passenger problem. Why
is Phusion sending out something that doesn’t work? Or is there a
solution?

You’ve given precious little to go on. Which Passenger (original or the
new
Passenger3 package), which version of Passenger, how did you install
Passenger, which OS, and are you sure you have all necessary servers
running
(e.g, Nginx, a database server like MySQL, Postgres, or MS SQL). The
Errno::EPIPE indicates a broken pipe. Pipes are used for interprocess
communication, e.g, between Web server and database server, or Web
server
master and children, or Web server master or proxy and application
servers.
Also the stack trace would be helpful.

Jeffrey

Jeffrey L. Taylor wrote:

You’ve given precious little to go on.

I was hoping it would be a known problem and hence have an answer
without too much info. Sometimes, or actually rather often, that is the
case.

I installed the latest Passenger available for download. With Nginx. On
Mac OS 10.6.

Pål Bergström wrote:

I installed the latest Passenger available for download. With Nginx. On
Mac OS 10.6.

Anyone who has Passenger with Nginx running well on Mac OS 10.6?

Pål Bergström wrote:

Not sure my original problem with "“Exception Errno::EPIPE” is valid or
not. So forget that.

I’ve installed it on Mac OS 10.6 as a local developer server. The
installation path is /opt/… as Macports. However, the server root is
located in my home path.

I can access the root of the server. My problem is to load a rails app.
It says that it can’t find the server. This is my config, with a new
server added above the default server:

 server {

listen 80;
server_name myrailsapp.localhost;
root /Users/myself/html/myrailsapp/public;
passenger_enabled on;
rails_env development;
}

server {
    listen       80;
    server_name  localhost;
    .........

Can it be a question of permissions?