Hi All im going to show how to troubleshoot some errors in rabbitmq
Error
Please either set ERLANG_HOME to point to your Erlang installation
or place the RabbitMQ server distribution in the Erlang lib folder.
Fix
1- Set environment variable:
Variable name : ERLANG_HOME
Variable value: C:\Program Files\erl-23.1
2- Add %ERLANG_HOME%\bin
to the PATH
environmental variable:
Variable name : PATH
Variable value: %ERLANG_HOME%\bin
*version might be different
Reboot the Computer
Error
RabbitMQ service is already present - only updating service parameters
Fix
Open Regedit.exe
Browse to HKEY_LOCAL_MACHINE\SOFTWARE\Ericsson\Erlang\ErlSrv\1.1\RabbitMQ
Remove that key
Enable management plugin in rabbitmq
Go to "C:\Program Files\RabbitMQ Server\rabbitmq_server-3.8.9\sbin"
then paste this ".\rabbitmq-plugins.bat enable rabbitmq_management"
Output
C:\Program Files\RabbitMQ Server\rabbitmq_server-3.8.9\sbin>.\rabbitmq-plugins.bat enable rabbitmq_management
Enabling plugins on node rabbit@Oden:
rabbitmq_management
The following plugins have been configured:
rabbitmq_management
rabbitmq_management_agent
rabbitmq_web_dispatch
Applying plugin configuration to rabbit@SERVER...
The following plugins have been enabled:
rabbitmq_management
rabbitmq_management_agent
rabbitmq_web_dispatch
started 3 plugins.
*Server version might be different