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.rpm 和 http://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-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.rpm 和 http://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/
相关文章推荐
- Centos 5.x RHEL 5.x 安装salt升级Zmq2.x 到Zmq4.x
- RHEL/CentOS 5.x使用yum快速安装部署Nginx+PHP(FastCGI)+MySQL生产环境及优化
- 在Centos 5.x或6.x上安装RHEL EPEL Repo
- 在Centos 5.x或6.x上安装RHEL EPEL Repo
- 通过yum升级CentOS/RHEL最小化安装的方法
- Centos 5.x 升级 python2.7,安装setuptools、mysqldb 完整记录
- 在Centos 5.x或6.x上安装RHEL EPEL Repo
- Nagios 4.0.1版本安装 适用于RHEL/Centos 5.x/6.x 或者Fedora 17/18/19(一)
- RHEL/CentOS 5.x使用yum快速安装MySQL 5.5.x
- 在Centos 5.x或6.x上安装RHEL EPEL Repo
- 在Centos 5.x或6.x上安装RHEL EPEL Repo
- 如何在CentOS/RHEL上安装或升级新的内核版本 推荐
- Centos 5.x 升级 python2.7,安装setuptools、mysqldb 完整记录
- Nagios 4.0.1版本安装 适用于RHEL/Centos 5.x/6.x 或者Fedora 17/18/19(一)
- 在Centos 5.x或6.x上安装RHEL EPEL Repo
- (原创)RHEL/CentOS 5.x使用yum快速安装MySQL 5.5.x
- RHEL/CentOS 5.x使用yum快速安装MySQL 5.5.x
- 通过yum升级CentOS/RHEL最小化安装
- rhel5.3服务器安装centOS的yum源
- 给Centos 5.x安装桌面环境