Problem Description

 

Rabbit MQ fails to start when restarting Infoworks services  

An error like the below can be seen during the restart of Infoworks services

 

ERROR - Status of node 'rabbit@ip-172-30-1-42'Error: unable to connect to node 'rabbit@ip-172-30-1-42': nodedownDIAGNOSTICS===========attempted to contact: ['rabbit@ip-172-30-1-42']rabbit@ip-172-30-1-42:  * connected to epmd (port 4369) on ip-172-30-1-42  * epmd reports: node 'rabbit' not running at all                  no other nodes on ip-172-30-1-42  * suggestion: start the nodecurrent node details:- node name: 'rabbitmq-cli-75@ip-172-30-1-42'- home dir:

 

Root cause

RabbitMQ service fails to start because of corrupted recovery.dets file.

The error happens due to insufficient disk space or if RabbitMQ is not stoped gracefully.

 

 

Solution

 

Please take a backup of the existing mnesia directory and restart Infoworks services 

 

mv $IW_HOME/resources/rabbitmq/var/lib/rabbitmq/mnesia $IW_HOME/temp/bkp_mnesia_bkp


 

 

Applicable Infoworks Data Foundry Versions

 

IWX v2.x,3.x,4.x