[Mongrel] Mongrel_rails restart and sudo

Tom Brice tom at onidle.com
Fri Jun 16 18:48:22 EDT 2006


On 6/16/06 4:40 PM, Zed Shaw  wrote:

> Tom, mongrel_cluster is the way to go for deployments with capistrano.
> If you can post the stack dump you get in your mongrel.log after you do
> this restart then I can probably see why it's failing.

Here's what I get:

** USR2 signal received.
** Restarting with arguments:  ruby
/opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/bin/mongrel_rails start -e
production -p 81 -d -c /Library/WebServer/rails/kd/current
/opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/bin/mongrel_rails:158:in
`exec': Operation not supported - ruby
/opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/bin/mongrel_rails start -e
production -p 81 -d -c /Library/WebServer/rails/kd/current
(Errno::EOPNOTSUPP)
        from 
/opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/bin/mongrel_rails:158:in
`run'
        from 
/opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/lib/mongrel/command.rb:188:
in `run'
        from 
/opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/bin/mongrel_rails:247
        from /opt/local/bin/mongrel_rails:18

I'm gonna try to do mongrel_cluster right now.

Thanks,
Tom 




More information about the Mongrel-users mailing list