Welcome Guest | Login

Mongrel Cluster configure not writing the mongrel_cluster.yml file

When I follow the instructions in the tutorial for setting up a mongrel cluster, I get the following error message when running the mongrel_rails cluster::configure command:
Writing configuration file to config/mongrel_cluster.yml.
/usr/local/lib/ruby/gems/1.8/gems/mongrel_cluster-1.0.2/lib/mongrel_cluster/init.rb:330:in `initialize': No such file or directory - config/mongrel_cluster.yml (Errno::ENOENT)
from /usr/local/lib/ruby/gems/1.8/gems/mongrel_cluster-1.0.2/lib/mongrel_cluster/init.rb:330:in `open'
from /usr/local/lib/ruby/gems/1.8/gems/mongrel_cluster-1.0.2/lib/mongrel_cluster/init.rb:330:in `run'
from /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/command.rb:211:in `run'
from /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails:243
from /usr/local/bin/mongrel_rails:16:in `load'
from /usr/local/bin/mongrel_rails:16
I checked the directory and it isn't creating the mongrel_cluster.yml file at all.  When I try to manually create a new file in that directory using nano or vi, it gives me another error saying it can't create the file.  I am currently using svn for my code, but I screwed something up on my development machine and don't want to mess the server up by using Capistrano to redeploy it at the moment.  I'd like to just set it up using the command line... but am I stuck using Capistrano now that I've used it to initially set up the mongrel instance?

I'm currently running my site using just one mongrel instance, and want to upgrade to the cluster - I've already paid for 200MB so I should be able to run 4.

2008-01-22 06:16 PM

MarketPointe Realty Advisors
Hi,

There's a symlink existing config/mongrel_cluster.yml which created the problem. I've deleted it and ran the configure command for you. Please verify.

2008-01-22 08:11 PM

Thank you.  :)

2008-01-23 12:56 PM

MarketPointe Realty Advisors

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