[rabbitmq-discuss] Management plugin crash server at startup

Simon MacMullen simon at rabbitmq.com
Tue Jul 19 16:21:59 BST 2011

On 18/07/11 20:39, Julien Banchet wrote:
> Problem is, the management plugin seems to die, bringing down the
> daemon with it after a couple of seconds (immediatly after start,
> rabbitmq_ctl status does list plugins, two seconds later it's dead
> already):

So this turns out to be a bug which can cause startup for the whole 
broker to fail when mochiweb takes too long (more than five seconds) to 
start an HTTP listening socket.

On Julien's machine this was happening because mochiweb tries to look up 
"localhost" as an IPv6 address, and it was taking a while to time out.

In case anybody else is bitten by this, you can download a version of 
rabbitmq_mochiweb which will wait longer than 5s from:


...although the "correct" fix is probably to have IPv6 working properly, 
or turned off.

Cheers, Simon

Simon MacMullen
RabbitMQ, VMware

More information about the rabbitmq-discuss mailing list