Rabbit MQ empty log files

649 views
Skip to first unread message

James Worcester

unread,
May 3, 2016, 1:46:06 PM5/3/16
to rabbitmq-users
I've recently installed Rabbit MQ 3.6.1 on Windows 8.1 with Erlang 7.3 and the service claims to start successfully, but does not seem to be present on port 5672 and the log files it generates are consistently empty.  Starting the service gives "C:\Program Files\erl7.3\\erts-7.3\bin\erlsrv: Service RabbitMQ started." and subsequent start commands give "Error: An instance of the service is already running", and Windows local services tool shows RabbitMQ as "Running".

However, attempting to use it in our code that works with other installations of RabbitMQ gets "No connection could be made because the target machine actively refused it".  Doing "telnet 127.0.0.1 5672" gets "Could not open connection to the host, on port 5672: Connect failed".  netstat shows nothing present on port 5672.  "rabbitmqctl.bat status" gives: 

{"init terminating in do_boot",{undef,[{rabbit_nodes,ensure_epmd,[],[]},{rabbit_cli,start_distribution,0,[{file,"src/rabbit_cli.erl"},{line,152}]},
,1,[{file,"init.erl"},{line,1054}]},{init,start_em,1,[{file,"init.erl"},{line,1035}]}]}}
init terminating in do_boot ()

My biggest issue is that the log files "rab...@username.log" and "rab...@username-sasl.log" remain consistently empty, which is making it quite difficult to figure out what might be going wrong.    It seems to have permissions to the log files, as they are being created.  I used the RABBITMQ_LOG_BASE environment variable to give it a new logging location, and got the same behavior there.  Log files are created, but remain empty.  The erl_crash.dump file does not get modified, and is not created if absent.  I've tried reinstalling Erlang and RabbitMQ, and still get the same behavior.  Anyone have ideas of what might be broken here, or how to get the log files working?

Michael Klishin

unread,
May 3, 2016, 2:07:12 PM5/3/16
to rabbitm...@googlegroups.com
They are empty because RabbitMQ had to terminate immediately after trying to start
because rabbit_nodes:ensure_epmd/0 (a function) cannot be found.

We've seen this reported on Windows a few times but don't know how to reproduce.

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
MK

Staff Software Engineer, Pivotal/RabbitMQ
Reply all
Reply to author
Forward
0 new messages