Displaying 20 results from an estimated 4000 matches similar to: "Running Mongrel Cluster on boot"
2005 Dec 28
2
Rails didn''t install correctly
Hi all,
Apparently rails didn''t install correctly on my Mandrake 10.0 system.
=================================
[slitt@mydesk work]$ rails demo
/usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:204:in `report_activate_error'':
Could not find RubyGem rails (> 0) (Gem::LoadError)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:141:in `activate''
from
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
2006 Jan 20
2
what''s the right way to require a file?
I''m having a problem importing a class from another project (not a RoR
application). What''s the right way to require such a file?
I have a class ModelPathwayObject. It''s in
#{RAILS_ROOT}/../lib/model_pathway_object.rb , so I add that path to
config.load_paths. In config/environment.rb:
Rails::Initializer.run do |config|
config.load_paths += %W(
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 May 15
2
Error creating controllers in InstantRails-1.3a
Hi,
I was able to successfully Install InstantRails-1.3a and run cookbook throgh
Apache and WEBrick , however when I try to create my own app. cookbook2
following tutorial ( http://instantrails.rubyforge.org/tutorial/index.html)
, it gives me below error whle creating MyTest controller
Cannot find gem for Rails =1.1.2:
Install the missing gem with ''gem install -v=1.1.2
2006 Aug 20
1
Problem with: service mongrel_cluster start
Hi all,
I am having trouble transitioning from fastcgi to Mongrel. I have it
all working apart from one small part, I can''t get the service to
start on boot.
I have followed the instructions and if I call the script directly:
i.e. "/etc/init.d/mongrel_cluster start" it works fine, but if I call
it using "service mongrel_cluster start" it fails with the
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 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 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 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
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 Jul 13
2
cluster vs. rails spawner
It appears the spawner in Rails 1.2 will do Mongrel clustering.
I''m curious what this means for mongrel_cluster. They appear to
overlap in features quite a bit. I don''t think the spawner uses a
config, so that''s one difference. Will they be different enough?
I only ask because mongrel_cluster could, theoretically, be made
extinct if the spawner script has all the same
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
2007 Mar 04
6
FreeBSD 6.1 mongrel_cluster and procfs message
I''m running the latest mongrel (1.0.1) and the latest mongrel_cluster
(1.0.1.1) on FreeBSD 6.1.
When I use capistrano to try to stop or restart my cluster I get this
(partial) output:
ps: Process environment requires procfs(5)
And my Mongrel processes haven''t stopped.
Any ideas?
Thanks,
Jamie
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
2005 Dec 14
1
just installed rails on ubuntu, error creating rails dir -->unexpected token: ''#<RubyToken::TkLPAREN:
Hello there good rails people!
Just did a fresh install of rails on my new (old) Ubuntu machine. I am
running ruby 1.8.2 and have installed about five extra packages that do
not come with Ubuntu. I managed to install ruby-gems and used gems to
successfully install rails but I am getting an error message when I run
rails, it seems to be choking on a Tkl paren. Google has not turned up
much
2006 Apr 26
3
My GD2 is not working
I installed GD2 1.0/1.1, but they are both not working, does anyone
knows why? Great Thanks!
With GD 1.0 I got:
========================================================
RuntimeError
unknown symbol "gdImageSquareToCircle"
RAILS_ROOT:
/home/virtual/site1/fst/var/www/html/imodesite/public/../config/..
Application Trace | Framework Trace | Full Trace
2008 Oct 01
8
Mongrel_Cluster unable to access OCI8 library
Hi,
I''m able to run a ROR application in a Red Hat Enterprise Linux 4.4
environment, as long as I start my mongrel_cluster via the command line:
[chris at localhost ~]$ mongrel_cluster_ctl start
I take a look at the two mongrel_rails processes that were just created:
[chris at localhost log]$ ps -ef | grep mongrel
chris 4781 1 5 05:55 ? 00:00:02 /usr/local/bin/ruby
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
2008 Jun 23
12
From Instant Rails 2.0 to Rails 2.1.0
hi,
I have installed Instant Rails 2.0 on my machine which comes with
Rails 2.0.2. Now I want to update my Rails to version 2.1.0. So I do
gem update rails and It seems to be fine. But when I check the version
of my Rails I get the following message:
>rails -v
C:/RoR/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:578:in
`report_activate_error'': RubyGem version error: activesupport(2.0.2
not