Windows Install – stops with ‘”rabbitmq-service.bat start exited with code 1’

Hi Gary,

It would be very helpful to know the exact command you’re running to install RabbitMQ. Is this a 100% fresh installation or an upgrade?

Yes, it is possible to tell the installer to not install and start the service:

I realize that’s not the easiest thing to find. That is the source code for the NSIS installer we use for RabbitMQ. In your case, you’ll want to run this:

rabbitmq-server-3.12.6.exe /S /NOSERVICEINSTALL

The above will neither install nor start the Windows service. You can then install and start the service later via the rabbitmq-service.bat command.

In your environment, if you get the error exit, please then open a command window and do the following:

  • Change to the RabbitMQ installation directory
  • Run sbin\rabbitmq-service.bat start and see if there is more useful output
  • Run sbin\rabbitmq-server.bat – this will start RabbitMQ in the foreground and you may get more information that way.

Read more here: Source link