# Mongrel\_rails and mongrel\_cluster start error

**URL:** <https://www.ruby-forum.com/t/mongrel-rails-and-mongrel-cluster-start-error/117215>\
**Category:** Rails\
**Created:** [October 14, 2007, 10:02pm UTC](https://www.ruby-forum.com/t/mongrel-rails-and-mongrel-cluster-start-error/117215 "2007-10-14T22:02:01Z")\
**Posts on this page:** 3\
**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:02pm UTC](https://www.ruby-forum.com/t/mongrel-rails-and-mongrel-cluster-start-error/117215/1 "2007-10-14T22:02:01Z")

</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:10pm UTC](https://www.ruby-forum.com/t/mongrel-rails-and-mongrel-cluster-start-error/117215/2 "2007-10-14T22:10:13Z")

</div>

check the mongrel log to see if it has any more information… also  
check that your database.yml doesn’t have a syntax error

---

<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/117215/3 "2007-10-14T22:35:24Z")

</div>

Ok, I remembered that I installed libmysql-ruby1.8 today on my server.  
I remembered that when you told me to check my database.yml.  
I tried to uninstall it, and now, everything works !

However I don’t really understand the link between this lib and  
mongrel…

Thank you very much for your help !  
Adrien.
