Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Erlang machine stopped instantly (distribution name conflict?). The service is not restarted as OnFail is set to ignore

I am using RabbitMQ. For some reason the rabbitMQ service stops as soon as you start it. I saw following error in the event log:

RabbitMQ: Erlang machine stopped instantly (distribution name conflict?). The service is not restarted as OnFail is set to ignore.

Someone told me to run this command: erl -sname rabbit

This command generates following output:

{(no error logger present")i neirtr otre: r"mEirnraotri nign  ipnr odcoe_sbso o<
t0".,2{.b0a>d awrigt,h[ {eexrilt_p rviaml_uleo:a d{ebra,dcahregc,k[_{feirlle__pr
reismu_llto,a3d,e[r{,fcihleec,k"_efrill_e_prreismu_llto,a3d,e[r{.feirlle",}\,"{e
lriln_ep,r29i3m}_]l}o,a{dienri.te,rgle\t"_}b,o{olti,n1e,,[2{9f3i}l]e},,"{iinniit
t.,egrelt"_}b,o{olti,n1e,,[78{9f}i]l}e,,{\i"niinti,tg.eetr_lb\o"o}t,,{2l,i[n{ef,
i7l8e9,}"]i}n,i{ti.neirtl,"g}e,t{_lbionoet,,7762},][}{,f{iilnei,t\,"dion_ibto.oe
tr,l3\,"[}{,f{illien,e",i77n6i}t].}e,r{li"n}i,t{,ldion_eb,o74o3t},]3},][}{}f
ile,\"init.erl\"},{line,743}]}]}\n"

I am not sure how to interpret this output. I wonder the error is specific to RabbitMQ or erlang.

I have no idea how to procceed. Please suggest.

like image 296
SharpCoder Avatar asked Oct 07 '15 14:10

SharpCoder


2 Answers

I ran into the same issue when installing RabbitMQ 3.7.17 via Chocolatey on a Windows Server 2016.

After trying most of the suggested solutions, the one that worked for me was:

rabbitmq-service remove
rabbitmq-service install
rabbitmq-service start

PS: if your PATH is not configured for RabbitMQ, this is the folder you need to run the commands from: C:\Program Files\RabbitMQ Server\rabbitmq_server-3.7.17\sbin (if your version is also 3.7.17).

like image 108
Caio Campos Avatar answered Oct 17 '22 20:10

Caio Campos


In my scenario, Two directories of Erlang under C:\Program Files with different versions were there, I uninstalled one of the version, also uninstalled RabbitMQ service from Windows services list - Restarted the system.

Again ran RabbitMQ setup - RabbitMQ service was setup successfully.

like image 32
HydTechie Avatar answered Oct 17 '22 22:10

HydTechie