[Mongrel] restart - `exec': Operation not supported

Jason A. Hoffman jason at joyent.com
Mon Aug 28 20:45:36 EDT 2006


Try the command

Jason-17% which mongrel_rails
/usr/local/bin/mongrel_rails

And then just cd into the rails application directory and try

mongrel_rails

to see what happens (rather than using the full path to the build  
directory).

- Jason


On Aug 28, 2006, at 5:40 PM, Joe Ruby wrote:

>
> It's OS 10.4.7. I installed using 'sudo gem install
> mongrel
> --source=http://mongrel.rubyforge.org/releases/' (and,
> yes, it did appear to install properly). Yep, there's
> also a mongrel_rails in /opt/local/bin -- its size is
> 490, the other is 7960. Both have timestamps of Aug 28
> 15:24. Should I delete one of them?
>
> Joe
>
> ---
> What operating system is this? And did it install
> properly? /opt/
> local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/mongrel_rails
> isn't
> where it should be, from that I'd think it would be at
> /opt/local/bin/
> mongrel_rails?
>
> - Jason
>
> --- Joe Ruby <joeat303 at yahoo.com> wrote:
>
>> I'm using the latest Mongrel (0.3.13.4) and
>> restarting
>> causes Mongrel to die. From mongrel.log:
>>
>> ** USR2 signal received.
>> ** Restarting with arguments:  ruby
>>
> /opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/mongrel_rails
>> start -C config/mongrel.yml
>>
> /opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/ 
> mongrel_rails:142:in
>> `exec': Operation not supported - ruby
>>
> /opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/mongrel_rails
>> start -C config/mongrel.yml (Errno::EOPNOTSUPP)
>>         from
>>
> /opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/ 
> mongrel_rails:142:in
>> `run'
>>         from
>>
> /opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/ 
> command.rb:203:in
>> `run'
>>         from
>>
> /opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/ 
> mongrel_rails:231
>>         from /opt/local/bin/mongrel_rails:18
>>
>> I tried 'ruby
>>
> /opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/mongrel_rails
>> start -C config/mongrel.yml' from the commandline
>> and
>> it started up Mongrel.
>>
>> Joe
>>
>> __________________________________________________
>> Do You Yahoo!?
>> Tired of spam?  Yahoo! Mail has the best spam
>> protection around
>> http://mail.yahoo.com
>>
>> __________________________________________________
>> Do You Yahoo!?
>> Tired of spam?  Yahoo! Mail has the best spam
>> protection around
>> http://mail.yahoo.com
>>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users



More information about the Mongrel-users mailing list