我在Windows 7上安装了Erlang和RabbitMQ。RabbitMQ服务正在运行。但是当我尝试执行插件启用命令时,出现以下错误
=SUPERVISOR REPORT==== 9-Jul-2018::14:14:46.134000 ===
supervisor: {local,'Elixir.Logger.Supervisor'}
errorContext: start_error
=INFO REPORT==== 9-Jul-2018::14:14:46.149000 ===
application: logger
exited: {{shutdown,
{failed_to_start_child,'Elixir.Logger.ErrorHandler',noproc}},
{'Elixir.Logger.App',start,[normal,[]]}}
type: temporary
Could not start application logger: Logger.App.start(:normal, []) returned an er
ror: shutdown: failed to start child: Logger.ErrorHandler
** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started
您正在使用
3.7.7
之前的 RabbitMQ 版本与 Erlang 21。这不受支持,并在此处明确记录:https://www.rabbitmq.com/which-erlang.html
解决方案:升级到RabbitMQ
3.7.7
或将Erlang降级到20.3版本。
此外,您可以通过使用以下文本搜索 Google 自己找到答案:
rabbitmq "Elixir.Logger.ErrorHandler"