Question : What we need to do when upgrade from 7.7.x to 8.0.0 fails with error "failed to start RabbitMQ"
Environment : Airwave version : 8.0.0.
Airwave upgrade to 8.0.0 from 7.7.x series.
When the upgrade fails we can see the below error message in the upgrade log under/var/log/upgrade.
We would be able to enable amp and also the web interface will come up. However, if we put the login credentials it will still stay on the login page without proceeding further.
This is caused because the upgrade have aborted while trying to start the RabbitMQ process.
This usually happens when we have not provided enough CPU core to the server. We can check the CPU core by executing the below command,
# cat /proc/cpuinfo | grep -i cpu
In these cases it CPU core would be less
cpu family : 6
model name : Intel(R) Xeon(R) CPU E5-2640 0 @ 2.50GHz
cpu MHz : 2500.000
cpu cores : 1
cpuid level : 13
To fix this issue we can increase the CPU core for the server as per the hard ware sizing guide. Once after increasing we can execute the below commands to recompile the script.
# screen
# root
# make
Once the make completes successfully we should be able to access the web interface.