无法执行插件启用命令RabbitMQ

时间:2018-07-09 09:04:18

标签: rabbitmq

我在Windows 7上安装了Erlang和RabbitMQ。RabbitMQ服务正在运行。但是,当我尝试执行plugin enable命令时,出现错误

=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

1 个答案:

答案 0 :(得分:0)

您正在使用3.7.7之前的Erlang 21版本的RabbitMQ。这不受支持,并且在此处明确记录:https://www.rabbitmq.com/which-erlang.html

解决方案:升级到RabbitMQ 3.7.7或将Erlang降级到版本20.3。

此外,您可以通过以下文字搜索Google来自己找到答案:

rabbitmq "Elixir.Logger.ErrorHandler"

注意: RabbitMQ团队监视the rabbitmq-users mailing list,并且有时仅在StackOverflow上回答问题。