# Mongrel\_rails and mongrel\_cluster start error

**URL:** <https://www.ruby-forum.com/t/mongrel-rails-and-mongrel-cluster-start-error/196487>\
**Category:** Deployment\
**Created:** [October 14, 2007, 10:03pm UTC](https://www.ruby-forum.com/t/mongrel-rails-and-mongrel-cluster-start-error/196487 "2007-10-14T22:03:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![adrien](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ea666f/32.png) [@adrien](https://www.ruby-forum.com/u/adrien)\
**Post date:** [October 14, 2007, 10:03pm UTC](https://www.ruby-forum.com/t/mongrel-rails-and-mongrel-cluster-start-error/196487/1 "2007-10-14T22:03:11Z")

</div>

Hello everyone,

I cannot get mongrel\_rails or mongrel\_cluster working fine. When I try  
to to launch one of them, I always get the same error:

# mongrel\_rails start -p 8080 -e production -c /var/www/domain.com/

www/current -P /var/www/domain.com/www/current/log/mongrel.pid

\*\* Ruby version is not up-to-date; loading cgi\_multipart\_eof\_fix  
\*\* Starting Mongrel listening at 0.0.0.0:8080  
\*\* Starting Rails with production environment…  
/usr/lib/ruby/1.8/yaml.rb:133:in `load': syntax error on line 33, col 0:` ’ (ArgumentError)  
from /usr/lib/ruby/1.8/yaml.rb:133:in `load' from /usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/ initializer.rb:523:in`database\_configuration’  
from /usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/  
initializer.rb:228:in `initialize_database' from /usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/ initializer.rb:88:in`process’  
from /usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/  
initializer.rb:43:in `send' from /usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/ initializer.rb:43:in`run’  
from /var/www/gn2.fr/www/current/config/environment.rb:20  
from /usr/local/lib/site\_ruby/1.8/rubygems/custom\_require.rb:  
27:in `gem_original_require' ... 10 levels... from /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/ command.rb:211:in`run’  
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/bin/  
mongrel\_rails:243  
from /usr/bin/mongrel\_rails:16:in `load’  
from /usr/bin/mongrel\_rails:16

I am using ruby 1.8.5, rails 1.2.3, mongrel 1.0.1, and I tried  
mongrel\_cluster 1.0.2 and 0.2.1.

Do you know what I could have wrong?

Thank you very much in advance !  
Adrien.

---

<div class="post-metadata">

**Author:** ![adrien](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ea666f/32.png) [@adrien](https://www.ruby-forum.com/u/adrien)\
**Post date:** [October 14, 2007, 10:35pm UTC](https://www.ruby-forum.com/t/mongrel-rails-and-mongrel-cluster-start-error/196487/2 "2007-10-14T22:35:24Z")

</div>

It has been solved here :  
[http://groups.google.com/group/rubyonrails-talk/browse\_thread/thread/588f970932497eca](http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/588f970932497eca)
