RabbitMQ service

Comarch Auto Update application is running a service queuing RabbitMQ messages next to the main service Comarch Auto Update Service. The message queuing service exchanges information between the parent agent and child agents. The service is installed along with Comarch Auto Update and does not require additional configuration.

The symptoms of problems running the service are inaccessible [Advanced Actions] button in the parent agent and no connection with child agents (Offline status on the child agent list).

Note
Make sure to verify communication via port 5672. This port is used to exchange information between the parent agent and child agents.

To verify if the service is running properly, first you need to check if it is available in the Windows services window and if its status is Running and its startup type is Automatic.

RabbitMQ under the Windows services

Then, you also need to verify access to its administration dashboard under http://localhost:15672/. After you log on to the administrator account (login: admin, password: admin), you will view error and warning messages.

RabbitMQ administration dashboard

If the service cannot run or if you see errors in the administration dashboard, you need to execute the following repairing scripts in the first place.

Example
In case of problems with the rabbit service, they can be solved as follows:

  1. run cmd.exe with administrator privileges and then execute the instructions below:
  2. cd C:\Program Files\RabbitMQ Server\rabbitmq_server-3.7.5\sbin
  3. rabbitmq-service.bat remove
  4. rabbitmq-service.bat install
  5. rabbitmq-service.bat start
  6. rabbitmq-plugins enable rabbitmq_management
  7. rabbitmqctl stop (this command requires to wait a moment, sometimes it is necessary to stop the RabbitMQ service manually)
  8. rabbitmq-server -detached
  9. rabbitmqctl start_app (this command requires to wait a moment, sometimes it is necessary to start the RabbitMQ service manually)
  10. rabbitmqctl add_user admin admin
  11. rabbitmqctl set_user_tags admin administrator
  12. rabbitmqctl set_permissions -p / admin “.*” “.*” “.*”

When executing the above commands, you may encounter an authentication problem and a problem with the erlang cookie file. In order to solve them, it is necessary to copy: C:\Windows\System32\config\systemprofile\.erlang.cookie to C:\Users\UserName\.erlang.cookie

Note
RabbitMQ service logs can be found under C:\ProgramData\RabbitMQ\log.

Czy ten artykuł był pomocny?