Dreamhost + Ferret

Hi Experts,

Ferret server not running couldnt figure it out. because i’m using
subdomain.

Error:
DRb::DRbConnError (druby://localhost:9010 - #<Errno::ECONNREFUSED:
Connection refused - connect(2)>):
/usr/lib/ruby/1.8/drb/drb.rb:736:in open' /usr/lib/ruby/1.8/drb/drb.rb:729:ineach’
/usr/lib/ruby/1.8/drb/drb.rb:729:in open' /usr/lib/ruby/1.8/drb/drb.rb:1189:ininitialize’
/usr/lib/ruby/1.8/drb/drb.rb:1169:in new' /usr/lib/ruby/1.8/drb/drb.rb:1169:inopen’
/usr/lib/ruby/1.8/drb/drb.rb:1085:in method_missing' /usr/lib/ruby/1.8/drb/drb.rb:1103:inwith_friend’
/usr/lib/ruby/1.8/drb/drb.rb:1084:in method_missing' /vendor/plugins/acts_as_ferret-0.4.3/lib/remote_index.rb:16:insend’
/vendor/plugins/acts_as_ferret-0.4.3/lib/remote_index.rb:16:in
method_missing' /vendor/plugins/acts_as_ferret-0.4.3/lib/act_methods.rb:189:inacts_as_ferret’
/app/models/category.rb:3
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
gem_original_require' /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:inrequire’
/vendor/rails/activerecord/lib/…/…/activesupport/lib/
active_support/dependencies.rb:496:in require' /vendor/rails/activerecord/lib/../../activesupport/lib/ active_support/dependencies.rb:342:innew_constants_in’
/vendor/rails/activerecord/lib/…/…/activesupport/lib/
active_support/dependencies.rb:496:in require' /vendor/rails/activerecord/lib/../../activesupport/lib/ active_support/dependencies.rb:104:inrequire_or_load’
/vendor/rails/activerecord/lib/…/…/activesupport/lib/
active_support/dependencies.rb:248:in load_missing_constant' /vendor/rails/activerecord/lib/../../activesupport/lib/ active_support/dependencies.rb:453:inconst_missing’
/vendor/rails/activerecord/lib/…/…/activesupport/lib/
active_support/dependencies.rb:465:in const_missing' /vendor/rails/activerecord/lib/../../activesupport/lib/ active_support/dependencies.rb:260:inload_missing_constant’
/vendor/rails/activerecord/lib/…/…/activesupport/lib/
active_support/dependencies.rb:469:in const_missing' /app/controllers/testing_controller.rb:29:inauto_complete_responder_for_category’
/app/controllers/testing_controller.rb:15:in
auto_complete_for_category_name' /vendor/rails/actionpack/lib/action_controller/base.rb:1158:insend’
/vendor/rails/actionpack/lib/action_controller/base.rb:1158:in
perform_action_without_filters' /vendor/rails/actionpack/lib/action_controller/filters.rb:697:incall_filters’
/vendor/rails/actionpack/lib/action_controller/filters.rb:689:in
perform_action_without_benchmark' /vendor/rails/actionpack/lib/action_controller/benchmarking.rb: 68:inperform_action_without_rescue’
/usr/lib/ruby/1.8/benchmark.rb:293:in measure' /vendor/rails/actionpack/lib/action_controller/benchmarking.rb: 68:inperform_action_without_rescue’
/vendor/rails/actionpack/lib/action_controller/rescue.rb:199:in
perform_action_without_caching' /vendor/rails/actionpack/lib/action_controller/caching.rb:678:inperform_action’
/vendor/rails/activerecord/lib/active_record/connection_adapters/
abstract/query_cache.rb:33:in cache' /vendor/rails/activerecord/lib/active_record/query_cache.rb:8:incache’
/vendor/rails/actionpack/lib/action_controller/caching.rb:677:in
perform_action' /vendor/rails/actionpack/lib/action_controller/base.rb:524:insend’
/vendor/rails/actionpack/lib/action_controller/base.rb:524:in
process_without_filters' /vendor/rails/actionpack/lib/action_controller/filters.rb:685:inprocess_without_session_management_support’
/vendor/rails/actionpack/lib/action_controller/
session_management.rb:123:in process' /vendor/rails/actionpack/lib/action_controller/base.rb:388:inprocess’
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:
171:in handle_request' /vendor/rails/actionpack/lib/action_controller/dispatcher.rb: 115:indispatch’
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:
126:in dispatch_cgi' /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:9:indispatch’
/vendor/rails/railties/lib/fcgi_handler.rb:101:in
process_request' /vendor/rails/railties/lib/fcgi_handler.rb:149:inwith_signal_handler’
/vendor/rails/railties/lib/fcgi_handler.rb:99:in process_request' /vendor/rails/railties/lib/fcgi_handler.rb:77:inprocess_each_request’
/usr/lib/ruby/1.8/fcgi.rb:594:in each_cgi' /vendor/rails/railties/lib/fcgi_handler.rb:76:inprocess_each_request’
/vendor/rails/railties/lib/fcgi_handler.rb:50:in process!' /vendor/rails/railties/lib/fcgi_handler.rb:24:inprocess!’
dispatch.fcgi:24

anyone faced this kind of situation? plz help me guys

regards,
Bala

On 06 Feb 2008, at 20:34, Bala wrote:

Ferret server not running couldnt figure it out. because i’m using
subdomain.

Error:
DRb::DRbConnError (druby://localhost:9010 - #<Errno::ECONNREFUSED:
Connection refused - connect(2)>):

Ferret is trying to connect to a druby process, which you can start
with “script/ferret_server start -e production”. Don’t know if you’ll
be able to start up the extra process on a Dreamhost account, if you
can’t, you’ll have to comment out the production part in config/
ferret_server.yml. Do know that if more than one process writes to
the index at the same time because you’re not using the drb server,
it’ll be corrupted.

Best regards

Peter De Berdt

Thanks Peter,

It helped me a lot.

regards,
Bala

On 07/02/2008, Peter De Berdt [email protected] wrote:

not using the drb server, it’ll be corrupted.


“Smile while you cry.”

“There are only two tragedies in life: one is not getting what one
wants,
and the other is getting it.”