6
votes

I've run the Erlang and RabbitMQ installers "As Administrator". Both seem to have installed correctly. The RabbitMQ server is running. However, when I run any command line Rabbit commands (rabbitmqctl, rabbitmq-plugins enable rabbitmq_management, etc.), I get the following error message/dump. I obviously cannot access the Management Console or communicate with the service at all.

Any ideas on the below error and what could be causing this? I've installed on other Win10 machines before without any issues.

=SUPERVISOR REPORT==== 20-Jun-2018::10:08:39.865000 ===
supervisor: {local,'Elixir.Logger.Supervisor'}
errorContext: start_error
reason: noproc
offender: [{pid,undefined},
           {id,'Elixir.Logger.ErrorHandler'},
           {mfargs,
               {'Elixir.Logger.Watcher',start_link,
                   [{error_logger,'Elixir.Logger.ErrorHandler',
                        {true,false,500}}]}},
           {restart_type,permanent},
           {shutdown,5000},
           {child_type,worker}]
=CRASH REPORT==== 20-Jun-2018::10:08:39.865000 ===
  crasher:
   initial call: application_master:init/4
   pid: <0.80.0>
    registered_name: []
    exception exit: {{shutdown,
                         {failed_to_start_child,'Elixir.Logger.ErrorHandler',
                             noproc}},
                     {'Elixir.Logger.App',start,[normal,[]]}}
      in function  application_master:init/4 (application_master.erl, line 
138)
    ancestors: [<0.79.0>]
    message_queue_len: 1
    messages: [{'EXIT',<0.81.0>,normal}]
    links: [<0.79.0>,<0.42.0>]
    dictionary: []
   trap_exit: true
    status: running
    heap_size: 376
    stack_size: 27
    reductions: 193
  neighbours:
=CRASH REPORT==== 20-Jun-2018::10:08:39.865000 ===
  crasher:
    initial call: Elixir.Logger.Watcher:init/1
    pid: <0.87.0>
    registered_name: []
    exception exit: noproc
      in function  gen:do_for_proc/2 (gen.erl, line 228)
      in call from gen_event:rpc/2 (gen_event.erl, line 239)
      in call from 'Elixir.Logger.Watcher':init/1 (lib/logger/watcher.ex, 
line 23)
      in call from gen_server:init_it/2 (gen_server.erl, line 374)
      in call from gen_server:init_it/6 (gen_server.erl, line 342)
    ancestors: ['Elixir.Logger.Supervisor',<0.81.0>]
    message_queue_len: 0
    messages: []
    links: [<0.82.0>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 376
    stack_size: 27
    reductions: 254
  neighbours:
=INFO REPORT==== 20-Jun-2018::10:08:39.881000 ===
    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 
error: 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
2
I'm having the exact same issue. Already tried reinstalling the service on Windows as suggested on other questions but to no avail.CesarD
having the same issue.FrankDupree

2 Answers

13
votes

I also encountered this problem yesterday after installing the latest version of RabbitMQ onto a Windows 10 box. Finally found the cause this morning: It's related to the version of the Erlang OTP that I had installed (the latest - 21.0). Apparently the version of Elixir used by RabbitMQ has issues with this version of the Erlang OTP - at least that's the conclusion I came to after reading this thread here.

After uninstalling that erlang version, and installing version 19.3 from this page, I was able to use the RabbitMQ console commands without this error message being thrown every time. (I did however have to fix the ERLANG_HOME environment variable also... the uninstall/reinstall of erlang had for some reason left this pointing at the old (v21) folder which no longer existed.)

1
votes

I got a bonus error with erlang 19.3 :

λ rabbitmq-service install
C:\Programs\erl8.3\erts-8.3\bin\erlsrv: Service RabbitMQ added to system.
bad "MBa" value: ageffcbf
Usage: beam.smp.dll [flags] [ -- [init_args] ]

However the service installed and started successfully with no side effects so far.