# Dreamhost + Ferret

**URL:** <https://www.ruby-forum.com/t/dreamhost-ferret/128332>\
**Category:** Rails\
**Created:** [February 6, 2008, 8:39pm UTC](https://www.ruby-forum.com/t/dreamhost-ferret/128332 "2008-02-06T20:39:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bala](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/94ad74/32.png) [@Bala](https://www.ruby-forum.com/u/Bala)\
**Post date:** [February 6, 2008, 8:39pm UTC](https://www.ruby-forum.com/t/dreamhost-ferret/128332/1 "2008-02-06T20:39:10Z")

</div>

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:in`each’  
/usr/lib/ruby/1.8/drb/drb.rb:729:in `open' /usr/lib/ruby/1.8/drb/drb.rb:1189:in`initialize’  
/usr/lib/ruby/1.8/drb/drb.rb:1169:in `new' /usr/lib/ruby/1.8/drb/drb.rb:1169:in`open’  
/usr/lib/ruby/1.8/drb/drb.rb:1085:in `method_missing' /usr/lib/ruby/1.8/drb/drb.rb:1103:in`with\_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:in`send’  
/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:in`acts\_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:in`require’  
/vendor/rails/activerecord/lib/…/…/activesupport/lib/  
active\_support/dependencies.rb:496:in `require' /vendor/rails/activerecord/lib/../../activesupport/lib/ active_support/dependencies.rb:342:in`new\_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:in`require\_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:in`const\_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:in`load\_missing\_constant’  
/vendor/rails/activerecord/lib/…/…/activesupport/lib/  
active\_support/dependencies.rb:469:in `const_missing' /app/controllers/testing_controller.rb:29:in`auto\_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:in`send’  
/vendor/rails/actionpack/lib/action\_controller/base.rb:1158:in  
`perform_action_without_filters' /vendor/rails/actionpack/lib/action_controller/filters.rb:697:in`call\_filters’  
/vendor/rails/actionpack/lib/action\_controller/filters.rb:689:in  
`perform_action_without_benchmark' /vendor/rails/actionpack/lib/action_controller/benchmarking.rb: 68:in`perform\_action\_without\_rescue’  
/usr/lib/ruby/1.8/benchmark.rb:293:in `measure' /vendor/rails/actionpack/lib/action_controller/benchmarking.rb: 68:in`perform\_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:in`perform\_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:in`cache’  
/vendor/rails/actionpack/lib/action\_controller/caching.rb:677:in  
`perform_action' /vendor/rails/actionpack/lib/action_controller/base.rb:524:in`send’  
/vendor/rails/actionpack/lib/action\_controller/base.rb:524:in  
`process_without_filters' /vendor/rails/actionpack/lib/action_controller/filters.rb:685:in`process\_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:in`process’  
/vendor/rails/actionpack/lib/action\_controller/dispatcher.rb:  
171:in `handle_request' /vendor/rails/actionpack/lib/action_controller/dispatcher.rb: 115:in`dispatch’  
/vendor/rails/actionpack/lib/action\_controller/dispatcher.rb:  
126:in `dispatch_cgi' /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:9:in`dispatch’  
/vendor/rails/railties/lib/fcgi\_handler.rb:101:in  
`process_request' /vendor/rails/railties/lib/fcgi_handler.rb:149:in`with\_signal\_handler’  
/vendor/rails/railties/lib/fcgi\_handler.rb:99:in `process_request' /vendor/rails/railties/lib/fcgi_handler.rb:77:in`process\_each\_request’  
/usr/lib/ruby/1.8/fcgi.rb:594:in `each_cgi' /vendor/rails/railties/lib/fcgi_handler.rb:76:in`process\_each\_request’  
/vendor/rails/railties/lib/fcgi\_handler.rb:50:in `process!' /vendor/rails/railties/lib/fcgi_handler.rb:24:in`process!’  
dispatch.fcgi:24

anyone faced this kind of situation? plz help me guys

regards,  
Bala

---

<div class="post-metadata">

**Author:** ![Bala](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/94ad74/32.png) [@Bala](https://www.ruby-forum.com/u/Bala)\
**Post date:** [February 6, 2008, 10:06pm UTC](https://www.ruby-forum.com/t/dreamhost-ferret/128332/2 "2008-02-06T22:06:58Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Bala](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/94ad74/32.png) [@Bala](https://www.ruby-forum.com/u/Bala)\
**Post date:** [February 7, 2008, 10:43am UTC](https://www.ruby-forum.com/t/dreamhost-ferret/128332/3 "2008-02-07T10:43:25Z")

</div>

Thanks Peter,

It helped me a lot.

regards,  
Bala

On 07/02/2008, Peter De Berdt [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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.”
