Welcome Guest | Login

Mongrel not starting

Hi!

I've an issue deploying the new version of my app.
Mongrel tells me :

** Daemonized, any open files are closed.  Look at log/mongrel.pid and log/mongrel.log for info.
** Starting Mongrel listening at 0.0.0.0:4072
** Starting Rails with production environment...
** Rails loaded.
** Loading any Rails specific GemPlugins
** Signals ready.  TERM => stop.  USR2 => restart.  INT => stop (no restart).
** Rails signals registered.  HUP => reload (without restart).  It might not work well.
** Mongrel available at 0.0.0.0:4072

My config files haven't been changed.... so I'm a bit lost with this error message.

Could you please help me?

Thanks!

Michael

2008-03-24 05:15 AM

The Logs shown above indicates a fine restart of your mongrel instance. You can safely ignore the warning. Just do a ps and see if it's running ?

2008-03-24 06:48 AM

True!

But the website is not accessible.

Here is the error message I have when trying to run manually de dispatch.fcgi

# Logfile created on Wed Mar 26 14:17:47 -0500 2008 by /
[26/Mar/2008:14:17:47 :: 15380] starting
[26/Mar/2008:14:17:47 :: 15380] Dispatcher failed to catch: private method `split' called for nil:NilClass (NoMethodError)
 /usr/local/lib/ruby/1.8/cgi.rb:898:in `parse'
 /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/cgi_ext/raw_post_data_fix.rb:45:in `initialize_query'
 /usr/local/lib/ruby/1.8/cgi.rb:2275:in `initialize'
 /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:606:in `new'
 /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:606:in `each_cgi'
 /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/fcgi_handler.rb:141:in `process_each_request!'
 /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/fcgi_handler.rb:55:in `process!'
 /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/fcgi_handler.rb:25:in `process!'
 ./dispatch.fcgi:24
almost killed by this error
[26/Mar/2008:14:17:47 :: 15380] Dispatcher failed to catch: private method `split' called for nil:NilClass (NoMethodError)
 /usr/local/lib/ruby/1.8/cgi.rb:898:in `parse'
 /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/cgi_ext/raw_post_data_fix.rb:45:in `initialize_query'
 /usr/local/lib/ruby/1.8/cgi.rb:2275:in `initialize'
 /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:606:in `new'
 /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:606:in `each_cgi'
 /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/fcgi_handler.rb:141:in `process_each_request!'
 /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/fcgi_handler.rb:55:in `process!'
 /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/fcgi_handler.rb:25:in `process!'
 ./dispatch.fcgi:24
killed by this error


account : whatafa
current web app directory : /taido
next release web app directory : /taido_prod

2008-03-26 02:22 PM

Hi Mickooo,
I am unable to re-create the error which you are facing while running ./dispatch.fcgi. When i tried to access your site it is working. If you are still facing any issues post a ticket to support with details about the error that you are getting.



2008-03-26 04:15 PM

Issue solved thanks to a new dispatch.fcgi file.
Thanks to you guys, support was great.

You rocks

Cheers

2008-03-27 05:20 PM


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