0

我使用 Debian 10 在 Lightsail 实例上重新安装了 RabbitMQ。service rabbitmq-server status两人rabbit-diagnostics status都说一切都很好。

之后sudo rabbitmq-plugins enable rabbitmq_management,我尝试连接,但端口没有被监听。

我在这里放了一个配置/etc/rabbitmq/rabbitmq.conf并输入;management.listener.port = 15672后来management.tcp.port = 15672

服务器不会重新启动,所以我删除了这些条目并/etc/rabbitmq/rabbitmq.conf留空,但现在它仍然无法启动。

startupstartup_err日志都是空的。

我在下面包含了崩溃日志,但我不知道它在说什么关于 do_boot。

我的 .conf 中需要什么才能正确让 rabbitq_management 监听该端口,以及如何让服务器再次运行?

Slogan: init terminating in do_boot ({undef,[{erlang,get_stacktrace,[],[]},{rabbit,boot_error,2,[{_},{_}]},{rabbit,start_it,1,[{_},{_}]},{init,start_em,1,[]},{init,do_boot,3,[]}]})
System version: Erlang/OTP 24 [erts-12.0.3] [source] [64-bit] [smp:1:1] [ds:1:1:10] [async-threads:64] [jit]
Compiled: Fri Jul 30 09:55:37 2021
Taints: crypto,asn1rt_nif
Atoms: 40569
Calling Thread: scheduler:1
=scheduler:1
Scheduler Sleep Info Flags:
Scheduler Sleep Info Aux Work: DELAYED_AW_WAKEUP | THR_PRGR_LATER_OP | MISC_THR_PRGR
Current Port:
Run Queue Max Length: 0
Run Queue High Length: 0
Run Queue Normal Length: 1
Run Queue Low Length: 0
Run Queue Port Length: 0
Run Queue Flags: NONEMPTY_NORMAL | OUT_OF_WORK | HALFTIME_OUT_OF_WORK | NONEMPTY | EXEC
Current Process: <0.0.0>
Current Process State: Running
Current Process Internal State: ACT_PRIO_NORMAL | USR_PRIO_NORMAL | PRQ_PRIO_NORMAL | ACTIVE | RUNNING | ACTIVE_SYS
Current Process Program counter: 0x00007fd3e3213ae0 (init:boot_loop/2 + 96)
Current Process Limited Stack Trace:
0x00007fd3e5c56100:SReturn addr 0xE327FC50 (erlang:halt/1 + 144)
0x00007fd3e5c56118:SReturn addr 0xE320C940 (<terminate process normally>)
0x00007fd3e5c56120:SReturn addr 0xE320C940 (<terminate process normally>)
=dirty_cpu_scheduler:2
Scheduler Sleep Info Flags: SLEEPING | TSE_SLEEPING | WAITING
Scheduler Sleep Info Aux Work:
Current Process:
=dirty_cpu_run_queue
Run Queue Max Length: 0
Run Queue High Length: 0
Run Queue Normal Length: 0
Run Queue Low Length: 0
Run Queue Port Length: 0```
4

0 回答 0