Centos5
無法設置 Rabbit_STOMP 埠 6163
我正在嘗試使用 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
在瀏覽網頁時,上面的程式碼似乎是適當的步驟,所以我錯過了什麼。
我正在執行以下內容:
[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。我不確定這是本書出版後外掛的更新還是書本身的錯誤。