启动报错!而且日志文件也没有生成,老师能帮我看下吗?
BOOT FAILED
===========
Error description:
noproc
Log files (may contain more information):
/var/log/rabbitmq/rabbit@izuf676tpj6wh2qnr2xfwwz.log
/var/log/rabbitmq/rabbit@izuf676tpj6wh2qnr2xfwwz-sasl.log
Stack trace:
[{gen,do_for_proc,2,[{file,"gen.erl"},{line,228}]},
{gen_event,rpc,2,[{file,"gen_event.erl"},{line,239}]},
{rabbit,ensure_working_log_handlers,0,
[{file,"src/rabbit.erl"},{line,788}]},
{rabbit,'-boot/0-fun-0-',0,[{file,"src/rabbit.erl"},{line,268}]},
{rabbit,start_it,1,[{file,"src/rabbit.erl"},{line,403}]},
{init,start_em,1,[]},
{init,do_boot,3,[]}]
=INFO REPORT==== 29-Jan-2019::16:24:28.797622 ===
Error description:
noproc
Log files (may contain more information):
/var/log/rabbitmq/rabbit@izuf676tpj6wh2qnr2xfwwz.log
/var/log/rabbitmq/rabbit@izuf676tpj6wh2qnr2xfwwz-sasl.log
Stack trace:
[{gen,do_for_proc,2,[{file,"gen.erl"},{line,228}]},
{gen_event,rpc,2,[{file,"gen_event.erl"},{line,239}]},
{rabbit,ensure_working_log_handlers,0,
[{file,"src/rabbit.erl"},{line,788}]},
{rabbit,'-boot/0-fun-0-',0,[{file,"src/rabbit.erl"},{line,268}]},
{rabbit,start_it,1,[{file,"src/rabbit.erl"},{line,403}]},
{init,start_em,1,[]},
{init,do_boot,3,[]}]
{"init terminating in do_boot",noproc}
init terminating in do_boot (noproc)
Crash dump is being written to: erl_crash.dump...done
权限问题, sudo一下即可~
可能是erl版本不对,
/var/log/rabbitmq/ 这个目录下的两个日志文件的 用户和组 设定成rabbitmq
chmod -R rabbitmq:rabbitmq /var/log/rabbitmq/