gpt4 book ai didi

python - 很难启动 Rabbitmq Server 并想知道为什么不断收到此错误 init :do_boot/3 line 817

转载 作者:行者123 更新时间:2023-12-03 20:10:13 24 4
gpt4 key购买 nike

当我启动 Rabbitmq 并想知道出了什么问题时,我不断收到此错误?

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

Error description:
init:do_boot/3 line 817
init:start_em/1 line 1109
rabbit:start_it/1 line 474
rabbit:broker_start/1 line 350
rabbit:start_loaded_apps/2 line 600
app_utils:manage_applications/6 line 126
lists:foldl/3 line 1263
rabbit:'-handle_app_error/1-fun-0-'/3 line 723
throw:{could_not_start,ra,
{ra,
{{shutdown,
{failed_to_start_child,ra_system_sup,
{shutdown,
{failed_to_start_child,ra_log_sup,
{shutdown,
{failed_to_start_child,ra_log_wal_sup,
{shutdown,
{failed_to_start_child,ra_log_wal,
{{case_clause,{ok,<<0,0,0,0,0>>}},
[{ra_log_wal,open_existing,1,
[{file,"src/ra_log_wal.erl"},{line,646}]},
{ra_log_wal,'-recover_wal/2-lc$^0/1-0-',1,
[{file,"src/ra_log_wal.erl"},{line,265}]},
{ra_log_wal,recover_wal,2,
[{file,"src/ra_log_wal.erl"},{line,268}]},
{ra_log_wal,init,1,
[{file,"src/ra_log_wal.erl"},{line,214}]},
{gen_batch_server,init_it,6,
[{file,"src/gen_batch_server.erl"},{line,133}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,249}]}]}}}}}}}}},
{ra_app,start,[normal,[]]}}}}
Log file(s) (may contain more information):
C:/Users/AIMLExpert/AppData/Roaming/RabbitMQ/log/rabbit@DESKTOP-N0Q3S7C.log
C:/Users/AIMLExpert/AppData/Roaming/RabbitMQ/log/rabbit@DESKTOP-N0Q3S7C_upgrade.log

{"init terminating in do_boot",{could_not_start,ra,{ra,{{shutdown,{failed_to_start_child,ra_system_sup,{shutdown,{failed_to_start_child,ra_log_sup,{shutdown,{failed_to_start_child,ra_log_wal_sup,{shutdown,{failed_to_start_child,ra_log_wal,{{case_clause,{ok,<<0,0,0,0,0>>}},[{ra_log_wal,open_existing,1,[{file,"src/ra_log_wal.erl"},{line,646}]},{ra_log_wal,'-recover_wal/2-lc$^0/1-0-',1,[{file,"src/ra_log_wal.erl"},{line,265}]},{ra_log_wal,recover_wal,2,[{file,"src/ra_log_wal.erl"},{line,268}]},{ra_log_wal,init,1,[{file,"src/ra_log_wal.erl"},{line,214}]},{gen_batch_server,init_it,6,[{file,"src/gen_batch_server.erl"},{line,133}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,249}]}]}}}}}}}}},{ra_app,start,[normal,[]]}}}}}
init terminating in do_boot ({could_not_start,ra,{ra,{{shutdown,{_}},{ra_app,start,[_]}}}})

Crash dump is being written to: C:\Users\AIMLExpert\AppData\Roaming\RabbitMQ\log\erl_crash.dump...done

是什么导致此错误?我尝试重新启动命令行,但仍然收到错误消息。

最佳答案

由于崩溃转储,我在 Arch Linux 上遇到了同样的问题。它在日志中说它在恢复大小为 0 字节的 WAL 文件时遇到问题。
删除 WAL 文件后,服​​务启动。
使用以下命令在/var/lib/rabbitmq/mnesia 中找到 WALfind /var/lib/rabbitmq/ -name "*.wal"并将其删除。
之后重启服务。

关于python - 很难启动 Rabbitmq Server 并想知道为什么不断收到此错误 init :do_boot/3 line 817,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60488824/

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