17956 - Serviço RabbitMQ é iniciado e encerrado após alguns segundos
Problema: Descrição do problema: serviço RabbitMQ é iniciado e encerrado após alguns segundos, sendo que o console de gerenciamento Web (geralmente acessado através da porta 15642) também não fica acesível. No Log do RabbitMQ é gerada a seguinte mensagem de erro:
=INFO REPORT==== 10-Feb-2017::16:17:52 ===
Error description:
{could_not_start,rabbit,
{{badmatch,
{error,
{{{badmatch,
{error,
{not_a_dets_file,
c:/Users/schedule/AppData/Roaming/RabbitMQ/db/RABBIT~1/recovery.dets}}},
[{rabbit_recovery_terms,open_table,0,
[{file,src/rabbit_recovery_terms.erl},{line,130}]},
{rabbit_recovery_terms,init,1,
[{file,src/rabbit_recovery_terms.erl},{line,111}]},
{gen_server,init_it,6,[{file,gen_server.erl},{line,328}]},
{proc_lib,init_p_do_apply,3,
[{file,proc_lib.erl},{line,240}]}]},
{child,undefined,rabbit_recovery_terms,
{rabbit_recovery_terms,start_link,[]},
transient,4294967295,worker,
[rabbit_recovery_terms]}}}},
[{rabbit_queue_index,start,1,
[{file,src/rabbit_queue_index.erl},{line,468}]},
{rabbit_variable_queue,start,1,
[{file,src/rabbit_variable_queue.erl},{line,439}]},
{rabbit_priority_queue,start,1,
[{file,src/rabbit_priority_queue.erl},{line,92}]},
{rabbit_amqqueue,recover,0,
[{file,src/rabbit_amqqueue.erl},{line,236}]},
{rabbit,recover,0,[{file,src/rabbit.erl},{line,546}]},
{rabbit_boot_steps,'-run_step/2-lc$^1/1-1-',1,
[{file,src/rabbit_boot_steps.erl},{line,49}]},
{rabbit_boot_steps,run_step,2,
[{file,src/rabbit_boot_steps.erl},{line,49}]},
{rabbit_boot_steps,'-run_boot_steps/1-lc$^0/1-0-',1,
[{file,src/rabbit_boot_steps.erl},{line,26}]}]}}
Log files (may contain more information):
C:/Users/schedule/AppData/Roaming/RabbitMQ/log/RABBIT~1.LOG
C:/Users/schedule/AppData/Roaming/RabbitMQ/log/RABBIT~2.LOG
Rotina / Tela: RabbitMQ
Solução:
=INFO REPORT==== 10-Feb-2017::16:17:52 ===
Error description:
{could_not_start,rabbit,
{{badmatch,
{error,
{{{badmatch,
{error,
{not_a_dets_file,
c:/Users/schedule/AppData/Roaming/RabbitMQ/db/RABBIT~1/recovery.dets}}},
[{rabbit_recovery_terms,open_table,0,
[{file,src/rabbit_recovery_terms.erl},{line,130}]},
{rabbit_recovery_terms,init,1,
[{file,src/rabbit_recovery_terms.erl},{line,111}]},
{gen_server,init_it,6,[{file,gen_server.erl},{line,328}]},
{proc_lib,init_p_do_apply,3,
[{file,proc_lib.erl},{line,240}]}]},
{child,undefined,rabbit_recovery_terms,
{rabbit_recovery_terms,start_link,[]},
transient,4294967295,worker,
[rabbit_recovery_terms]}}}},
[{rabbit_queue_index,start,1,
[{file,src/rabbit_queue_index.erl},{line,468}]},
{rabbit_variable_queue,start,1,
[{file,src/rabbit_variable_queue.erl},{line,439}]},
{rabbit_priority_queue,start,1,
[{file,src/rabbit_priority_queue.erl},{line,92}]},
{rabbit_amqqueue,recover,0,
[{file,src/rabbit_amqqueue.erl},{line,236}]},
{rabbit,recover,0,[{file,src/rabbit.erl},{line,546}]},
{rabbit_boot_steps,'-run_step/2-lc$^1/1-1-',1,
[{file,src/rabbit_boot_steps.erl},{line,49}]},
{rabbit_boot_steps,run_step,2,
[{file,src/rabbit_boot_steps.erl},{line,49}]},
{rabbit_boot_steps,'-run_boot_steps/1-lc$^0/1-0-',1,
[{file,src/rabbit_boot_steps.erl},{line,26}]}]}}
Log files (may contain more information):
C:/Users/schedule/AppData/Roaming/RabbitMQ/log/RABBIT~1.LOG
C:/Users/schedule/AppData/Roaming/RabbitMQ/log/RABBIT~2.LOG
Rotina / Tela: RabbitMQ
Solução: