RabbitMQ fails to start
Solution 1
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).
Solution 2
I faced the same problem and was able to solve the problem following the steps mentioned below.
- Run the command prompt as Administrator
- Navigate to the sbin directory and uninstall the service. rabbitmq-service remove
- Reinstall the service rabbitmq-service install
- Enable the plugins. rabbitmq-plugins enable rabbitmq_management
- Start the service rabbitmq-service start
- Go to "http://localhost:15672/"
Solution 3
In my case helped running console as an administrator
Solution 4
- check Erlang compatability with RabbitMQ
** Installtion
- Install Erlang
- Install Rabbit_MQ
- Set system variables
Set Environment variable-
- RABBITMQ_BASE c:\RabbitMQ Server
- ERLANG_HOME C:\Program Files\erl10.7
Config MQ Server
- stop RabbitMq : rabbitmq-service.bat stop
- Enable management : rabbitmq-plugins.bat enable rabbitmq_management
- Reinstall server : rabbitmq-service.bat install
- Start Server : rabbitmq-service.bat start
- Start App : rabbitmqctl.bat start_app
- Open Brower : http://localhost:15672 user guest / guest
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
Solution 5
I restarted my computer after install and things are running a lot smoother
Rolf
Updated on August 16, 2022Comments
-
Rolf over 1 year
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...