Hi Brent, check out my deploy.rb to get an idea of how to set up for mongrel cluster and apache on linux:
http://pastie.caboo.se/204609 I think most people use the mongrel_cluster/recipes included as part of the mongrel_cluster gem instead of the default capistrano tasks, regards, John On May 27, 6:03 am, bdeveloper <[EMAIL PROTECTED]> wrote: > I am new to Capistrano and am having trouble getting all the recipes > to work. cap deploy:cold seems to work fine. cap deploy:stop and cap > deploy:restart give the following error. > > [127.0.0.1] executing command > *** [err :: 127.0.0.1] Couldn't find any pid file in '/Library/Rails/ > bhome/current/tmp/pids' matching 'dispatch.[0-9]*.pid' > *** [err :: 127.0.0.1] (also looked for processes matching "/Library/ > Rails/bhome/current/public/dispatch.fcgi") > command finished > > What do I need to do to fix this? I haven't been able to find anything > in the documentation. Here are the contents my configuration files. > Please help!!! > > deploy.rb > ------------- > set :application, "bhome" > set :repository, "file:///Users/brent/svn_repositories/bhome/trunk" > set :deploy_to, "/Library/Rails/#{application}" > set :runner, "brent" > set :mongrel_conf, "#{deploy_to}/current/config/mongrel_cluster.yml" > > role :app, "127.0.0.1" > role :web, "127.0.0.1" > role :db, "127.0.0.1", :primary => true > > mongrel_cluster.yml > ----------------------------- > cwd: /Library/Rails/bhome/current > log_file: log/mongrel.log > port: "8000" > environment: production > address: 127.0.0.1 > pid_file: tmp/pids/mongrel.pid > servers: 2 > > spin > ------ > # File: script/spin > /usr/bin/mongrel_rails cluster::start -C config/mongrel_cluster.yml --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
