[Backgroundrb-devel] Startup error

jeroen janssen jeroen at laika.nl
Sat Apr 12 12:54:15 EDT 2008


Hi all,

I'm new to this list (and pretty new to backgroundrb). I'd like to  
jump in with a question, I hope you don't mind.

I'm trying to get my site working with backgroundrb to sent mail. It's  
pretty basic stuff and I got it working pretty fast on my local  
machine (os x leopard). Unfortunately, when I try to deploy to my  
production machine I get an error when I try to start backgroundrb.  
I'm not really sure how to debug this issue, I don't see anything in  
the log.

My production machine is hosted by Slicehost. and is running Ubuntu.

I get the following error:

/usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/ 
packet_meta_pimp.rb:48:in `process_request': undefined method  
`send_request' for nil:NilClass (NoMethodError)
	from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/ 
packet_meta_pimp.rb:27:in `handle_object'
	from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/ 
packet_meta_pimp.rb:20:in `receive_data'
	from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/ 
packet_parser.rb:29:in `call'
	from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/ 
packet_parser.rb:29:in `extract'
	from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/ 
packet_meta_pimp.rb:18:in `receive_data'
	from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/ 
packet_master.rb:64:in `handle_internal_messages'
	from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/ 
packet_core.rb:176:in `handle_read_event'
	from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/ 
packet_core.rb:174:in `each'
	from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/ 
packet_core.rb:174:in `handle_read_event'
	from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/ 
packet_core.rb:130:in `start_reactor'
	from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/ 
packet_core.rb:124:in `loop'
	from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/ 
packet_core.rb:124:in `start_reactor'
	from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/ 
packet_master.rb:21:in `run'
	from /var/www/apps/lego/releases/20080412142415/vendor/plugins/ 
backgroundrb/server/lib/master_worker.rb:166:in `initialize'
	from script/backgroundrb:60:in `new'
	from script/backgroundrb:60
/usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_nbio.rb: 
25:in `read_data': Packet::DisconnectError (Packet::DisconnectError)
	from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/ 
packet_worker.rb:46:in `handle_internal_messages'
	from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/ 
packet_core.rb:176:in `handle_read_event'
	from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/ 
packet_core.rb:174:in `each'
	from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/ 
packet_core.rb:174:in `handle_read_event'
	from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/ 
packet_core.rb:130:in `start_reactor'
	from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/ 
packet_core.rb:124:in `loop'
	from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/ 
packet_core.rb:124:in `start_reactor'
	from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/ 
packet_worker.rb:20:in `start_worker'
	from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/ 
packet_master.rb:133:in `fork_and_load'
	from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/ 
packet_master.rb:96:in `load_workers'
	from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/ 
packet_master.rb:91:in `each'
	from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/ 
packet_master.rb:91:in `load_workers'
	from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/ 
packet_master.rb:20:in `run'
	from /var/www/apps/lego/releases/20080412142415/vendor/plugins/ 
backgroundrb/server/lib/master_worker.rb:166:in `initialize'
	from script/backgroundrb:60:in `new'
	from script/backgroundrb:60



More information about the Backgroundrb-devel mailing list