接口测试 win10 下搭建 HttpRunnerManager 平台,启动 rabbitmq-server.bat 报错,不知道是啥原因导致的

大海 · 2018年09月19日 · 最后由 Sutune 回复于 2018年09月19日 · 2743 次阅读

启动 rabbitMQ 服务失败,这是啥原因导致的?
erlang: otp_win64_19.3.exe

rabbitMQ: rabbitmq-server-3.7.7.exe

打开 sbin 目录,双击 rabbitmq-server.bat,报错了

2018-09-19 15:49:21 =CRASH REPORT====
  crasher:
    initial call: application_master:init/4
    pid: <0.192.0>
    registered_name: []
    exception exit: {{bad_return,{{rabbit,start,[normal,[]]},{'EXIT',{badarg,[{io,format,[<0.192.0>,"~n  ##  ##~n  ##  ##      ~s ~s. ~s~n  ##########  ~s~n  ######  ##~n  ##########  Logs: ~s~n                    ~s~n~n              Starting broker...~n",["RabbitMQ","3.7.7","Copyright (C) 2007-2018 Pivotal Software, Inc.","Licensed under the MPL.  See http://www.rabbitmq.com/",[67,58,47,85,115,101,114,115,47,23567,31859,31508,126,49,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,23567,31859,31508,126,49,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,114,97,98,98,105,116,64,119,111,111,100,119,111,114,109,95,117,112,103,114,97,100,101,46,108,111,103]]],[]},{rabbit,start,2,[{file,"src/rabbit.erl"},{line,801}]},{application_master,start_it_old,4,[{file,"application_master.erl"},{line,273}]}]}}}},[{application_master,init,4,[{file,"application_master.erl"},{line,134}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]}
    ancestors: [<0.191.0>]
    messages: [{'EXIT',<0.193.0>,normal}]
    links: [<0.191.0>,<0.31.0>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 2586
    stack_size: 27
    reductions: 98
  neighbours:
2018-09-19 15:49:43 =CRASH REPORT====
  crasher:
    initial call: application_master:init/4
    pid: <0.192.0>
    registered_name: []
    exception exit: {{bad_return,{{rabbit,start,[normal,[]]},{'EXIT',{badarg,[{io,format,[<0.192.0>,"~n  ##  ##~n  ##  ##      ~s ~s. ~s~n  ##########  ~s~n  ######  ##~n  ##########  Logs: ~s~n                    ~s~n~n              Starting broker...~n",["RabbitMQ","3.7.7","Copyright (C) 2007-2018 Pivotal Software, Inc.","Licensed under the MPL.  See http://www.rabbitmq.com/",[67,58,47,85,115,101,114,115,47,23567,31859,31508,126,49,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,23567,31859,31508,126,49,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,114,97,98,98,105,116,64,119,111,111,100,119,111,114,109,95,117,112,103,114,97,100,101,46,108,111,103]]],[]},{rabbit,start,2,[{file,"src/rabbit.erl"},{line,801}]},{application_master,start_it_old,4,[{file,"application_master.erl"},{line,273}]}]}}}},[{application_master,init,4,[{file,"application_master.erl"},{line,134}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]}
    ancestors: [<0.191.0>]
    messages: [{'EXIT',<0.193.0>,normal}]
    links: [<0.191.0>,<0.31.0>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 2586
    stack_size: 27
    reductions: 98
  neighbours:

如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!
共收到 15 条回复 时间 点赞

安装 rabbitmq 前需要先安装erlang,你是否安装了呢?另外可以参考这个文章:Win10 环境 HttpRunnerManager 实践

Sutune 回复

都安装好了,文章里贴图了。

安装完成后如下图如所示,选中 RabbitMQ Service -start 然后以管理员身份运行。

@yinquanwang 能不能帮忙一起看看

大海 回复

你这个是不是没有安装好啊?你卸载干净重新安装试试。

Sutune 回复

已经卸载过又再次安装了

你的 ERLANG_HOME 配置错了

arrow 回复

应该是 D:\Program Files\erl8.3\erts-8.3

arrow 回复

我修改下试试看


刚刚在网上查了下,好像还要配一个ERLANG_SERVICE_MANAGER_PATH = %ERLANG_HOME%\erts-8.3\bin

大海 #11 · 2018年09月19日 Author
arrow 回复


搞个虚拟机把,版本高点的 linux 发型版,用 docker 两条命令搞定,在 windows 上较啥劲呢

Sutune 回复

这个链接文档真详细啊,楼主自己记录的么

大海 回复

明天看下吧

尹全旺 回复

是的。😄

需要 登录 后方可回复, 如果你还没有账号请点击这里 注册