Description of problem: The init script that comes with rabbitmq-server does not work properly to start RabbitMQ. Version-Release number of selected component (if applicable): 2.6.1-1.el6 How reproducible: Always Steps to Reproduce: 1. Install rabbitmq-server. 2. Try to start it. 3. Actual results: Does not start with: [root@foo ec2-user]$ /etc/init.d/rabbitmq-server start Starting rabbitmq-server: RabbitMQ is currently running rabbitmq-server. Expected results: Can start rabbitmq normally. Additional info: The problem is that the init script contains a fragment like: status_rabbitmq quiet if [ $RETVAL = 0 ] ; then echo RabbitMQ is currently running else The status_rabbitmq function calls "rabbitmqctl status", which returns 0 even if there is no node running: [root@foo rabbitmq]$ /etc/init.d/rabbitmq-server start Starting rabbitmq-server: Status of node rabbit@chef1 ... Error: unable to connect to node rabbit@foo: nodedown diagnostics: - nodes and their ports on chef1: [{rabbitmqctl10423,50219}] - current node: rabbitmqctl10423@foo - current node home dir: /var/lib/rabbitmq - current node cookie hash: emi4ETUoBL1ALyHizJ1BIg== [root@foo rabbitmq]$ echo $? 0 So a non-zero return value of "rabbitmqctl status" is not a good canonical test for whether RabbitMQ is actually running.
Erlang was abandonded in EPEL6 and removed along with all dependent packages.