Hello. I have been struggling to get RabbitMQ Windows service to stay started. It will start initially, but within a few seconds will stop and write to the erl_crash.dump file. No logs are ever generated.
Here is the initial error in the Crash Dump.
Slogan: init terminating in do_boot ()
System version: Erlang/OTP 18 [erts-7.1] [64-bit] [smp:4:4] [async-threads:30]
Compiled: Tue Sep 22 21:08:32 2015
RabbitMQ is being installed on a Windows 2008 R2 SP1 server.
Environment Variables that are set:
ERLANG_HOME D:\Program Files\erl7.1
ERLANG_SERVICE_MANAGER_PATH D:\Program Files\erl7.1\erts-7.1\bin
RABBITMQ_BASE D:\RabbitMQ
RABBITMQ_CONFIG_FILE D:\RABBITMQ
RABBITMQ_LOG_BASE D:\RabbitMQ\logs
RABBITMQ_NODE_IP_ADDRESS x.x.x.x
I have tried both the local service account (which we don't want to use long-term) and a domain service account to start the service, same result regardless of account.
I have created a rabbitmq-env-conf.bat file per earlier direction and have placed this in the D:\RabbitMQ Directory, to contain:
set /p cookie= <!RABBITMQ_BASE!\.erlang.cookie
set RABBITMQ_CTL_ERL_ARGS=-setcookie !cookie!
set RABBITMQ_SERVER_ERL_ARGS=-setcookie !cookie!
I have a copy of the rabbitmq.config file in the D:\RabbitMQ Directory. I changed logging to debug, No other changes.
The .erlang.cookie was placed (manually by me) in the D:\RabbitMQ directory.
I have reinstalled the service using the rabbitmq-service.bat install command after changes as I understand the service needs to be reinstalled.
The Windows Event log is presenting the following errors:
Event ID: 7023, The RabbitMQ service terminated with the following error:
The process terminated unexpectedly.
Event ID: RabbitMQ: Erlang machine stopped instantly (distribution name conflict?). The service is not restarted as OnFail is set to ignore.
Our objective is to not have this run in a user’s profile, but rather in a standard directory on the server. We are also required to use a domain account to run the service.
Any help is appreciated to get this up and running.
Thanks.
SallySue