我正在尝试使用RabbitMQ设置mcollective。 按照指令,我启用rabbit_stomp插件,然后将端口设置为6163:
[ {rabbit_stomp, [{tcp_listeners, [{"127.0.0.1",6163}]} ]} ].
但是,即使重新启动后,似乎也不想将其设置为该端口。
tcp 0 0 0.0.0.0:54949 0.0.0.0:* LISTEN 13439/beam.smp tcp 0 0 :::5672 :::* LISTEN 13439/beam.smp tcp 0 0 :::61613 :::* LISTEN 13439/beam.smp
在通过networking看,上面的代码似乎是适当的一步,所以我是我失踪。
我正在运行以下内容:
[root@trp08-01 rabbitmq]# rpm -qi rabbitmq-server Name : rabbitmq-server Relocations: (not relocatable) Version : 2.8.1 Vendor: (none) Release : 1 Build Date: Thu 22 Mar 2012 10:52:25 AM EDT Install Date: Sat 28 Apr 2012 04:33:31 PM EDT Build Host: release-debian.localdomain Group : Development/Libraries Source RPM: rabbitmq-server-2.8.1-1.src.rpm Size : 3320919 License: MPLv1.1 Signature : DSA/SHA1, Thu 22 Mar 2012 10:55:48 AM EDT, Key ID f7b8cea6056e8e56 URL : http://www.rabbitmq.com/ Summary : The RabbitMQ server Description : RabbitMQ is an implementation of AMQP, the emerging standard for high performance enterprise messaging. The RabbitMQ server is a robust and scalable implementation of an AMQP broker. [root@trp08-01 rabbitmq]# rpm -qi erlang Name : erlang Relocations: (not relocatable) Version : R14B Vendor: Fedora Project Release : 03.3.el5 Build Date: Sun 07 Aug 2011 06:21:28 AM EDT Install Date: Fri 27 Apr 2012 10:50:55 AM EDT Build Host: x86-11.phx2.fedoraproject.org Group : Development/Languages Source RPM: erlang-R14B-03.3.el5.src.rpm Size : 31472 License: ERPL Signature : (none) Packager : Fedora Project URL : http://www.erlang.org Summary : General-purpose programming language and runtime environment Description : Erlang is a general-purpose programming language and runtime environment. Erlang has built-in support for concurrency, distribution and fault tolerance. Erlang is used in several large telecommunication
在CentOS 5.5上
没关系。 我应该学会更仔细地阅读文档:
http://www.rabbitmq.com/stomp.html
我拼错了rabbitmq_stomp。 更正:
[ {rabbitmq_stomp, [{tcp_listeners, [{"127.0.0.1", 6163}, {"::1", 6163}]}]} ].
有趣的是,Pro Puppet书也把它当作rabbit_stomp。 我不确定这本书发布后是否是插件的更新,或者是本书的错误。