启动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/[email protected]
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中找到WAL,使用find /var/lib/rabbitmq/ -name "*.wal"
并删除它。之后重新启动服务。