Maybe this is a way to the solution: Observers.

for my problem model 'Mutation' I also have configured an observer. With 
the observer defined and remote set to true in the model, DRB server 
does not start. If I remove the observer statement, the DRB server 
starts without a problem.

This may also explain why mongrel has the AAF log messages during 
startup because it is accessing the Model because of the observer 
statement.

Not sure how to fix it though.


Izit Izit wrote:
> Some experimenting:
> 
> In my problem model I put remote to false. Started ferret drb server. 
> When startup was done changed remote to true in the problem model. I now 
> stopped ferret drb server. On the stop cli command the drb server 
> started building the index of the problem model.
> 
> Not sure if it is related but a bit strange I thought. :-)
> 
> Izit Izit wrote:
>> cli command outputs:
>> 
>> /usr/lib/ruby/1.8/drb/drb.rb:736:in `open': druby://localhost:9010 - 
>> #<Errno::ECONNREFUSED: Connection refused - connect(2)> 
>> (DRb::DRbConnError)
>>         from /usr/lib/ruby/1.8/drb/drb.rb:729:in `each'
>>         from /usr/lib/ruby/1.8/drb/drb.rb:729:in `open'
>>         from /usr/lib/ruby/1.8/drb/drb.rb:1189:in `initialize'
>>         from /usr/lib/ruby/1.8/drb/drb.rb:1169:in `new'
>>         from /usr/lib/ruby/1.8/drb/drb.rb:1169:in `open'
>>         from /usr/lib/ruby/1.8/drb/drb.rb:1085:in `method_missing'
>>         from /usr/lib/ruby/1.8/drb/drb.rb:1103:in `with_friend'
>>         from /usr/lib/ruby/1.8/drb/drb.rb:1084:in `method_missing'
>>          ... 30 levels...
>>         from 
>> /usr/lib64/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/runner.rb:39
>>         from 
>> /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in 
>> `gem_original_require'
>>         from 
>> /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
>>         from script/runner:3
>> 
>> 
>> Jens Kraemer wrote:
>>> On Thu, Jul 26, 2007 at 09:14:36AM +0200, Izit Izit wrote:
>>>> The same problem is back again. I moved my development app to production 
>>>> (dev = OS X, prod = Linux). started drb server and same problem occurs 
>>>> again.
>>> 
>>> So what does the DRb server log when it's started?
>>> 
>>> Jens
>>> --
>>> Jens Kr�mer
>>> http://www.jkraemer.net/ - Blog
>>> http://www.omdb.org/     - The new free film database

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to