2017-02-09 61 views
0

我试图安装Rabbit MQ,并且在运行时发生错误rabbitmq-server“init在do_boot中终止”Windows 10 Rabbit MQ无法启动

接在误差:

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()

回答

0

我有这个问题too.And我通过下面的解决了这个问题:

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

    RABBITMQ_BASE This base directory contains sub-directories for the RabbitMQ server's database and log files. Alternatively, set RABBITMQ_MNESIA_BASE and RABBITMQ_LOG_BASE individually.

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

希望这个答案将有助于您。