Skip to content

Instantly share code, notes, and snippets.

@mnussbaum
Created April 10, 2017 16:34
Show Gist options
  • Save mnussbaum/36dd34131c851efdc93cd075a741b25f to your computer and use it in GitHub Desktop.
Save mnussbaum/36dd34131c851efdc93cd075a741b25f to your computer and use it in GitHub Desktop.
docker-rabbitmq error
Starting RabbitMQ 3.6.9 on Erlang 19.3
Copyright (C) 2007-2016 Pivotal Software, Inc.
Licensed under the MPL. See http://www.rabbitmq.com/
=INFO REPORT==== 10-Apr-2017::16:29:29 ===
node : rabbit@00e0a125d51b
home dir : /var/lib/rabbitmq
config file(s) : /etc/rabbitmq/rabbitmq.config
cookie hash : 1t0KVAv3Q+HO5Po33rBv9A==
log : tty
sasl log : tty
database dir : /var/lib/rabbitmq/mnesia/rabbit@00e0a125d51b
=INFO REPORT==== 10-Apr-2017::16:29:31 ===
Memory limit set to 0MB of 30210MB total.
=INFO REPORT==== 10-Apr-2017::16:29:31 ===
vm_memory_high_watermark set. Memory used:64831856 allowed:0
=INFO REPORT==== 10-Apr-2017::16:29:31 ===
Disk free limit set to 50MB
=INFO REPORT==== 10-Apr-2017::16:29:31 ===
Limiting to approx 65436 file handles (58890 sockets)
=INFO REPORT==== 10-Apr-2017::16:29:31 ===
FHC read buffering: OFF
FHC write buffering: ON
=ERROR REPORT==== 10-Apr-2017::16:29:31 ===
** gen_event handler rabbit_alarm crashed.
** Was installed in rabbit_alarm
** Last event was: {set_alarm,{{resource_limit,memory,rabbit@00e0a125d51b},
[]}}
** When handler state == {alarms,
{dict,0,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],
[],[]},
{{[],[],[],[],[],[],[],[],[],[],[],[],[],[],
[],[]}}},
{dict,0,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],
[],[]},
{{[],[],[],[],[],[],[],[],[],[],[],[],[],[],
[],[]}}},
[]}
** Reason == {badarg,[{gen_event,send,2,[{file,"gen_event.erl"},{line,227}]},
{rabbit_alarm,handle_event,2,
[{file,"src/rabbit_alarm.erl"},
{line,134}]},
{gen_event,server_update,4,
[{file,"gen_event.erl"},{line,533}]},
{gen_event,server_notify,4,
[{file,"gen_event.erl"},{line,515}]},
{gen_event,handle_msg,5,
[{file,"gen_event.erl"},{line,256}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,247}]}]}
=INFO REPORT==== 10-Apr-2017::16:29:31 ===
Database directory at /var/lib/rabbitmq/mnesia/rabbit@00e0a125d51b is empty. Initialising from scratch...
=INFO REPORT==== 10-Apr-2017::16:29:31 ===
application: mnesia
exited: stopped
type: temporary
=INFO REPORT==== 10-Apr-2017::16:29:31 ===
Waiting for Mnesia tables for 30000 ms, 9 retries left
=INFO REPORT==== 10-Apr-2017::16:29:31 ===
Waiting for Mnesia tables for 30000 ms, 9 retries left
=INFO REPORT==== 10-Apr-2017::16:29:31 ===
Waiting for Mnesia tables for 30000 ms, 9 retries left
=INFO REPORT==== 10-Apr-2017::16:29:31 ===
Priority queues enabled, real BQ is rabbit_variable_queue
=INFO REPORT==== 10-Apr-2017::16:29:31 ===
Starting rabbit_node_monitor
=CRASH REPORT==== 10-Apr-2017::16:29:31 ===
crasher:
initial call: rabbit_memory_monitor:init/1
pid: <0.347.0>
registered_name: []
exception exit: {badarg,
[{lists,member,[disk,{error,bad_module}],[]},
{rabbit_memory_monitor,init,1,
[{file,"src/rabbit_memory_monitor.erl"},
{line,121}]},
{gen_server2,init_it,6,
[{file,"src/gen_server2.erl"},{line,554}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,247}]}]}
in function gen_server2:init_it/6 (src/gen_server2.erl, line 597)
ancestors: [rabbit_memory_monitor_sup,rabbit_sup,<0.138.0>]
messages: []
links: [<0.346.0>,<0.147.0>]
dictionary: []
trap_exit: false
status: running
heap_size: 610
stack_size: 27
reductions: 166
neighbours:
=SUPERVISOR REPORT==== 10-Apr-2017::16:29:31 ===
Supervisor: {local,rabbit_memory_monitor_sup}
Context: start_error
Reason: {badarg,
[{lists,member,[disk,{error,bad_module}],[]},
{rabbit_memory_monitor,init,1,
[{file,"src/rabbit_memory_monitor.erl"},{line,121}]},
{gen_server2,init_it,6,
[{file,"src/gen_server2.erl"},{line,554}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,247}]}]}
Offender: [{pid,undefined},
{name,rabbit_memory_monitor},
{mfargs,{rabbit_memory_monitor,start_link,[]}},
{restart_type,transient},
{shutdown,30000},
{child_type,worker}]
stack_size: 27
reductions: 98
neighbours:
=INFO REPORT==== 10-Apr-2017::16:29:31 ===
application: rabbit
exited: {bad_return,
{{rabbit,start,[normal,[]]},
{'EXIT',
{error,
{{shutdown,
{failed_to_start_child,rabbit_memory_monitor,
{badarg,
[{lists,member,[disk,{error,bad_module}],[]},
{rabbit_memory_monitor,init,1,
[{file,"src/rabbit_memory_monitor.erl"},{line,121}]},
{gen_server2,init_it,6,
[{file,"src/gen_server2.erl"},{line,554}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,247}]}]}}},
{child,undefined,rabbit_memory_monitor_sup,
{rabbit_restartable_sup,start_link,
[rabbit_memory_monitor_sup,
{rabbit_memory_monitor,start_link,[]},
false]},
transient,infinity,supervisor,
[rabbit_restartable_sup]}}}}}}
type: temporary
=INFO REPORT==== 10-Apr-2017::16:29:31 ===
application: os_mon
exited: stopped
type: temporary
=INFO REPORT==== 10-Apr-2017::16:29:31 ===
application: amqp_client
exited: stopped
=CRASH REPORT==== 10-Apr-2017::16:31:14 ===
crasher:
initial call: rabbit_memory_monitor:init/1
pid: <0.347.0>
registered_name: []
exception exit: {badarg,
[{lists,member,[disk,{error,bad_module}],[]},
{rabbit_memory_monitor,init,1,
[{file,"src/rabbit_memory_monitor.erl"},
{line,121}]},
{gen_server2,init_it,6,
[{file,"src/gen_server2.erl"},{line,554}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,247}]}]}
in function gen_server2:init_it/6 (src/gen_server2.erl, line 597)
ancestors: [rabbit_memory_monitor_sup,rabbit_sup,<0.138.0>]
messages: []
links: [<0.346.0>,<0.147.0>]
dictionary: []
trap_exit: false
status: running
heap_size: 610
stack_size: 27
reductions: 166
neighbours:
=SUPERVISOR REPORT==== 10-Apr-2017::16:31:14 ===
Supervisor: {local,rabbit_memory_monitor_sup}
Context: start_error
Reason: {badarg,
[{lists,member,[disk,{error,bad_module}],[]},
{rabbit_memory_monitor,init,1,
[{file,"src/rabbit_memory_monitor.erl"},{line,121}]},
{gen_server2,init_it,6,
[{file,"src/gen_server2.erl"},{line,554}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,247}]}]}
Offender: [{pid,undefined},
{name,rabbit_memory_monitor},
{mfargs,{rabbit_memory_monitor,start_link,[]}},
{restart_type,transient},
{shutdown,30000},
{child_type,worker}]
=CRASH REPORT==== 10-Apr-2017::16:31:14 ===
crasher:
initial call: application_master:init/4
pid: <0.137.0>
registered_name: []
exception exit: {bad_return,
{{rabbit,start,[normal,[]]},
{'EXIT',
{error,
{{shutdown,
{failed_to_start_child,rabbit_memory_monitor,
{badarg,
[{lists,member,[disk,{error,bad_module}],[]},
{rabbit_memory_monitor,init,1,
[{file,"src/rabbit_memory_monitor.erl"},
{line,121}]},
{gen_server2,init_it,6,
[{file,"src/gen_server2.erl"},{line,554}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,247}]}]}}},
{child,undefined,rabbit_memory_monitor_sup,
{rabbit_restartable_sup,start_link,
[rabbit_memory_monitor_sup,
{rabbit_memory_monitor,start_link,[]},
false]},
transient,infinity,supervisor,
[rabbit_restartable_sup]}}}}}}
in function application_master:init/4 (application_master.erl, line 134)
ancestors: [<0.136.0>]
messages: [{'EXIT',<0.138.0>,normal}]
links: [<0.136.0>,<0.31.0>]
dictionary: []
trap_exit: true
status: running
heap_size: 987
stack_size: 27
reductions: 98
neighbours:
=INFO REPORT==== 10-Apr-2017::16:31:14 ===
application: rabbit
exited: {bad_return,
{{rabbit,start,[normal,[]]},
{'EXIT',
{error,
{{shutdown,
{failed_to_start_child,rabbit_memory_monitor,
{badarg,
[{lists,member,[disk,{error,bad_module}],[]},
{rabbit_memory_monitor,init,1,
[{file,"src/rabbit_memory_monitor.erl"},{line,121}]},
{gen_server2,init_it,6,
[{file,"src/gen_server2.erl"},{line,554}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,247}]}]}}},
{child,undefined,rabbit_memory_monitor_sup,
{rabbit_restartable_sup,start_link,
[rabbit_memory_monitor_sup,
{rabbit_memory_monitor,start_link,[]},
false]},
transient,infinity,supervisor,
[rabbit_restartable_sup]}}}}}}
type: temporary
=INFO REPORT==== 10-Apr-2017::16:31:14 ===
application: os_mon
exited: stopped
type: temporary
=INFO REPORT==== 10-Apr-2017::16:31:14 ===
application: amqp_client
exited: stopped
type: temporary
=INFO REPORT==== 10-Apr-2017::16:31:14 ===
application: rabbit_common
exited: stopped
type: temporary
=INFO REPORT==== 10-Apr-2017::16:31:14 ===
application: xmerl
exited: stopped
type: temporary
=INFO REPORT==== 10-Apr-2017::16:31:14 ===
application: cowboy
exited: stopped
type: temporary
=INFO REPORT==== 10-Apr-2017::16:31:14 ===
application: cowlib
exited: stopped
type: temporary
=INFO REPORT==== 10-Apr-2017::16:31:14 ===
application: ranch
exited: stopped
type: temporary
=INFO REPORT==== 10-Apr-2017::16:31:14 ===
application: syntax_tools
exited: stopped
type: temporary
=INFO REPORT==== 10-Apr-2017::16:31:14 ===
application: ssl
exited: stopped
type: temporary
=INFO REPORT==== 10-Apr-2017::16:31:14 ===
application: public_key
exited: stopped
type: temporary
=INFO REPORT==== 10-Apr-2017::16:31:14 ===
application: asn1
exited: stopped
type: temporary
=INFO REPORT==== 10-Apr-2017::16:31:14 ===
application: crypto
exited: stopped
type: temporary
=INFO REPORT==== 10-Apr-2017::16:31:14 ===
application: inets
exited: stopped
type: temporary
=INFO REPORT==== 10-Apr-2017::16:31:14 ===
application: compiler
exited: stopped
type: temporary
BOOT FAILED
===========
Error description:
{could_not_start,rabbit,
{error,
{{shutdown,
{failed_to_start_child,rabbit_memory_monitor,
{badarg,
[{lists,member,[disk,{error,bad_module}],[]},
{rabbit_memory_monitor,init,1,
[{file,"src/rabbit_memory_monitor.erl"},
{line,121}]},
{gen_server2,init_it,6,
[{file,"src/gen_server2.erl"},{line,554}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,247}]}]}}},
{child,undefined,rabbit_memory_monitor_sup,
{rabbit_restartable_sup,start_link,
[rabbit_memory_monitor_sup,
{rabbit_memory_monitor,start_link,[]},
false]},
transient,infinity,supervisor,
[rabbit_restartable_sup]}}}}
Log files (may contain more information):
tty
tty
=INFO REPORT==== 10-Apr-2017::16:31:14 ===
application: mnesia
exited: stopped
type: temporary
=INFO REPORT==== 10-Apr-2017::16:31:14 ===
Error description:
{could_not_start,rabbit,
{error,
{{shutdown,
{failed_to_start_child,rabbit_memory_monitor,
{badarg,
[{lists,member,[disk,{error,bad_module}],[]},
{rabbit_memory_monitor,init,1,
[{file,"src/rabbit_memory_monitor.erl"},
{line,121}]},
{gen_server2,init_it,6,
[{file,"src/gen_server2.erl"},{line,554}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,247}]}]}}},
{child,undefined,rabbit_memory_monitor_sup,
{rabbit_restartable_sup,start_link,
[rabbit_memory_monitor_sup,
{rabbit_memory_monitor,start_link,[]},
false]},
transient,infinity,supervisor,
[rabbit_restartable_sup]}}}}
Log files (may contain more information):
tty
tty
{"init terminating in do_boot",{could_not_start,rabbit,{error,{{shutdown,{failed_to_start_child,rabbit_memory_monitor,{badarg,[{lists,member,[disk,{error,bad_module}],[]},{rabbit_memory_monitor,init,1,[{file,"src/rabbit_memory_monitor.erl"},{line,121}]},{gen_server2,init_it,6,[{file,"src/gen_server2.erl"},{line,554}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]}}},{child,undefined,rabbit_memory_monitor_sup,{rabbit_restartable_sup,start_link,[rabbit_memory_monitor_sup,{rabbit_memory_monitor,start_link,[]},false]},transient,infinity,supervisor,[rabbit_restartable_sup]}}}}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment