Passenger | Error during failsafe response: closed stream 4

Posted by markm Mon, 23 Mar 2009 09:35:00 GMT

So you are running Passenger with Apache2 and all of a sudden your server is not happy: Internal Server Error!

You look in the log file and you see: 

Error during failsafe response: closed stream
(originally closed stream)

Good news, all is not lost, it is your fault and you can fix it.

If you are dumb like me you ran a migration as "root" which means that your apache2 account can no longer open up the rails production.log file. (Or you did something else to mess up permissions.)

Fix the permissions and all will be better (after an apache restart of course).