Forum: Mongrel Problem launching mongrel

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Sylvain P. (Guest)
on 2008-12-16 22:32
(Received via mailing list)

I use capistrano with mongrel and apache.

When I cap deploy:start, It launches nothing. So I :
sd-17133:/var/rails/canardps3/current# mongrel_cluster_ctl start
Starting all mongrel_clusters...
/usr/local/bin/mongrel_cluster_ctl:7:in `chdir': No such file or
directory - /etc/mongrel_cluster (Errno::ENOENT)
        from /usr/local/bin/mongrel_cluster_ctl:7:in `run'
        from /usr/local/bin/mongrel_cluster_ctl:55
guess it may be the problem. Any idea on what can I do to fix this ?
Anthony E. (Guest)
on 2008-12-16 22:40
(Received via mailing list)
Have you tried passing a configuration file in?

I have my config file for prod, qa, etc. under

The cluster can be started with -c ./path/to/config/file   (which has
startup directory, ports, etc)...or you can create a directory in
/etc/mongrel_cluster that has symlinks to all your config files for
each environment.

On Tue, Dec 16, 2008 at 12:30 PM, Sylvain P. 
>         from /usr/local/bin/mongrel_cluster_ctl:55
> guess it may be the problem. Any idea on what can I do to fix this ?
> _______________________________________________
> Mongrel-users mailing list
> removed_email_address@domain.invalid

Anthony E.
Christopher Opena (Guest)
on 2008-12-16 22:42
(Received via mailing list)
Sylvain, can you post your mongrel_cluster_ctl to the list?  It looks
your start script is trying to find a file but it's not there.
Emmanuel P. (Guest)
on 2008-12-16 22:42
(Received via mailing list)
clearly you are missing a configuration file on the server. /etc/
mongrel_cluster.. you need to create a configuration file to start
your mongrel cluster. It first looks into your rails config directory
and then in /etc/mongrel_clusters.

Sylvain P. (Guest)
on 2008-12-16 22:48
(Received via mailing list)
Ok, I get the config file, but in fact this don't make the cap

Some information :

my script/spin :


/var/rails/canardps3/current/script/process/spawner \

mongrel \

--environment=production \

--instances=1 \

--address= \


my spawner :

#!/usr/bin/env ruby

require File.dirname(*__FILE__*) + '/../../config/boot'

require 'commands/process/spawner'

I got no error except
C:\railsapp\canardps3>cap deploy:start
  * executing `deploy:start'
  * executing "cd /var/rails/canardps3/current && sudo -p 'sudo
password: '
-u s
obert nohup script/spin"
    servers: [""]
    [] executing command
*** [err ::] ** Ruby version is not up-to-date;
*** [err ::]
 ** [out ::] => Starting mongrel dispatchers
 ** [out ::] Checking if something is already
on 12
 ** [out ::] Starting dispatcher on port:
*** [err ::] ** Ruby version is not up-to-date;
*** [err ::]
    command finished

but a ps aux | grep mongrel isn't returning a thing.

Were can I find some clue ?
This topic is locked and can not be replied to.