[Backgroundrb-devel] config file questions

Charlie Bowman charlesmbowman at gmail.com
Thu Jun 21 15:20:06 EDT 2007


example:

:host: 192.168.1.101
:protocol: druby
:worker_dir: lib/workers
:rails_env: production
:pool_size: 15
:load_rails: true
:timer_sleep: 60
:acl:
  :deny: all
  :allow: localhost 192.168.1.*
  :order: deny allow

I have this config file on 2 app servers running rails.  The 2 servers are
running behind a load balancer.  I'm starting the backgroundrb server on the
one server with the ip of 192.168.1.101.  Each time I try to call an action
that uses backgroundrb I get the followng error.  If I'm using druby, why do
I get the following error message?

drbunix:///tmp/backgroundrbunix_localhost_2000 - #

Doesn't the error tell me that I'm using drbunix?  I'll also post my
backgroundrb_sever.log.  I'm stumped and very confused on what to do next.
Thank you for any possible help!

20070621-14:59:39 (10124) Starting BackgrounDRb Server
20070621-14:59:39 (10124) config: config/backgroundrb/production.yml
20070621-14:59:39 (10124) rails_env: production
20070621-14:59:39 (10124) socket_dir: /tmp/backgroundrb.10124
20070621-14:59:39 (10124) pool_size: 15
20070621-14:59:39 (10124) host: 192.168.1.101
20070621-14:59:39 (10124) acl: orderdeny allowdenyallallowlocalhost
192.168.1.*
20070621-14:59:39 (10124) temp_dir: /tmp
20070621-14:59:39 (10124) port: 2000
20070621-14:59:39 (10124) load_rails: true
20070621-14:59:39 (10124) worker_dir: /var/www/near-
time.net/releases/20070621035836/lib/workers
20070621-14:59:39 (10124) protocol: druby
20070621-14:59:39 (10124) uri: druby://192.168.1.101:2000
20070621-14:59:39 (10124) timer_sleep: 60
20070621-14:59:39 (10124) Installed DRb ACL
20070621-14:59:41 (10127) Starting worker:
BackgrounDRb::Worker::WorkerLogger backgroundrb_logger (backgroundrb_logger)
()
20070621-14:59:41 (10127) Starting worker:
BackgrounDRb::Worker::WorkerResults backgroundrb_results
(backgroundrb_results) ()
20070621-14:59:41 (10127) Loading Worker Class File: /var/www/near-
time.net/releases/20070621035836/lib/workers/grab_feed_worker.rb
20070621-14:59:41 (10127) Loading Worker Class File: /var/www/near-
time.net/releases/20070621035836/lib/workers/unzip_worker.rb

3809,1        Bot


Charlie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20070621/d298f25c/attachment.html 


More information about the Backgroundrb-devel mailing list