我使用
在我的ubuntu系统上安装了Rabbitmqsudo apt-get install rabbitmq-server
但是,rabbitmq服务无法运行,并且在启动时失败,并显示以下错误。
Dec 14 15:17:07 dhivara rabbitmq-server[14118]: BOOT FAILED Dec 14 15:17:07 dhivara rabbitmq-server[14118]: =========== Dec 14 15:17:07 dhivara rabbitmq-server[14118]: Error description: Dec 14 15:17:07 dhivara rabbitmq-server[14118]: noproc Dec 14 15:17:07 dhivara rabbitmq-server[14118]: Log files (may contain more information): Dec 14 15:17:07 dhivara rabbitmq-server[14118]: /var/log/rabbitmq/rabbit@dhivara.log Dec 14 15:17:07 dhivara rabbitmq-server[14118]: /var/log/rabbitmq/rabbit@dhivara-sasl.log Dec 14 15:17:07 dhivara rabbitmq-server[14118]: Stack trace: Dec 14 15:17:07 dhivara rabbitmq-server[14118]: [{gen,do_for_proc,2,[{file,"gen.erl"},{line,228}]}, Dec 14 15:17:07 dhivara rabbitmq-server[14118]: {gen_event,rpc,2,[{file,"gen_event.erl"},{line,239}]}, Dec 14 15:17:07 dhivara rabbitmq-server[14118]: {rabbit,ensure_working_log_handlers,0, Dec 14 15:17:07 dhivara rabbitmq-server[14118]: [{file,"src/rabbit.erl"},{line,856}]}, Dec 14 15:17:07 dhivara rabbitmq-server[14118]: {rabbit,'-boot/0-fun-0-',0,[{file,"src/rabbit.erl"},{line,288}]}, Dec 14 15:17:07 dhivara rabbitmq-server[14118]: {rabbit,start_it,1,[{file,"src/rabbit.erl"},{line,424}]}, Dec 14 15:17:07 dhivara rabbitmq-server[14118]: {init,start_em,1,[]}, Dec 14 15:17:07 dhivara rabbitmq-server[14118]: {init,do_boot,3,[]}] Dec 14 15:17:07 dhivara rabbitmq-server[14118]: =INFO REPORT==== 14-Dec-2018::15:17:07.060162 === Dec 14 15:17:07 dhivara rabbitmq-server[14118]: Error description: Dec 14 15:17:07 dhivara rabbitmq-server[14118]: noproc Dec 14 15:17:07 dhivara rabbitmq-server[14118]: Log files (may contain more information): Dec 14 15:17:07 dhivara rabbitmq-server[14118]: /var/log/rabbitmq/rabbit@dhivara.log Dec 14 15:17:07 dhivara rabbitmq-server[14118]: /var/log/rabbitmq/rabbit@dhivara-sasl.log Dec 14 15:17:07 dhivara rabbitmq-server[14118]: Stack trace: Dec 14 15:17:07 dhivara rabbitmq-server[14118]: [{gen,do_for_proc,2,[{file,"gen.erl"},{line,228}]}, Dec 14 15:17:07 dhivara rabbitmq-server[14118]: {gen_event,rpc,2,[{file,"gen_event.erl"},{line,239}]}, Dec 14 15:17:07 dhivara rabbitmq-server[14118]: {rabbit,ensure_working_log_handlers,0, Dec 14 15:17:07 dhivara rabbitmq-server[14118]: [{file,"src/rabbit.erl"},{line,856}]}, Dec 14 15:17:07 dhivara rabbitmq-server[14118]: {rabbit,'-boot/0-fun-0-',0,[{file,"src/rabbit.erl"},{line,288}]}, Dec 14 15:17:07 dhivara rabbitmq-server[14118]: {rabbit,start_it,1,[{file,"src/rabbit.erl"},{line,424}]}, Dec 14 15:17:07 dhivara rabbitmq-server[14118]: {init,start_em,1,[]}, Dec 14 15:17:07 dhivara rabbitmq-server[14118]: {init,do_boot,3,[]}] Dec 14 15:17:08 dhivara rabbitmq-server[14118]: {"init terminating in do_boot",noproc} Dec 14 15:17:08 dhivara rabbitmq-server[14118]: init terminating in do_boot (noproc) Dec 14 15:17:08 dhivara rabbitmq-server[14118]: [1B blob data] Dec 14 15:17:08 dhivara rabbitmq-server[14118]: Crash dump is being written to: erl_crash.dump...done Dec 14 15:17:08 dhivara systemd[1]: rabbitmq-server.service: Main process exited, code=exited, status=1/FAILURE Dec 14 15:17:08 dhivara systemd[1]: rabbitmq-server.service: Failed with result 'exit-code'. Dec 14 15:17:08 dhivara systemd[1]: Failed to start RabbitMQ broker.
关于如何调试的任何提示?没有日志正在生成,这是唯一的错误。