“init终止于do_boot”Windows 10 Rabbit MQ无法启动

时间:2017-02-09 13:22:56

标签: windows rabbitmq

我尝试安装Rabbit MQ并在运行rabbitmq-server时出错。

遵循错误:

enter image description here

我的安装环境是erl 8.1和r abbitmq-server-windows-3.6.6。操作系统为Windows 10(64x)

{"init terminating in do_boot",{badarg,[{io,format,[<0.53.0>,"~n~nBOOT FAILED~n===========~n~nError description:~n   ~p~n~nLog files (may contain more information):~n   ~s~n   ~s~n~n",[{could_not_start,rabbit,{badarg,[{io,format,[<0.135.0>,"~n              ~s ~s. ~s~n  ##  ##      ~s~n  ##  ##~n  ##########  Logs: ~s~n  ######  ##        ~s~n  ##########~n              Starting broker...~n",["RabbitMQ","3.6.6","Copyright (C) 2007-2016 Pivotal Software, Inc.","Licensed under the MPL.  See http://www.rabbitmq.com/",[67,58,47,85,115,101,114,115,47,27494,24198,36229,47,65,112,112,68,97,116,97,47,82,111,97,109,105,110,103,47,82,97,98,98,105,116,77,81,47,108,111,103,47,82,65,66,66,73,84,126,49,46,76,79,71],[67,58,47,85,115,101,114,115,47,27494,24198,36229,47,65,112,112,68,97,116,97,47,82,111,97,109,105,110,103,47,82,97,98,98,105,116,77,81,47,108,111,103,47,82,65,66,66,73,84,126,50,46,76,79,71]]],[]},{rabbit,start,2,[{file,"src/rabbit.erl"},{line,683}]},{application_master,start_it_old,4,[{file,"application_master.erl"},{line,273}]}]}},[67,58,47,85,115,101,114,115,47,27494,24198,36229,47,65,112,112,68,97,116,97,47,82,111,97,109,105,110,103,47,82,97,98,98,105,116,77,81,47,108,111,103,47,82,65,66,66,73,84,126,49,46,76,79,71],[67,58,47,85,115,101,114,115,47,27494,24198,36229,47,65,112,112,68,97,116,97,47,82,111,97,109,105,110,103,47,82,97,98,98,105,116,77,81,47,108,111,103,47,82,65,66,66,73,84,126,50,46,76,79,71]]],[]},{rabbit,log_boot_error_and_exit,3,[{file,"src/rabbit.erl"},{line,742}]},{rabbit,start_it,1,[{file,"src/rabbit.erl"},{line,407}]},{init,start_em,1,[{file,"init.erl"},{line,1076}]},{init,do_boot,3,[{file,"init.erl"},{line,784}]}]}}

init终止于do_boot ()

1 个答案:

答案 0 :(得分:0)

我也有这个问题。我通过以下方式解决了这个问题:

  1. 检查RabbitMQ和Erlang的所有路径都没有非ASCII字符;
  2. 通过将RABBITMQ_BASE环境变量设置为this,确保RabbitMQ的所有文件位置都没有非ASCII字符:
      

    RABBITMQ_BASE此基本目录包含RabbitMQ服务器的数据库和日志文件的子目录。或者,分别设置RABBITMQ_MNESIA_BASE和RABBITMQ_LOG_BASE。

  3. 根据rabbitmq-env.batREM Make sure $RABBITMQ_BASE contains no non-ASCII characters.

    希望这个答案能帮到你。