> If you've installed the mongrel_cluster script in /etc/init.d,  it
> will by default use /etc/mongrel_cluster as the path for the
> configuration files. That script calls 'mongrel_cluster_ctl' (which
> also defaults to /etc/mongrel_cluster). So, an easy way to debug is
> use 'sudo mongrel_cluster_ctl start -v' to see why the mongrels are
> failing to start.

When I do this, it starts fine. But when I do 'service mongrel_cluster 
start',
it fails:
service mongrel_cluster restart
Restarting all mongrel_clusters...
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21: command 
not found: mongrel_rails cluster::stop -c idea.yml
mongrel_rails cluster::stop returned an error.
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21: command 
not found: mongrel_rails cluster::start -c idea.yml
mongrel_rails cluster::start returned an error.
-----------------------------------------------------------

It is starting fine with...:
[EMAIL PROTECTED] ~]# mongrel_cluster_ctl start -v
Starting all mongrel_clusters...
mongrel_rails cluster::start -c idea.yml -v
Starting 1 Mongrel servers...
mongrel_rails start -d -e development -p 20000 -a 0.0.0.0 -P 
log/mongrel.20000.pid -c /home/guest/kc/idea-virtusa/idea --user mongrel 
--group mongrel


Any ideas?

Thanks,
kc

-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Deploying Rails" group.
To post to this group, send email to rubyonrails-deployment@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-deployment?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to