Broker crashes. What is this 'Elixir.Logger.ErrorHandler'?

1,989 views
Skip to first unread message

Rodrigo Pimenta Carvalho

unread,
Jun 20, 2018, 10:52:04 AM6/20/18
to rabbitm...@googlegroups.com

Hi.


I'm seeing the following error while executing the broker. Is it a kind of logger issue?

Is there a known solution and procedure to do?

Any hint will be very helpful!

-----------------------------------------------------------------------------------------------------------------------

> sudo rabbitmqctl start_app

=SUPERVISOR REPORT==== 20-Jun-2018::11:19:04.690346 ===
    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::11:19:04.715836 ===
  crasher:
    initial call: application_master:init/4
    pid: <0.82.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.81.0>]
    message_queue_len: 1
    messages: [{'EXIT',<0.83.0>,normal}]
    links: [<0.81.0>,<0.42.0>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 376
    stack_size: 27
    reductions: 193
  neighbours:
 
=CRASH REPORT==== 20-Jun-2018::11:19:04.690288 ===
  crasher:
    initial call: Elixir.Logger.Watcher:init/1
    pid: <0.89.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.83.0>]
    message_queue_len: 0
    messages: []
    links: [<0.84.0>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 376
    stack_size: 27
    reductions: 254
  neighbours:
 
=INFO REPORT==== 20-Jun-2018::11:19:04.719941 ===
    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
-------------------------------------------------------


Best regards.


RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph: +55 35 3471 9200 RAMAL 979

Michael Klishin

unread,
Jun 20, 2018, 11:32:09 AM6/20/18
to rabbitm...@googlegroups.com
You must be running on ErlangOTP 21. The only version that supports it at the moment is 3.7.7-beta.2 [1].

Elixir is a programming language that RabbitMQ CLI tools use. The only Elixir version that runs on Erlang 21 is 1.6.5,
and 3.7.7 will be the first RabbitMQ release compiled with it.

The docs clearly state it is not an Erlang version RabbitMQ supports right now [2].


--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
MK

Staff Software Engineer, Pivotal/RabbitMQ

Rodrigo Pimenta Carvalho

unread,
Jun 20, 2018, 12:49:18 PM6/20/18
to rabbitm...@googlegroups.com

Ok.


Thank you very much !!!




RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph: +55 35 3471 9200 RAMAL 979



De: rabbitm...@googlegroups.com <rabbitm...@googlegroups.com> em nome de Rodrigo Pimenta Carvalho <pim...@inatel.br>
Enviado: quarta-feira, 20 de junho de 2018 11:51
Para: rabbitm...@googlegroups.com
Assunto: [rabbitmq-users] Broker crashes. What is this 'Elixir.Logger.ErrorHandler'?
 
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.

sworup lenka

unread,
Jun 25, 2018, 12:27:16 AM6/25/18
to rabbitmq-users
Hi,

to set up rabbit mq.

I see the below message after running the command 'rabbitmq-plugins.bat enable rabbitmq_management'
Need your help in fixing this.

*********************************

=SUPERVISOR REPORT==== 25-Jun-2018::09:39:29.969000 ===
    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==== 25-Jun-2018::09:39:29.969000 ===
  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:

=CRASH REPORT==== 25-Jun-2018::09:39:29.969000 ===
  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:

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

******************************************
Thanks
Sworup

Michael Klishin

unread,
Jun 25, 2018, 6:35:18 AM6/25/18
to rabbitm...@googlegroups.com
The post earlier in this thread explains what's going on: you are running on Erlang/OTP 21, which
no GA RabbitMQ version is currently compatible with.

Install 20.3.x instead.

We've already submitted a 3.7.6 package to Chocolatey with a locked down Erlang dependency range.
It's under review (which can take from a day to weeks).

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Michael Klishin

unread,
Jun 25, 2018, 6:45:36 AM6/25/18
to rabbitm...@googlegroups.com
The list of supported versions can be found in the docs [1].


To post to this group, send email to rabbitm...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
--
MK

Staff Software Engineer, Pivotal/RabbitMQ
Reply all
Reply to author
Forward
0 new messages