[Backgroundrb-devel] Can't Connect to BackgroundRB

Erik Morton eimorton at gmail.com
Sun Sep 24 16:59:48 EDT 2006


Interesting. I have a three server setup at a colo and they are all  
running out of the box firewalls from RedHat EL4. Normally I would  
put my Mongrels on the "app" server with BackgroundRB. In this case  
however my app server is a bit overloaded with a HylaFAX  
installation, so I have my mongrels on the "web" server.

Would you consider it a best practice to keep the mongrels and  
BackgroundRB on the same server?

Erik
On Sep 24, 2006, at 4:40 PM, Ezra Zygmuntowicz wrote:

> Hey Eric-
>
> On Sep 24, 2006, at 8:21 AM, Erik Morton wrote:
>
>> I'm having trouble getting backgroundrb up and running in a
>> production environment.
>>
>> Here's my backgroundrb.yml:
>> ---
>> port: "22222"
>> timer_sleep: 60
>> load_rails: true
>> environment: production
>> host: XXX.XX.XXX.50
>> database_yml: config/database.yml
>> acl:
>>    deny: all
>>    allow: localhost 127.0.0.1 XXX.XX.XXX.51
>>    order: deny,allow
>>
>> I start BackgroundRB from XXX.XX.XXX.50 with script/backgroundrb/
>> start -d
>> I can then telnet localhost 22222 and connect to the drb server
>> However when I: telnet XXX.XX.XXX.50 22222 from the same machine I
>> get connection refused.
>>
>> Does this sound like an ACL issue or perhaps my iptables?
>>
>> Thanks in advance,
>> Erik
>
> 	It could be an acl issue but I rather think it might be a network  
> issue, drb is fidgety with NAT and firewalls. IS the other server  
> behind NAT or a firewall? If so you may want to look  at DRbFire,  
> its an add on to drb to help it navigate firewalls and nat.
>
>
> Cheers-
> -Ezra



More information about the Backgroundrb-devel mailing list