Boot Failed

89 views
Skip to first unread message

Deepan Chakkaravarthy Sridhar

unread,
May 23, 2017, 3:35:46 AM5/23/17
to rabbitmq-users, deepan sridhar@altisource. com
Hi,
I tried to upgrade the version of RabbitMQ to 3.6.8 with Erlang R1603. When I enter mabbitmqctl command, I get the below error.

{"init terminating in do_boot",{undef,[{erl_syntax,form_list,[[{attribute,1,file,{"src/rand_compat.erl",1}},{attribute,17,module,rand_compat},..........,start_distribution,0,[{file,"src/rabbit_cli.erl"},{line,160}]}]}}
init terminating in do_boot ()

Below is the output when I trued to start the rabbitmq server. Have tried deleting the mnesia folder and started, but of no help.

-bash-4.1$ rabbitmq-server start &
[1] 26045
-bash-4.1$

BOOT FAILED
===========

Error description:
   {aborted,undef}

Log files (may contain more information):
   /var/log/rabbitmq/rab...@host.log
   /var/log/rabbitmq/rab...@host-sasl.log

Stack trace:
   [{mnesia,abort,1,[{file,"mnesia.erl"},{line,313}]},
    {rabbit_node_monitor,legacy_cluster_nodes,1,
                         [{file,"src/rabbit_node_monitor.erl"},{line,801}]},
    {rabbit_node_monitor,prepare_cluster_status_files,0,
                         [{file,"src/rabbit_node_monitor.erl"},{line,121}]},
    {rabbit,'-boot/0-fun-0-',0,[{file,"src/rabbit.erl"},{line,283}]},
    {rabbit,start_it,1,[{file,"src/rabbit.erl"},{line,417}]},
    {init,start_it,1,[]},
    {init,start_em,1,[]}]

{"init terminating in do_boot",{aborted,undef}}

Crash dump was written to: erl_crash.dump
init terminating in do_boot ()

[1]+  Exit 1                  rabbitmq-server start

Please help in resolving the problem.

Dave Cottlehuber

unread,
May 23, 2017, 4:19:50 AM5/23/17
to rabbitm...@googlegroups.com
On Tue, 23 May 2017, at 09:35, Deepan Chakkaravarthy Sridhar wrote:
> Hi,
> I tried to upgrade the version of RabbitMQ to 3.6.8 with Erlang R1603.

What operating system is this & exactly how did you upgrade (packages,
source, ... ?)

> I enter mabbitmqctl command, I get the below error.

> Log files (may contain more information):
> /var/log/rabbitmq/rab...@host.log
> /var/log/rabbitmq/rab...@host-sasl.log

These additional log files may contain more information. Please share a
relevant snippet.

> Stack trace:
> [{mnesia,abort,1,[{file,"mnesia.erl"},{line,313}]},
> {rabbit_node_monitor,legacy_cluster_nodes,1,
> [{file,"src/rabbit_node_monitor.erl"},{line,801}]},
> {rabbit_node_monitor,prepare_cluster_status_files,0,
> [{file,"src/rabbit_node_monitor.erl"},{line,121}]},
> {rabbit,'-boot/0-fun-0-',0,[{file,"src/rabbit.erl"},{line,283}]},
> {rabbit,start_it,1,[{file,"src/rabbit.erl"},{line,417}]},
> {init,start_it,1,[]},
> {init,start_em,1,[]}]
>
> {"init terminating in do_boot",{aborted,undef}}

Please share your config files, password sanitised of course.

This looks a bit like its expecting a clustered configuration; how is
rabbitmq set up?

A+
Dave

Deepan Chakkaravarthy Sridhar

unread,
May 23, 2017, 11:17:52 AM5/23/17
to rabbitmq-users, deepan sridhar@altisource. com
Hi Dave,

This is in RHEL 6 where we downloaded the packages from rabbitmq website and erlang reference https://github.com/rabbitmq/erlang-rpm perform the installation as per the instructions. Attached is the zip file with the requested details. We plan to enable clustering; however even a single node does not come up.

Had tried with the default rabbitmq.config; however got the same error.

On Tuesday, 23 May 2017 13:49:50 UTC+5:30, Dave Cottlehuber wrote:
On Tue, 23 May 2017, at 09:35, Deepan Chakkaravarthy Sridhar wrote:
> Hi,
> I tried to upgrade the version of RabbitMQ to 3.6.8 with Erlang R1603.

What operating system is this & exactly how did you upgrade (packages,
source, ... ?)

> I enter mabbitmqctl command, I get the below error.

> Log files (may contain more information):
>    /var/log/rabbitmq/rabbit@host.log
>    /var/log/rabbitmq/rabbit@host-sasl.log
rmq.zip

Deepan Chakkaravarthy Sridhar

unread,
May 25, 2017, 2:32:16 AM5/25/17
to rabbitmq-users, deepan....@altisource.com
Dave/Team,

Request your help to have this resolved.

dfed...@pivotal.io

unread,
May 25, 2017, 9:02:53 AM5/25/17
to rabbitmq-users, deepan....@altisource.com
Hi,
The errors you have mean that some functions are not available in the erlang. This could be caused by erlang version mismatch. Can you please make sure you don't have multiple versions of erlang installed in your system?
You've said that you use R1603, while this version is not available in https://github.com/rabbitmq/erlang-rpm 
Reply all
Reply to author
Forward
0 new messages