您的位置:首页 > 运维架构 > Linux

Centos 5.x RHEL 5.x 安装salt升级Zmq2.x 到Zmq4.x

2014-11-21 10:03 369 查看
RHEL5.8通过EPEL源安装 salt-minion,启动的时候日志报错:[WARNING ] You have a version of ZMQ less than ZMQ 3.2! There are known connection keep-alive issues with ZMQ < 3.2 which may result in loss of contact with minions. Please upgrade your ZMQ!
原因是salt-master版本用的是ZMQ3,salt-miniton用的还是ZMQ2.2,他们之间通讯keep-alive不可用导致的,方法就是升级ZMQ版本>3.2,网上找了一下解决方法,果然都是一个地方复制黏贴,还麻烦无比。其实比较容易的解决方法就是先下载两个文件: http://copr-be.cloud.fedoraproject.org/results/saltstack/zeromq4/epel-5-x86_64/zeromq-4.0.4-2.el5/zeromq-4.0.4-2.el5.x86_64.rpmhttp://copr-be.cloud.fedoraproject.org/results/saltstack/zeromq4/epel-5-x86_64/python-zmq-14.3.1-3.el5/python26-zmq-14.3.1-3.el5.x86_64.rpm
执行rpm -Uvh python26-zmq-14.3.1-3.el5.x86_64.rpm zeromq-4.0.4-2.el5.x86_64.rpm
重启salt-minion:
/etc/init.d/salt-minion restart

相关文章:
https://github.com/saltstack/salt/issues/4440 http://copr-be.cloud.fedoraproject.org/results/saltstack/zeromq4/epel-5-x86_64/
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  salt salt-minion ZMQ ZMQ2 ZMQ3