On Sun, Jul 22, 2007 at 08:42:46PM +0200, Matthew Langham wrote:
> I am having a strange problem starting the acts_as_ferret Drb server on
> a particular Linux machine (Debian Etch). The same setup works fine on
> my Mac (OSX).
> 
> Without the Rails application running (yes, I've checked several times)
> I get the following error if I try to start the ferret server and one of
> my models contains :remote => true for acts_as_ferret:
> 
> >>
> script/ferret_start
> /usr/lib/ruby/1.8/drb/drb.rb:736:in `open': druby://localhost:3009 -
> #<Errno::ECONNREFUSED: Connection refused - connect(2)>
> (DRb::DRbConnError)

This looks like the DRb server itself tries to connect to the DRb
server - normally aaf should detect when it is running *in* the DRb
server, but sometimes this doesn't seem to work. Do you use the latest
aaf (0.4.1)? There have been some fixes in this area since 0.4.0.

Please have a look in your development log, watch out for a line
starting with 'Asked for a remote server'.

Cheers,
Jens

-- 
Jens Krämer
http://www.jkraemer.net/ - Blog
http://www.omdb.org/     - The new free film database
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to