Displaying 20 results from an estimated 20000 matches similar to: "Mongrel loading wrong database environment (& a couple other bugs?)"
2006 Sep 06
2
Running multiple domains on one codebase, mongrel a good choice?
We''re working on rails application for a client that needs to be
deployed under a variety of domain names and needs the ability to
load custom configurations for the database, parts of the docroot,
caching, etc. based on the site we''re serving. We use mongrel to
host some other single domain apps and would like to do so here too.
We''d like to not have to
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)
2006 Sep 07
9
Mass virtual hosting with mongrel
Ok, a refinement of the question I asked yesterday (If there were any
replies from yesterday I don''t have access to them here .. sorry if
I''m duplicating anybody''s words here).
How can one host multiple domains with mongrel? Assuming you are mass
vhosting and you also want the performance benefits of using mongrel ...
As far as I can tell, one could set up a
2007 Nov 04
3
can''t configure mongrel_cluster to start on boot
Hi everyone,
I''ve been working with Mongrel, Mongrel_cluster and Apache and it is great.
However, I can''t get mongrel_cluster to start at boot time. I followed the
instructions from http://mongrel.rubyforge.org/docs/mongrel_cluster.html (On
Boot Initialization Setup) and mongrel_cluster does not start after
rebooting the machine.
I made sure that the shebang line is correct and
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 May 25
2
mongrel_cluster 0.1.3 prerelease
Hi y''all,
A prerelease of mongrel_cluster 0.1.3 is available for testing with
the Mongrel 0.3.13 prerelease. This release contains bug fixes and
adds a Ruby script for managing all applications on a server with a
single command.
To install:
gem install mongrel_cluster --source=http://
railsmachine.rubyforge.org/releases/
Changes:
* Suppress output from mongrel_rails.
* Added a
2006 Jul 13
3
Mongrel Cluster 0.2.1 prerelease
Hi Y''all,
Just a quick note announce an update to mongrel_cluster.
Changes:
- ''mongrel_rails cluster::restart'' now calls ''mongrel_rails stop'' and
''mongrel_rails start''. ''cluster::restart'' now accepts the ''force''
argument instead of ''soft''.
- Added ''.conf'' as
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 Jan 26
4
mongrel_cluster 0.2.2 prerelease
Hey y''all:
I''ve added some new stuff to mongrel_cluster. Give it try and let me
know if it works for you.
* Added ''--clean'' to cluster::start to force removal of the pidfile
before trying to start the cluster member. This is useful for recovering
from unexpected process death.
* Added ''--only PORT'' to cluster::* to support running a
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 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
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 Jul 28
7
mongrel_cluster rc.d script for FreeBSD
I wanted to be able to specify in my /etc/rc.conf file whether
mongrel_cluster should be enabled and the mongrel_cluster_config file
for the init script, so I wrote this simple rc.d style script.
Just throw it in /usr/local/etc/rc.d/ and do a chmod +x
/usr/local/etc/rc.d/mongrel_cluster.sh
To enable the script, add mongrel_cluster_enable="YES" to /etc/rc.conf
and optionally add
2007 Jul 19
4
[mongrel_cluster] hosting multiple web sites via
Jeff try adding to your mongrel_cluster.yml
:docroot: /var/radiant/domainA.com/public
--
Together we can solve any issue.
2006 May 04
4
problem setting up mongrel_cluster 0.1.1
I posted this to the rails list before by mistake, and only later realized
that there is a specific mongrel list.
Uff, I got lost. I had mongrel_cluster 0.1working fine, even with capistrano
(my own hack). Then came mongrel_cluster 0.1.1 and I tried to set it up,
but somehow I messed up things and nothing worked anymore. So here is what I
did:
on production machine: (debian linux, rails 1.1)
2006 Aug 15
7
mongrel_cluster not starting on reboot
Hi,
I''m in the process of moving my blog over from lighttpd -> apache 2.2
+ mongrel. Everything works fine as long as I don''t reboot :)
On reboot apache comes up but mongrel_cluster doesn''t start up the pooches...
I have added the mongrel_cluster call to my startup scripts like so:
www:/etc/init.d# update-rc.d mongrel_cluster defaults
Adding system startup for
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 May 30
6
Getting /etc/mongrel_cluster and startup script to work?
Hi,
I''m trying to setup my mongrel clusters to start on boot. I have
followed the instructions under the "On Boot Initialization Setup"
section at http://mongrel.rubyforge.org/docs/mongrel_cluster.html.
When I try to start it up, I get the following error:
me at mybox.com: sudo /etc/init.d/mongrel_cluster start
Starting all mongrel_clusters...
!!! Path to log file not
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 May 24
0
mongrel_cluster 0.1.3 prerelease
Hi y''all,
An prerelase of mongrel_cluster 0.1.3 is available for testing with
the Mongrel 0.3.13 prerelease. This release contains bug fixes and
adds a Ruby script for managing all applications on a server with a
single command.
To install:
gem install mongrel_cluster --source=http://
railsmachine.rubyforge.org/releases/
Changes:
* Suppress output from mongrel_rails.
* Added