similar to: Capistrano mongrel recipes and /usr/local/bin

Displaying 20 results from an estimated 5000 matches similar to: "Capistrano mongrel recipes and /usr/local/bin"

2007 Oct 28
2
cluster::restart doesn''t wait for stop before starting
Hi, I''m calling restart from my Capistrano task. I have this in my deploy.rb file: # until mongrel_cluster updates to cap2... namespace :deploy do task :start, :roles => :app do start_mongrel_cluster end task :stop, :roles => :app do stop_mongrel_cluster end task :restart, :roles => :app do restart_mongrel_cluster end end (What''s the scoop on
2006 May 01
3
mongrel_cluster-0.1.1: the bird dog (capistrano support!)
Hey y''all: mongrel_cluster provides management tools for running Mongrel behind a reverse-proxy/load balancer. It is an extraction from Rails Machine, a deployment service and Ruby library that simplifies Rails application deployment. This release fixes bugs and adds a Capistrano task library. Changes: -changed pid file format to include port -only write configuration options
2007 Aug 10
10
what is the correct way to stop/start a mongrel instance using monit with mongrel cluster
Hi -- I have been reading documentation and googling around to find the correct way to do this but I have found many ways that seem to not work, or the documentation makes no reference to. I am using mongrel cluster with 10 mongrels for each server. Recently I installed monit but which lead me to find the correct way to start/stop mongrel instances one pid at a time. I am assuming one pid at a
2007 Aug 14
1
can not delete pid fils when stopping mongrel_cluster
Hi all, i im using Capistrano2 to deploy my rails app and Apache/Mongrel as it''s env. All is well except deploy:rollback task. the following is log messages when running cap deploy:rollback : [DEPRECATION] Capistrano.configuration is deprecated. Use Capistrano:: Configuration.instance instead * executing `deploy:rollback'' * executing `deploy:rollback_code'' *
2007 Jun 24
3
Mongrel under opensolars with SMF
Thought I''d drop a note about my experience with running mongrel directly under the solaris service management framework. So far I''m very impressed. SMF is the solaris replacement for the init system. It''s tied much more closely to the OS and for instance doesn''t use pid files. I''ve found you can completely eliminate mongrel cluster, and for that
2006 Aug 29
15
Setup with Apache 2.2 proxy balancer : timeout during uploads
Hi all, I encounter timeout errors during file uploads in my Rails application. I think the problem may be in the Mongrel configuration. Here is my setup: * Load balancer (Cisco CSM, my provider''s Catalyst 6509) * Apache 2.2.3 with mod_proxy_balancer * Mongrel 0.3.13.3 * Rails 1.1.6 * Ruby 1.8.4 * MySQL 5.0.22 * file_column I host an application in which users may upload medium files
2007 Apr 17
7
problem restarting mongrel_cluster outside RAILS_ROOT - patch and other option
Hey folks. Sorry for the SUPER long email but if you''ve been experiencing the same problems with restarting your mongrel cluster with Capistrano, then I have two solutions that have worked for me and I''m pretty sure will for you as well. THE PROBLEM I was having trouble restarting my clusters using Capistrano. I''ve seen this come up before on the mailing list and
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
2007 Jun 01
1
LoadError on ''initializer'' when starting Mongrel
Hi all... When I start Mongrel I get a LoadError. I use the command > sudo mongrel_rails cluster::start -C /path/to/mongrel_cluster.yml and it says > Starting 2 Mongrel servers... but in the log I see this error: ** Starting Rails with production environment... /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'': no such file to load --
2007 Jul 13
11
Mongrel + Insert Web Server Here
Which web server does mongrel fair best with? -Ron
2007 Aug 01
5
[HELP] Mongrel Needs a Patch Maven
Hey folks, I''m falling behind in my Mongrel duties and seriously need to recruit an enterprising individual to take on the patch queue and help push out a new release with some minor fixes. The goal would be to just get patches that are currently languishing, pull them together, put them in the source, write some tests to try them, and then one slight design change. If this works out
2006 Aug 10
16
Error on Solaris
Hi everyone, I''m having a problem starting rails on solaris. I have made the changes suggested in the joyeur article but it doesn''t make any difference. The error is below. Does anyone have any idea? /opt/csw/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:666:in `register'': undefined method `resolve'' for nil:Mongrel::URIClassifier (NoMethodError)
2006 Oct 22
10
Configuration Error?
I''m trying to get a rails app running with this configuration: Mongrel, Apache 2.2, mod_proxy load balancer and Rails 1.1.6 error I have a rails app on another server working with (apparantly) the same configuration and it runs fine so I''m stumped. I''m wondering if anyone has any insight into the error I have pasted below. It seems to be one of those errors that
2006 Jun 16
15
Mongrel_rails restart and sudo
Sorry for the newbie question but I''m stumped: I have an app that requires sudo to run mongrel_rails. For my capistrano recipe is do it like this: sudo "mongrel_rails start -e production -p #{application_port} -d -c #{current_path}" Which works famously. Now I have tried several things for my restart task. Here they are: sudo "cd #{current_path} && sudo
2007 Oct 01
10
Error with Mongrel_cluster
Hi Guys, I?m getting this error with mongrel_cluster. I am able to start mongrel through mongrel_rails start but the cluster is not working. Initially mongrel_rails wouldn?t work but after I added $ORACLE_HOME and $PD_LIBRARY_PATH variables it worked but mongrel_cluster isn?t working still. The mongrel log file looks like below. Any help is appreciated. Thanks. -----------begin
2006 Aug 04
8
Capistrano /usr/bin/env: ruby: no such file or directory
Hi, I''m deploying to a prod linux server via Capistrano, but the last step, running the reaper, won''t complete. Ruby is stored in /usr/local/bin on the server, and I''m deploying from winxp. $ ssh mcalogin@lx07 Password: mcalogin@LX07:~> env | grep "^PATH" PATH=/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/b in:/opt/
2007 Jul 18
6
Yet another "mongrel dying daily" case
I was hoping that someone can help me with this, which have been driving me nuts -- I have had my mongrel cluster dying daily. And yes, I have gone through the check list of possible causes: I don''t do log rotating I use active_record for session storage I don''t use SQLite and Berkeley DB The MySQL timeout is set to 3600 I am using only 10% of the memory. I am using RedHat
2007 Sep 07
3
Fails to restart mongrel cluster after Capistrano rollback (PIDs not deleted)
Hi, I am deploying a Rails website using Capistrano to a VPS running the site through Apache and Mongrel. ''cap deploy'' works fine, and mongrels are restarted. When I execute ''cap deploy:rollback'', however, my script fails to restart the mongrels giving this error: !!! PID file tmp/pids/mongrel.5000.pid already exists. Mongrel could be running already.
2007 Nov 03
4
Mongrel Cluster: Rolling restart?
Hi all, Forgive me if this has been asked before, but is there a reason mongrel_rails cluster::restart stops all ports and then restarts them again? Wouldn''t it be better to restart each port one-by-one in series so that upstream proxy servers can fail over while the restart is occurring, or am I missing something? Thanks, eden
2006 Jun 20
2
Capistrano, chmod, and revisions.log
background: One of our developers is just getting started with Capistrano, just getting together a rudimentary deploy.rb, copied from one of our contract developers who is just getting started a bit too. I''m the systems manager and a complete Rails and Ruby newbie (who, by the way, cannot thank Zed Shaw enough for mongrel and Bradley Taylor enough for mongrel_cluster :-)