我已经在Windows 10机器上安装了RabbitMQ 3.11.2和Erlang版本25.1.1。
我对RabbitMQ很陌生,我无法启动RabbitMQ管理门户。我也启用了RabbitMQ管理插件。
在Stack Overflow、Google Groups和其他论坛上用各种建议搜索互联网,结果都失败了。
在日志文件中,我发现了很多错误,如下所示。
2022-11-07 11:50:09.594000+10:00 [error] <0.697.0>**Failed to start TCP listener [::]:5672**, error: {{shutdown,
2022-11-07 11:50:09.594000+10:00 [error] <0.697.0> {failed_to_start_child,
2022-11-07 11:50:09.594000+10:00 [error] <0.697.0> {ranch_embedded_sup,
2022-11-07 11:50:09.594000+10:00 [error] <0.697.0> {acceptor,
2022-11-07 11:50:09.594000+10:00 [error] <0.697.0> {0,0,0,0,0,0,0,0},
2022-11-07 11:50:09.594000+10:00 [error] <0.697.0> 5672}},
2022-11-07 11:50:09.594000+10:00 [error] <0.697.0> {shutdown,
2022-11-07 11:50:09.594000+10:00 [error] <0.697.0> {failed_to_start_child,
2022-11-07 11:50:09.594000+10:00 [error] <0.697.0> {ranch_listener_sup,
2022-11-07 11:50:09.594000+10:00 [error] <0.697.0> {acceptor,
2022-11-07 11:50:09.594000+10:00 [error] <0.697.0> {0,0,0,0,0,0,0,0},
2022-11-07 11:50:09.594000+10:00 [error] <0.697.0> 5672}},
2022-11-07 11:50:09.594000+10:00 [error] <0.697.0> {shutdown,
2022-11-07 11:50:09.594000+10:00 [error] <0.697.0> {failed_to_start_child,
2022-11-07 11:50:09.594000+10:00 [error] <0.704.0>**Failed to start Ranch listener {acceptor,{0,0,0,0,0,0,0,0},5672**} in ranch_tcp:listen(#{connection_type => supervisor,handshake_timeout => 5000,max_connections => infinity,num_acceptors => 10,num_conns_sups => 1,socket_opts => [{cacerts,'...'},{key,'...'},{cert,'...'},{ip,{0,0,0,0,0,0,0,0}},{port,5672},inet6,{backlog,128},{nodelay,true},{linger,{true,0}},{exit_on_close,false}]}) for reason eacces (permission denied)
=erl_crash_dump:0.5
Mon Nov 7 12:50:21 2022
Slogan: init terminating in do_boot**({error,{could_not_start_listener,::,5672,**{{shutdown,{_}},{child,undefined,rabbit_tcp_listener_sup_:::5672,{
我已经禁用了McAfee防火墙,我已经添加了端口5672到McAfee防火墙,重新安装RabbitMQ和Erlang应用程序至少10次,在Windows防火墙安全中打开了端口5672,尝试Docker图像,以及但我的3天的努力未能启动它。
我在这里附上了RabbitMQ和Erlang的日志文件,请提供您宝贵的建议。
1条答案
按热度按时间wnvonmuf1#
错误很明显:
来自Erlang文档:https://www.erlang.org/doc/man/file.html