RabbitMQ 3.6.1 crash on Win Server 2008R2

529 views
Skip to first unread message

Jim Anderson

unread,
Mar 2, 2016, 11:55:50 AM3/2/16
to rabbitmq-users
The latest Erlang is installed (18.2.1). The system was running 3.6.0 just fine. Uninstalled 3.6.0, then installed 3.6.1. The service starts, but nothing is written to the log.
 
The installation generates the attached crash dump.
 
Running rabbitmqctl status gives this:
{"init terminating in do_boot",
 {undef,[{rabbit_nodes,ensure_epmd,[],[]},
 {rabbit_cli,start_distribution,0,[{file,"src/rabbit_cli.erl"},{line,152}]},
 {rabbit_cli,ensure_cli_distribution,0,[{file,"src/rabbit_cli.erl"},{line,49}]},
 {rabbit_cli,main,3,[{file,"src/rabbit_cli.erl"},{line,62}]},
 {init,start_it,1,[{file,"init.erl"},{line,1054}]},
 {init,start_em,1,[{file,"init.erl"},{line,1035}]}]}}
init terminating in do_boot ()
 Reinstalled 3.6.0 and successfully recovered.
 
 Any ideas of what might be happening?

Thanks,
Jim
erl_crash.dump

Michael Klishin

unread,
Mar 2, 2016, 12:00:27 PM3/2/16
to rabbitm...@googlegroups.com, Jim Anderson
On 2 March 2016 at 19:55:54, Jim Anderson (jim...@gmail.com) wrote:
> > Running rabbitmqctl status gives this:
> > {"init terminating in do_boot",
> > {undef,[{rabbit_nodes,ensure_epmd,[],[]},
> > {rabbit_cli,start_distribution,0,[{file,"src/rabbit_cli.erl"},{line,152}]},
> > {rabbit_cli,ensure_cli_distribution,0,[{file,"src/rabbit_cli.erl"},{line,49}]},
> > {rabbit_cli,main,3,[{file,"src/rabbit_cli.erl"},{line,62}]},
> > {init,start_it,1,[{file,"init.erl"},{line,1054}]},
> > {init,start_em,1,[{file,"init.erl"},{line,1035}]}]}}
> > init terminating in do_boot ()
>
> Reinstalled 3.6.0 and successfully recovered.
>
>
> Any ideas of what might be happening?

First of all, this does not seem to be a "RabbitMQ crash” but an unhandled exception
in a CLI tool.

rabbit_nodes:ensure_epmd/0 (a function) cannot be found. It is certainly
there in 3.6.1. You probably have an older rabbit_common.ez on the code path somehow. 
--
MK

Staff Software Engineer, Pivotal/RabbitMQ


Jim Anderson

unread,
Mar 2, 2016, 3:49:02 PM3/2/16
to rabbitmq-users, jim...@gmail.com
Hi Michael,

Just to verify, I installed on another system that has never had Erlang and RabbitMQ installed, and the same error occurs.

Rather puzzling, but we can continue to user 3.6.0 until the next release.

Regards,
Jim

Michael Klishin

unread,
Mar 2, 2016, 5:00:13 PM3/2/16
to rabbitm...@googlegroups.com, Jim Anderson
On 2 March 2016 at 23:49:05, Jim Anderson (jim...@gmail.com) wrote:
> Just to verify, I installed on another system that has never
> had Erlang and RabbitMQ installed, and the same error occurs.
>
> Rather puzzling, but we can continue to user 3.6.0 until the next
> release.

Jim,

So what exact steps can we use to reproduce?

Jim Anderson

unread,
Mar 4, 2016, 11:03:31 AM3/4/16
to rabbitmq-users, jim...@gmail.com
Hey Michael,

Here are the steps I followed with the same results on Win2008R2, Win7 and
Win10:
- Download and install Erlang 18.2.1 (64 bit) as admin from
http://erlang.org/download/otp_win64_18.2.1.exe
- Download and install RabbitMQ 3.6.1 as admin from
http://www.rabbitmq.com/releases/rabbitmq-server/v3.6.1/rabbitmq-server-3.6.1.exe
- Open the RabbitMQ command prompt and run "rabbitmqctl status" to get the
error.

The same steps using 3.6.0 result in a running installation.

Thanks again for your help!

Jim

simon B

unread,
Mar 23, 2016, 1:10:45 PM3/23/16
to rabbitmq-users, jim...@gmail.com
Hi

Exactly the same problem here. Installed on clean 'Windows Server 2012 R2 Data Center'. First time installer here, so assumed I was doing something wrong.

Tried installing previous version 3.6.0, now everything appears to be working.

On a side note, the installer tries to put cookie on %HOMEDRIVE%%HOMEPATH%, which in corporate environments is invariable a private user share. Had to set %HOMEDRIVE%=C: to get install to work correctly.

So bottom line, working, but something regressed between 3.6.0 and 3.6.1

Cheers
Simon

Gabriele Santomaggio

unread,
Mar 25, 2016, 6:58:30 AM3/25/16
to rabbitmq-users, jim...@gmail.com
Hi,

We are trying to reproduce the problem, but we couldn't.

I  tried to install RabbitMQ 3.6.1 on a clean 'Windows Server 2012 R2 Data Center', following these steps:


- Download and install Erlang 18.2.1 (64 bit) as admin from
http://erlang.org/download/otp_win64_18.2.1.exe
- Download and install RabbitMQ 3.6.1 as admin from
http://www.rabbitmq.com/releases/rabbitmq-server/v3.6.1/rabbitmq-server-3.6.1.exe

running "rabbitmqctl status" I have:

C:\Program Files\RabbitMQ Server\rabbitmq_server-3.6.1\sbin>rabbitmqctl.bat status
Status of node 'rabbit@WIN-UP3AHH0D0KL' ...
[{pid,2224},
 
{running_applications,[{rabbit,"RabbitMQ","3.6.1"},
                       
{ranch,"Socket acceptor pool for TCP protocols.",
                               
"1.2.1"},
                       
{xmerl,"XML parser","1.3.9"},
                       
{os_mon,"CPO  CXC 138 46","2.4"},
                       
{mnesia,"MNESIA  CXC 138 12","4.13.2"},
                       
{rabbit_common,[],"3.6.1"},
                       
{sasl,"SASL  CXC 138 11","2.6.1"},
                       
{stdlib,"ERTS  CXC 138 10","2.7"},
                       
{kernel,"ERTS  CXC 138 10","4.1.1"}]},
 
{os,{win32,nt}},
 
{erlang_version,"Erlang/OTP 18 [erts-7.2.1] [64-bit] [async-threads:30]\n"},


Am I missing something ?

I also tried to update from the version 3.6.0, and it worked.

Do you have more details?

Thank you
Gabriele

Константин Крицин

unread,
Mar 27, 2016, 7:20:14 AM3/27/16
to rabbitmq-users
Hi.
The same situation. On Win2008R2 version 3.6.0 is ok, but 3.6.1 show the same error. it's a first installation of erlang and rabbit

Kendorian Razul

unread,
Apr 19, 2016, 4:39:47 AM4/19/16
to rabbitmq-users
We also have issues with the combination Erlang 18.3 with RabbitMQ 3.6.1
However, we got it fixed by using the previous version of erlang (18.2.1) and RabbitMQ 3.6.1. 
Reply all
Reply to author
Forward
0 new messages