问答详情
源自:1-3 RabbitMQ安装与使用

启动报错!

启动报错!而且日志文件也没有生成,老师能帮我看下吗?


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

提问者:奔跑滴猴子 2019-01-29 16:31

个回答

  • 慕运维8757289
    2019-03-08 20:49:56

    权限问题, sudo一下即可~

  • qq_望风的蜗牛_03753222
    2019-01-30 14:42:29

    1. 可能是erl版本不对,

    2. /var/log/rabbitmq/ 这个目录下的两个日志文件的 用户和组 设定成rabbitmq  

    3. chmod -R rabbitmq:rabbitmq /var/log/rabbitmq/