James McGrath
2009-Apr-10 07:36 UTC
[Backgroundrb-devel] Error running server: Exec format error - packet_worker_runner
Hi All, I''ve been developing a rails app using the Bitnami RailsStack ( http://bitnami.org/stack/rubystack) and it has always worked as advertised. That is until I have tried to get BackgrounDRB up and running. I have followed the steps given on the plugin''s project page, each seems to work. I the plugin install works, I can generate workers etc, but when I start the backgrounDRB server I get the following errors in the backgroundrb log file:>>/Applications/rubystack-1.4-beta-1/ruby/lib/ruby/gems/1.8/gems/packet-0.1.14/lib/packet/packet_master.rb:116:in`exec'': Exec format error - packet_worker_runner 7:6:log_worker:17:/Volumes/DATA/development/rails/sched/lib/workers:/Volumes/DATA/development/rails/sched/script/load_worker_env (Errno::ENOEXEC)>> from/Applications/rubystack-1.4-beta-1/ruby/lib/ruby/gems/1.8/gems/packet-0.1.14/lib/packet/packet_master.rb:116:in `fork_and_load''>> from/Applications/rubystack-1.4-beta-1/ruby/lib/ruby/gems/1.8/gems/packet-0.1.14/lib/packet/packet_master.rb:80:in `start_worker''>> from/Volumes/DATA/development/rails/sched/vendor/plugins/backgroundrb/server/lib/master_proxy.rb:16:in `initialize''>> from/Applications/rubystack-1.4-beta-1/ruby/lib/ruby/gems/1.8/gems/packet-0.1.14/lib/packet/packet_master.rb:19:in `run''>> from/Volumes/DATA/development/rails/sched/vendor/plugins/backgroundrb/server/lib/master_proxy.rb:14:in `initialize''>> from/Volumes/DATA/development/rails/sched/vendor/plugins/backgroundrb/lib/backgroundrb/bdrb_start_stop.rb:48:in `new''>> from/Volumes/DATA/development/rails/sched/vendor/plugins/backgroundrb/lib/backgroundrb/bdrb_start_stop.rb:48:in `start''>> from script/backgroundrb:35In my frustrations I created a rails project from scratch to make sure it wasn''t something in my other code / setup, but I still get the errors. Has anyone seen this type of error before? If you have and suggestions I would love to hear them. I really want to get this plugin working as it is perfect for multiple projects I am working on. BTW: I am running on MacOSX. Thanks. P.S: Thanks to all devs who created this plugin - although I am not up and running yet it looks to be a most useful tool. Cheers. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20090410/7f46c837/attachment.html>