RE: rabbitmq-server will not start


Turns out even though I disabled IPv6 via /etc/sysctl.conf per the recommendations in the CentOS FAQ, rabbitmq-server will still fail. so we had to add an entry into /etc/modprobe.conf.local as shown below.


  install ipv6 /bin/true

All is well again.


From: Van Fossan,Randy
Sent: Monday, February 20, 2012 11:33 AM
Subject: rabbitmq-server will not start

I am having trouble on a new chef server… rabbitmq-server will not start (error logs below)… I using the chef-server cookbook with chef-solo to install chef server… It blows up during the startup of rabbitmq-server. I have disabled IPv6 in /etc/sysctl.conf. This is n CentOS 6.

I found some info in the rabbitmq forums, but nothing I have tried helps… Anyone else have this problem?



---- Logs Below ------

cat /var/log/rabbitmq/startup_log

Activating RabbitMQ plugins …

0 plugins activated:

±–+ ±–+

| | | |

| | | |

| | | |

| ±–+ ±------+

| |

| RabbitMQ ±–+ |

| | | |

| v2.6.1 ±–+ |

| |


AMQP 0-9-1 / 0-9 / 0-8

Copyright © 2007-2011 VMware, Inc.

Licensed under the MPL. See

node : rabbit@chefsy01rav

app descriptor : /usr/lib/rabbitmq/lib/rabbitmq_server-2.6.1/sbin/…/ebin/

home dir : /var/lib/rabbitmq

config file(s) : (none)

cookie hash : Wl9kb7MzIyg6Eedmia/PCg==

log : /var/log/rabbitmq/rabbit@chefsy01rav.log

sasl log : /var/log/rabbitmq/rabbit@chefsy01rav-sasl.log

database dir : /var/lib/rabbitmq/mnesia/rabbit@chefsy01rav

erlang version : 5.8.5

– rabbit boot start

starting file handle cache server …done

starting worker pool …done

starting database …done

starting codec correctness check …done

– external infrastructure ready

starting statistics event manager …done

starting logging server …done

starting plugin registry …done

starting auth mechanism amqplain …done

starting auth mechanism cr-demo …done

starting auth mechanism plain …done

starting exchange type direct …done

starting exchange type fanout …done

starting exchange type headers …done

starting exchange type topic …done

– kernel ready

starting node monitor …done

starting cluster delegate …done

starting guid generator …done

starting alarm handler …done

starting memory monitor …done

– core initialized

starting empty DB check …done

starting exchange, queue and binding recovery …done

starting mirror queue slave sup …done

starting adding mirrors to queues …done

– message delivery logic ready

starting error log relay …done

starting networking …BOOT ERROR: FAILED

Reason: {badmatch,
















                         "TCP Listener"]},



Stacktrace: [{rabbit_networking,start_listener0,4},








{“Kernel pid terminated”,application_controller,"{application_start_failure,rabbit,{bad_return,{{rabbit,start,[normal,[]]},{‘EXIT’,{rabbit,failure_during_boot}}}}}"}

cat /var/log/rabbitmq/startup_err

Erlang has closed

Crash dump was written to: erl_crash.dump

Kernel pid terminated (application_controller) ({application_start_failure,rabbit,{bad_return,{{rabbit,start,[normal,[]]},{‘EXIT’,{rabbit,failure_during_boot}}}}})