F
F
fleksss_pod_papicha2021-01-07 13:31:17
RabbitMQ
fleksss_pod_papicha, 2021-01-07 13:31:17

Why won't RabbitMQ server start?

I'm trying to run rabbitmq-server and the following pops up in the console:

Console

16:13:47.784 [warning] Using RABBITMQ_ADVANCED_CONFIG_FILE: c:/Users/admin-max/AppData/Roaming/RabbitMQ/advanced.config
16:13:48.593 [error]

16:13:48.593 [error] BOOT FAILED
BOOT FAILED
16:13:48.593 [error] ===========
===========
16:13:48.593 [error] ERROR: distribution port 25672 in use by another node: [email protected]
ERROR: distribution port 25672 in use by another node: [email protected]
16:13:48.593 [error]

16:13:49.612 [error] Supervisor rabbit_prelaunch_sup had child prelaunch started with rabbit_prelaunch:run_prelaunch_first_phase() at undefined exit with reason {dist_port_already_used,25672,"rabbit","DESKTOP-E2DHPVB"} in context start_error
16:13:49.614 [error] CRASH REPORT Process <0.151.0> with 0 neighbours exited with reason: {{shutdown,{failed_to_start_child,prelaunch,{dist_port_already_used,25672,"rabbit","DESKTOP-E2DHPVB"}}},{rabbit_prelaunch_app,start,[normal,[]]}} in application_master:init/4 line 138
{"Kernel pid terminated",application_controller,"{application_start_failure,rabbitmq_prelaunch,{{shutdown,{failed_to_start_child,prelaunch,{dist_port_already_used,25672,\"rabbit\",\"DESKTOP-E2DHPVB\"}}},{rabbit_prelaunch_app,start,[normal,[]]}}}"}
Kernel pid terminated (application_controller) ({application_start_failure,rabbitmq_prelaunch,{{shutdown,{failed_to_start_child,prelaunch,{dist_port_already_used,25672,"rabbit","DESKTOP-E2DHPVB"}}},{r

Crash dump is being written to: erl_crash.dump...done

Busy port 25672, trying to find the process and kill
I kill the process

C:\Program Files\RabbitMQ Server\rabbitmq_server-3.8.9\sbin>netstat -ano | findstr :25672
TCP 0.0.0.0:25672 0.0.0.0:0 LISTENING 11120

C:\Program Files\RabbitMQ Server\rabbitmq_server-3.8.9\sbin>taskkill /PID 11120 /F
Успешно: Процесс, с идентификатором 11120, успешно завершен.

C:\Program Files\RabbitMQ Server\rabbitmq_server-3.8.9\sbin>netstat -ano | findstr :25672
TCP 0.0.0.0:25672 0.0.0.0:0 LISTENING 12056

And it starts up again, what should I do?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2021-01-07
@yarkin

You need to understand what kind of process it is, it can be a service that restarts automatically after completion. As far as I remember, netstat has a -b flag that displays the process name (it only does it on a different line for some reason).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question