The RabbitMQ windows service will not start:
C:\Program Files (x86)\RabbitMQ Server\rabbitmq_server-3.0.4\sbin>rabbitmq-service.bat start
C:\Program Files (x86)\erl5.10.1\erts-5.10.1\bin\erlsrv: Failed to start service RabbitMQ.
Error: The process terminated unexpectedly.
I can run rabbitmq-server.bat without any problems.
No log entries are made to %appdata%\RabbitMQ\log\ directory when trying to start the service.
Any suggestions to how I make it work? Please...
Make sure the node is running using rabbitmq-diagnostics status. Verify config file is correctly placed and has correct syntax/structure. Inspect listeners using rabbitmq-diagnostics listeners or the listeners section in rabbitmq-diagnostics status. Inspect effective configuration using rabbitmq-diagnostics environment.
To reset a running and responsive node, first stop RabbitMQ on it using rabbitmqctl stop_app and then reset it using rabbitmqctl reset: # on rabbit1 rabbitmqctl stop_app # => Stopping node rabbit@rabbit1 ... done.
Run RabbitMQ Service The RabbitMQ service starts automatically. You can stop/reinstall/start the RabbitMQ service from the Start Menu. Once all done open : http://localhost:15672/ for opening the rabbitmq management.
I faced the same problem and was able to solve the problem following the steps mentioned below.
Problem solved!
My IT department has mapped %appdata% to a network share and it seems that the RabbitMQ scripts can’t work with that.
I solved the problem this way: Set the environment variable “RABBITMQ_BASE” to “c:\rabbitmq”, uninstall the service (rabbitmq-service.bat remove) and install the service again (rabbitmq-service.bat install).
In my case helped running console as an administrator
Deleting "AppData\Roaming\RabbitMQ" solved this problem for me
I restarted my computer after install and things are running a lot smoother
- check Erlang compatability with RabbitMQ
** Installtion
Set Environment variable-
Config MQ Server
Add new User
List users : rabbitmqctl.bat list_users
Add new user : rabbitmqctl.bat add_user user1 pass1
Give administrator privileges : rabbitmqctl.bat set_user_tags user1
Deleting HKEY_LOCAL_MACHINE\SOFTWARE\Ericsson\Erlang\ErlSrv\1.1\RabbitMQ
folder from Registry has solved the problem for me. I have to reinstall (uninstall and install) the RabbitMQ after deleting the registry.
Moreover, I have deleted C:\Users\<USERNAME>\AppData\Roaming\RabbitMQ
earlier.
I have found the solution from a post of a google group.
My situation was caused by wrong Erlang version. I solved it by the following steps:
Your-Path\rabbitmq_server-3.7.13\sbin
and execute the command rabbitmq-plugins.bat enable rabbitmq_management
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With