Centos 5.x RHEL 5.x 安裝salt升級Zmq2.x 到Zmq4.x,zmq2.xzmq4.x

來源:互聯網
上載者:User

Centos 5.x RHEL 5.x 安裝salt升級Zmq2.x 到Zmq4.x,zmq2.xzmq4.x

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/

歡迎大家訪問我的個人網站 萌萌的IT人

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.