rabbitmq启动失败(BOOT FAILED)

来源:互联网 发布:linux sys 编辑:程序博客网 时间:2024/04/30 11:42

之前启动正常的rabbitmq, 今天再次启动时, 居然报错了, 错误信息如下:

$ rabbitmq-server              RabbitMQ 3.6.6. Copyright (C) 2007-2016 Pivotal Software, Inc.  ##  ##      Licensed under the MPL.  See http://www.rabbitmq.com/  ##  ##  ##########  Logs: /Applications/Coding/rabbitmq/var/log/rabbitmq/rabbit@newbie.log  ######  ##        /Applications/Coding/rabbitmq/var/log/rabbitmq/rabbit@newbie-sasl.log  ##########              Starting broker...BOOT FAILED===========Error description:   {could_not_start,rabbit,       {undef,           [{crypto,module_info,[attributes],[]},            {rabbit_misc,module_attributes,1,                [{file,"src/rabbit_misc.erl"},{line,798}]},            {rabbit_misc,'-all_module_attributes/1-fun-0-',3,                [{file,"src/rabbit_misc.erl"},{line,818}]},            {lists,foldl,3,[{file,"lists.erl"},{line,1261}]},            {rabbit_boot_steps,find_steps,1,                [{file,"src/rabbit_boot_steps.erl"},{line,40}]},            {rabbit_boot_steps,run_boot_steps,1,                [{file,"src/rabbit_boot_steps.erl"},{line,26}]},            {rabbit,start,2,[{file,"src/rabbit.erl"},{line,687}]},            {application_master,start_it_old,4,                [{file,"application_master.erl"},{line,272}]}]}}Log files (may contain more information):   /Applications/Coding/rabbitmq/var/log/rabbitmq/rabbit@newbie.log   /Applications/Coding/rabbitmq/var/log/rabbitmq/rabbit@newbie-sasl.log{"init terminating in do_boot",{could_not_start,rabbit,{undef,[{crypto,module_info,[attributes],[]},{rabbit_misc,module_attributes,1,[{file,"src/rabbit_misc.erl"},{line,798}]},{rabbit_misc,'-all_module_attributes/1-fun-0-',3,[{file,"src/rabbit_misc.erl"},{line,818}]},{lists,foldl,3,[{file,"lists.erl"},{line,1261}]},{rabbit_boot_steps,find_steps,1,[{file,"src/rabbit_boot_steps.erl"},{line,40}]},{rabbit_boot_steps,run_boot_steps,1,[{file,"src/rabbit_boot_steps.erl"},{line,26}]},{rabbit,start,2,[{file,"src/rabbit.erl"},{line,687}]},{application_master,start_it_old,4,[{file,"application_master.erl"},{line,272}]}]}}}Crash dump was written to: erl_crash.dumpinit terminating in do_boot ()
折腾一番, 发现是erlang没有装好, 之前重新安装过homebrew, 怀疑是之前被我卸载掉了

重新安装erlang

$ brew install erlangUpdating Homebrew...==> Installing dependencies for erlang: openssl, jpeg, libpng, libtiff, wxmac==> Installing erlang dependency: openssl==> Downloading https://homebrew.bintray.com/bottles/openssl-1.0.2k.el_capitan.bottle.tar.gz######################################################################## 100.0%==> Pouring openssl-1.0.2k.el_capitan.bottle.tar.gz==> Using the sandbox==> CaveatsA CA file has been bootstrapped using certificates from the SystemRootskeychain. To add additional certificates (e.g. the certificates added inthe System keychain), place .pem files in  /usr/local/etc/openssl/certsand run  /usr/local/opt/openssl/bin/c_rehashThis formula is keg-only, which means it was not symlinked into /usr/local.Apple has deprecated use of OpenSSL in favor of its own TLS and crypto librariesIf you need to have this software first in your PATH run:  echo 'export PATH="/usr/local/opt/openssl/bin:$PATH"' >> ~/.bash_profileFor compilers to find this software you may need to set:    LDFLAGS:  -L/usr/local/opt/openssl/lib    CPPFLAGS: -I/usr/local/opt/openssl/include==> Summary

0 0
原创粉丝点击