<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d4684235500622716427\x26blogName\x3dCaiwangqin\x27s+blog\x26publishMode\x3dPUBLISH_MODE_HOSTED\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttp://blog.caiwangqin.com/search\x26blogLocale\x3dzh_CN\x26v\x3d2\x26homepageUrl\x3dhttp://blog.caiwangqin.com/\x26vt\x3d3393395200455623441', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

Caiwangqin's blog

Focus on Life, Cloud Service, Smart Hardware, Architecture, Technic and beyond…

BackgroundDRb service started, but MiddleMan.all_worker_info is empty.

2008年10月23日星期四

按这个指引安装了BackgrounDrb, 在启动BackgrounDrb服务时发生了错误,导致服务看起来已经启动成功,但没有worker. Google了一些页面,发现这个问题还很普遍,于是给BackgrounDRb的作者gethemant咨询问题,以下是问题解决过程(需要从下往上读):



Thank you very much for your quickly response, I installed the debian system 1 year ago, the ruby might be installed by manually. Gem also using tar.gz.



Best Regards,


Jesse Cai (蔡望勤)


Blog: http://www.caiwangqin.com


Email: 1@p1.cn


—–邮件原件—–


发件人: gethemant@gmail.com [mailto:gethemant@gmail.com]


发送时间: 2008年10月23日16:37


收件人: Jesse Cai


主题: Re: 答复: backgroundrb service can started, but MiddleMan.all_worker_info is empty.


Your rubygems setup looks weird, because if its set properly, it


should automatically add require “rubygems” on top, because if packet


is install through gem command, each executable will be wrapped in a


script.


Also, packet_worker_runner should be in path. Did you install rubygems


from debian repositories, rather than using tar.gz file? Thats known


to create problem for folks.


On 10/23/08, Jesse Cai <1@p1.cn> wrote:


> I have resolved this problem, the problem is the same as


> http://thr3ads.net/backgroundrb-devel/2008/09/372582-more-on-leopard-problem


> .


> To resolved this problem on Debian :


>


> 1. Add “require ‘rubygems’” to /var/lib/gems/1.8/gems/packet-0.1.


> 14/bin/packet_worker_runner, before require “packet”


>


> 2. ln -s


> /var/lib/gems/1.8/gems/packet-0.1.14/bin/packet_worker_runner /usr/bin/


>


> –


> Best Regards,


> Jesse Cai (蔡望勤)


> Blog: http://www.caiwangqin.com> Email: 1@p1.cn


> 发件人: Jesse Cai [mailto:1@p1.cn]


> 发送时间: 2008年10月23日11:47


> 收件人: ‘gethemant@gmail.com’


> 主题: backgroundrb service can started, but MiddleMan.all_worker_info is


> empty.


> Dear gethemant,


> I’m sorry to trouble you.> i’m trying backgroundrb 1.1, i can start backgroundrb service, but


> MiddleMan.all_worker_info is empty.


> i’m using packet (0.1.14),chronic (0.2.3)


> i have searched from google, and got many same error about : Invalid worker with name notice_worker and key


> /var/lib/gems/1.8/gems/packet-0.1.14/lib/packet/packet_connection.rb:52:in


> `ask_worker’


> Could I have any tips from you?> –


> Best Regards,


> Jesse Cai (蔡望勤)


> Blog: http://www.caiwangqin.com


> Email: 1@p1.cn



Let them talk of their oriental summer climes of everlasting


conservatories; give me the privilege of making my own summer with my


own coals.


http://gnufied.org


Technorati : ,

Del.icio.us : ,


标签:

posted by Caiwangqin, 09:10

0 Comments:

发表评论

订阅 博文评论 [Atom]

<< 主页