Welcome Guest | Login

Another 'Failed to start properly'

Hi, i've followed the fastcgi guide word for word. I have also checked through all of the troubleshooting guides.

When i got to my app i get the standard 'Rails application failed to start properly' but i do not get any info in the logs.

So i followed the advice of a guide and put in ruby dispatch.fcgi which gave me the following input in my production.log:

Processing PreferencesController#greetings (for  at 2008-09-10 13:53:31) [GET]
 Session ID: 728ad0a5e1f13bf3ec5013a9e4111b2f
 Parameters: {"action"=>"greetings", "controller"=>"preferences"}
Redirected to http://:/login
Completed in 0.00605 (165 reqs/sec) | DB: 0.00095 (15%) | 302 Found http://:]

I believe that i have a problem with my routes but i really cannot interpret this error any further than that.

Any help would be very much appreciated thank you.

2008-09-10 01:01 PM

Hi Evanr,

I have changed the shebang line in the file public/dispatch.fcgi to #!/usr/local/bin/ruby. While accessing your application through browser, I am getting a 500 error message and the production log traces are giving a "ActionView::TemplateError". Please have a look at it.

2008-09-11 06:18 AM

Oh okay thanks very much, for some reason i thought that the shebang line was meant to be commented out and therefore it didn't matter what it was.

I'll sort out the actionview error, thanks.

2008-09-11 08:26 AM


Hello Guest! In order to post you must be an active client with us, please log in or sign up.