[Mongrel] mongrel cluster issues, plain old mongrel OK
seanmichaelbrown at gmail.com
Thu Jun 14 22:53:07 EDT 2007
I just created a test rails app, and am having very wierd issues with
mongrel cluster. Here's what I'm doing:
sudo chown -R mongrel:mongrel test
sudo mongrel_rails \
cluster::configure -e production \
-p 8000 -N 3 -a 127.0.0.1 --user mongrel \
It correctly writes the mongrel_cluster.yml file to the config
directory. Now, if I:
sudo mongrel_rails start -d
Everything works like a charm. I can browse to the site on port 3000
and everything is both hunky and dory.
However, if I :
sudo mongrel_rails cluster::start
It tells me it's starting 3 mongrels, but nothing happens. The
mongrel log file shows this (apologies for the long listing):
[limbach at larry log]$ cat mongrel.log
** Daemonized, any open files are closed. Look at
log/mongrel.8000.pid and log/mongrel.log for info.
** Starting Mongrel listening at 127.0.0.1:8000
** Changing group to mongrel.
** Changing user to mongrel.
** Starting Rails with production environment...
`gem_original_require': no such file to load --
from /usr/local/bin/mongrel_rails:16:in `load'
That pattern is repeated for each of the three mongrels
In case it helps, here are the gems I've got installed:
[limbach at larry log]$ gem list --local
*** LOCAL GEMS ***
Service layer for easy email delivery and testing.
Web-flow and rendering framework putting the VC in MVC.
Web service support for Action Pack.
Implements the ActiveRecord pattern for ORM.
Support and utility classes used by the Rails framework.
Fix an exploitable bug in CGI multipart parsing which affects Ruby
<= 1.8.5 when multipart boundary attribute contains a non-halting
regular expression string.
A toolkit to create and control daemons in different ways
FasterCSV is CSV, but faster, smaller, and cleaner.
Optimized replacement for thread.rb primitives
A plugin system based only on rubygems that uses dependencies only
A small fast HTTP library and server that runs Rails, Camping, Nitro
and Iowa apps.
Mongrel plugin that provides commands and Capistrano tasks for
managing multiple Mongrel processes.
MySQL/Ruby provides the same functions for Ruby programs that the
MySQL C API provides for C programs.
Web-application framework with template engine, control-flow layer,
Ruby based make-like utility.
This package provides download sources for remote gem installation
Thanks in advance for any help.
More information about the Mongrel-users