RabbitMQ cannot be started after an upgrade of Lime CRM

After an upgrade of Lime CRM, the RabbitMQ service might either not be able to start or it might not be visible in the list of installed Windows services at all.

RabbitMQ is used for sending messages to other services about events happening in Lime CRM. It is also used for triggering asynchronous jobs, like text file imports.

This may give rise to several symptoms like imports not working, not being able to open documents, or not being able to update values.

1. Make sure that all Windows Management Console application (like windows event log, computer management etc.) are closed.

2. Uninstall Erlang

3. Uninstall RabbitMQ

4. Ensure that the RabbitMQ service is not visible in the Windows Services list. If it is, open a command prompt as admin and run

sc delete RabbitMQ

5. Ensure that the following directories are deleted:

C:\Program Files\erl5.10.4
C:\Program Files (x86)\Lundalogik\Lime Pro Server\Erlang
C:\Program Files (x86)\RabbitMQ
C:\Program Files (x86)\Lundalogik\Lime Pro Server\RabbitMQ
%appdata%\rabbitmq
%programdata%\Lundalogik\LIME Pro Server\RabbitMQ

6. Remove all registry keys under (by clicking windows button + write “regedit” + enter)

HKEY_LOCAL_MACHINE/SOFTWARE/Ericsson/Erlang/ErlSrv

, and

HKEY_LOCAL_MACHINE/SOFTWARE/WOW6432Node/Ericsson/Erlang

There are two ways to reinstall - either reinstall Lime CRM Server, or install Erlang and RabbitMQ manually.

Install Erlang/RabbitMQ Manually

1. Open a terminal and check Windows PATH variable “HOMEDRIVE” by running the following command.

echo %HOMEDRIVE%

If set to a mapped network drive (ie H:\) Erlang won't be able to set the erlang cookie correct. Change HOMEDRIVE to C:\ before registrering the service again.

set HOMEDRIVE=C:\

NOTE! If you have to change the HOMEDRIVE path in step 1, you also have to run the .exe files in the same terminal for step 2. and 3.

2. Install Erlang by running (find the .exe file in the folder and run as administrator)

C:\Program Files (x86)\Lundalogik\Lime Pro Server\webserver\externals\otp_win64_R16B03-1.exe

3. Install RabbitMQ by running (find the .exe file in the folder and run as administrator)

C:\Program Files (x86)\Lundalogik\Lime Pro Server\webserver\externals\rabbitmq-server.exe (name may differ)

This may be caused by MMC applications, such as the event log viewer, computer management, or even task manager being open during an upgrade.

Lime CRM Server 12 & 13

Please contact our support team if you have questions regarding any of the above.

  • Last modified: 15 months ago
  • by Birger Hesseberg