Displaying 20 results from an estimated 30000 matches similar to: "Mongrel cluster died only in production environment"
2007 Apr 03
2
mongrel cluster restart with capistrano fails but manually works
Hi all,
I am out of my head here...
I have a 3 node cluster with 10 mongrels running on each. When I
deploy, I break all the mongrels every time. I have tried just about
everything. I can restart my mongrels without a hitch manually, it''s
only when I use cap deploy. Maybe I am missing something here... so if
I can get some help it would be appreciated. The errors are the
typical mongrel
2006 Oct 02
3
Mongrel cluster FreeBSD rc.d script
Hello all
After installing Mongrel, Mongrel Cluster and all it''s dependencies via gems
under FreeBSD. Next I have configured all config/mongrel_cluster.yml for each
Rails app, then:
% mkdir /usr/local/etc/mongrel_cluster
and likend each railsapp.yml to it''s refering app/config/mongrel_cluster.yml
My question is, after preparing all base configs now I need to add some rc.d
2007 Feb 24
3
Mongrel Cluster 1.0.1.1 Prerelease: Healing power of the pack!
Hello all...
I know its been a while since the last one, but a new prerelease is
available with a gratuitous increase in version numbers!
gem install mongrel_cluster --source http://mongrel.rubyforge.org/releases/
This one has some new features in it that need to be tested on all unix
platforms. Please run --clean and cluster::status on every *nix you can
find. I run linux so the rest are up
2006 Aug 14
1
Mongrel loading wrong database environment (& a couple other bugs?)
Hi There,
I''ve got a mongrel cluster running on redhat 9 proxied behind an
Apache 2.2 installation. I have run into a real stumbling block in
that, while the rails app runs in production mode (you get a
production.log file, for example, and I see this in the mongrel log:
** Starting Rails with production environment ... ), it always loads
the development database configuration
2007 Jan 17
2
mongrel cluster (+ Apache 2.2.4 + proxy balancer) not redirecting correctly
I''m in the process of setting up a mongrel cluster at the moment, and I''m
running into a bit of an issue. Even worse is that I''m not sure whether
this is a mongrel thing, or an Apache thing. While I''m inclined to think
that this might be a balancer thing, I decided there was a higher chance
hearing back from mongrel-users than from apache-users, so I''d
2006 Nov 30
1
Restarting mongrel cluster from other directories
I want to restart my Mongrels from crontab
periodically to free up memory. I tried this:
[admin at mudcrapce ~]$ mongrel_rails cluster::restart -C
/var/www/apps/mudcrapce/current/config/mongrel_cluster.yml
Restarting 5 Mongrel servers...
mongrel_rails restart -P log/mongrel.3040.pid
!!! PID file log/mongrel.3040.pid does not exist. Not
running?
mongrel::restart reported an error. Use
2007 Jun 15
1
mongrel cluster issues, plain old mongrel OK
I just created a test rails app, and am having very wierd issues with
mongrel cluster. Here''s what I''m doing:
rails test
sudo chown -R mongrel:mongrel test
cd test
sudo mongrel_rails \
cluster::configure -e production \
-p 8000 -N 3 -a 127.0.0.1 --user mongrel \
--group mongrel
It correctly writes the mongrel_cluster.yml file to the config
directory. Now,
2006 Nov 30
4
Mongrel Cluster init.d problems
I have installed mongrel and mongrel_cluster fine and have them
running great with my app. I tried using the init.d script provided
with mongrel_cluster 2.1 to start it up on boot but it doesn''t.
mongrel_cluster_ctl works fine for me by hand and so does
/etc/init.d./mongrel_cluster start. I am on Debian so I installed the
service links with sudo update-rc.d mongrel_cluster defaults. And
2006 Aug 22
1
Problem getting Mongrel to start at startup
Hi,
I''m running CentOS 4.3 and the latest Mongrel (0.3.13.3) and mongrel_cluster
(0.2.0). I have set up a cluster, following the instructions at
http://mongrel.rubyforge.org/docs/mongrel_cluster.html . I created a
symbolic link in the directory /etc/mongrel_cluster . When I run
mongrel_rails cluster::start -c test.yml, the mongrel servers start up. But
at boot, the command
2006 Dec 04
1
Mongrel and Mongrel Cluster Library LoadErrors
Hello,
I''m a noobie to Rails and even more to mongrel. I have an issue with
one server that I''ve installed mongrel. Its a Fedora Core 5 box, and
it is having problems loading the Oracle OCI8 libraries. However,
this only occurs when I use mongrel_cluster, or mongrel with out the -
d switch. I have no problem using the library from the commandline
and with Webrick or
2007 Apr 23
3
mongrel in production not using AR Sessions
Hello,
For some reason when i change the "environments" line in
mongrel_cluster.yml to use production, ActiveRecord Sessions stop working.
Changing this line to development yield the correct result. Entries in
database.yml are correct, and confirmed that the sessions table exists in
both environments and that production is indeed working
(production.logbeing filled up).
Any idea why
2007 Feb 02
1
Monit / mongel_cluster 0.2.2 / mongrel 1.0.1
Hi,
I''ve a few problems with my rails app at the minute, causing mongrels
in a cluster to die, while I debug I''ve setup monit to keep the site
running.
Problem is, whenever monit starts one of my mongrels via mongrel_rails
cluster::start --only 8000 --clean -C /url/to/yml/file I get the
following in my log/mongrel.log:
** Mongrel available at 127.0.0.1:8000
** Writing PID file
2006 Aug 14
2
Mongrel Cluster 0.2.1- Last Call
Hi all:
Here''s a pre-release for mongrel_cluster to support current Mongrel
0.3.13.4 pre-release.
Changes:
- ''mongrel_rails cluster::restart'' now calls ''mongrel_rails stop'' and
''mongrel_rails start''. ''cluster::restart'' now accepts the ''force''
argument instead of ''soft''.
-
2006 Aug 02
1
capistrano+mongrel struggles
Hello,
I am trying to deploy on to OS X Server with capistrano+mongrel+apache2,
etc.
I''m trying to do a "cap cold_deploy" as recommended here:
http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails-mongrel-apache-capistrano-and-you/
I had a devil of a time getting cap to find the mongrel_rails command
(which is in /opt/local/bin) on the server. I set the
2006 Jun 20
3
Running Mongrel Cluster on boot
I''ve installed pen and mongrel with mongrel_cluster (as gems) on
Debian sarge. I can run everything from the command line fine
including starting from the /etc/init.d/mongrel_cluster script
On boot though mongrel_cluster fails with this msg:
/usr/local/lib/site_ruby/1.8/rubygems.rb:204:in
`report_activate_error'': Could not find RubyGem mongrel_cluster (> 0)
(Gem::LoadError)
2007 Aug 26
1
monit not executing start/stop/restart mongrels
Alright, I have googles and read through the docs on monit
I get this error when adding -v starting monit
monit: Cannot connect to the monit daemon. Did you start it with http support?
monit: Cannot connect to the monit daemon. Did you start it with http support?
Am I missing something here?
set daemon 120
set logfile syslog facility log_daemon
set mailserver localhost
set httpd port 28212
2007 Oct 18
0
Mongrel-users Digest, Vol 21, Issue 16
According to the mongrel_cluster.yml file you provided, you''re starting only
14 mongrels, but in your proxy balancer config you have 30 mongrels listed
on ports 21000 - 21029. In this scenario, if apache tries to proxy to any
ports higher than 21014 then you''ll get a proxy error as a mongrel doesn''t
exist on that port.
Or am I missing something?
-----Original
2008 Jan 30
3
Not all mongrel starting (Errno:EEXIST)
I''m playing with the mongrel clustering, and am having a problem getting 2
mongrels to start up reliably.
This should be a pretty simple cluster, with just 2 instances running. My
mongrel config (mongrel_cluster.yml) looks like:
cwd: /deployment/installed/myapp/current
log_file: log/mongrel.log
port: "8000"
environment: production
address: 127.0.0.1
pid_file:
2009 Feb 04
1
How to hack a mongrel cluster to restart in an alternating manner?
Hello,
I''ve been trying (unsuccessfully) to hack my mongrel_cluster to re-ststart
in an alternating manner.
Specifically, this soluiton:
http://blog.carlmercier.com/2007/09/07/a-better-approach-to-restarting-a-mongrel-cluster/#content
Which means I an call to mongrel_rails cluster::restart to do this:
mongrel_rails start 8001
mongrel_rails stop 8001
mongrel_rails start 8002
2007 Jun 22
0
mongrel cluster prefix question
Is there a way to have the mongrel_cluster prefix option be case
insensitive? Right now if I have a cluster with
prefix: /myapp
in the mongrel_cluster.yml file, it works fine when someone types in
http://mysites.com/myapp. But, if someone types into their browser:
http://mysites.com/MyApp
They get a 404.
Can the prefix be case-insensitive?
--
Sean