gpt4 book ai didi

centos - 无法启动 RabbitMQ STOMP 插件?

转载 作者:行者123 更新时间:2023-12-04 19:44:42 25 4
gpt4 key购买 nike

我一直在尝试在 CentOS 6 中启动 RabbitMQ 服务器,但不幸的是,在启用 STOMP 插件时它会抛出以下错误消息。

我正在尝试运行:RabbitMQ 3.6.0

我知道61613已经被使用了。
但我不知道如何更改或配置它。

是否有一些快速而肮脏的方法可以杀死它并重新启动服务器?
当然,我不想禁用该插件。

BOOT FAILED
===========

Error description:
{could_not_start,rabbitmq_stomp,
{{undef,
[{rabbit_networking,tcp_listener_spec,
[rabbit_stomp_listener_sup,
{{0,0,0,0,0,0,0,0},61613,inet6},
[{backlog,128},{nodelay,true}],
ranch_tcp,rabbit_stomp_client_sup,
{stomp_configuration,"guest","guest",false,false},
stomp,"STOMP TCP Listener"],
[]},
{rabbit_stomp_sup,'-listener_specs/3-lc$^1/1-1-',4,
[{file,"src/rabbit_stomp_sup.erl"},{line,44}]},
{rabbit_stomp_sup,init,1,
[{file,"src/rabbit_stomp_sup.erl"},{line,38}]},
{supervisor,init,1,[{file,"supervisor.erl"},{line,272}]},
{gen_server,init_it,6,[{file,"gen_server.erl"},{line,328}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]},
{rabbit_stomp,start,[normal,[]]}}}

{"init terminating in do_boot",{could_not_start,rabbitmq_stomp,{{undef,[{rabbit_networking,tcp_listener_spec,[rabbit_stomp_listener_sup,{{0,0,0,0,0,0,0,0},61613,inet6},[{backlog,128},{nodelay,true}],ranch_tcp,rabbit_stomp_client_sup,{stomp_configuration,"guest","guest",false,false},stomp,"STOMP TCP Listener"],[]},{rabbit_stomp_sup,'-listener_specs/3-lc$^1/1-1-',4,[{file,"src/rabbit_stomp_sup.erl"},{line,44}]},{rabbit_stomp_sup,init,1,[{file,"src/rabbit_stomp_sup.erl"},{line,38}]},{supervisor,init,1,[{file,"supervisor.erl"},{line,272}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,328}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]},{rabbit_stomp,start,[normal,[]]}}}}


根据 rabbitmq-users 组的说法,这原来是 rabbitmq-server 本身的一个错误......所以解决这个问题的方法是您可以切换或

试试 3.6.1.RC2:
https://groups.google.com/forum/#!searchin/rabbitmq-users/RC2/rabbitmq-users/QmB-YLo89d0/U1GoGYpmAQAJ

我尝试使用 3.6.1.RC2 并解决了这个问题。

最佳答案

来自 https://www.rabbitmq.com/stomp.html

edit your Configuration file, to contain a tcp_listeners variable for the rabbitmq_stomp application

For example, a complete configuration file which changes the listener port to 12345 would look like:

[
{rabbitmq_stomp, [{tcp_listeners, [12345]}]}
].

while one which changes the listener to listen only on localhost (for both IPv4 and IPv6) would look like:

[
{rabbitmq_stomp, [{tcp_listeners, [{"127.0.0.1", 61613},
{"::1", 61613}]}]}
].

关于centos - 无法启动 RabbitMQ STOMP 插件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35559879/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com