Welcome Guest | Login

Drb ferret server deployment won´t start

I have the following files:

script/ferret_server
config/ferret_server.yml

In ferret_server.yml I specified the following:
production:
 host: localhost
 port: my_port
 pid_file: log/ferret.pid
 log_file: log/ferret_server.log
 log_level: debug

I changed permissions of script/ferret_server to 755

Then when I type "script/ferret_server -e production start" in ssh, a file log/ferret_server.out is created with the following content:

/usr/local/lib/ruby/1.8/drb/drb.rb:865:in `initialize': Cannot assign requested address - bind(2) (Errno::EADDRNOTAVAIL)
       from /usr/local/lib/ruby/1.8/drb/drb.rb:865:in `open'
       from /usr/local/lib/ruby/1.8/drb/drb.rb:865:in `open_server'
       from /usr/local/lib/ruby/1.8/drb/drb.rb:759:in `open_server'
       from /usr/local/lib/ruby/1.8/drb/drb.rb:757:in `each'
       from /usr/local/lib/ruby/1.8/drb/drb.rb:757:in `open_server'
       from /usr/local/lib/ruby/1.8/drb/drb.rb:1339:in `initialize'
       from /usr/local/lib/ruby/1.8/drb/drb.rb:1627:in `new'
       from /usr/local/lib/ruby/1.8/drb/drb.rb:1627:in `start_service'
        ... 7 levels...
       from ./script/../vendor/plugins/acts_as_ferret/lib/server_manager.rb:41:in `send'
       from ./script/../vendor/plugins/acts_as_ferret/lib/server_manager.rb:41
       from script/ferret_server:4:in `require'
       from script/ferret_server:4

What am I missing?
 

2008-07-01 07:56 PM

2008-07-01 08:43 PM

Hi Vanhalen,

The ferret server is running fine now. I have changed the host value given in the config/ferret_server.yml from "localhost" to "127.0.0.1" and started the ferret server using the modified ferret_server.yml file. Please confirm working from your end.

2008-07-01 09:28 PM

It is working know, thanks!

2008-07-01 10:51 PM


Hello Guest! In order to post you must be an active client with us, please log in or sign up.