window 에서 rabbitmq 실행 시 아래와 같은 에러 발생할 경우
2024-12-12 12:05:42.435000+09:00 [warning] <0.134.0> Using RABBITMQ_ADVANCED_CONFIG_FILE: path/to/AppData/Roaming/RabbitMQ/advanced.config2024-12-12 12:05:43.607000+09:00 [error] <0.134.0>2024-12-12 12:05:43.607000+09:00 [error] <0.134.0> BOOT FAILED2024-12-12 12:05:43.607000+09:00 [error] <0.134.0> ===========2024-12-12 12:05:43.607000+09:00 [error] <0.134.0> ERROR: could not bind to distribution port 25672, it is in use by another node: rabbit@DESKTOP-61O1UIA2024-12-12 12:05:43.607000+09:00 [error] <0.134.0>BOOT FAILED===========ERROR: could not bind to distribution port 25672, it is in use by another node: rabbit@DESKTOP-61O1UIA2024-12-12 12:05:44.624000+09:00 [error] <0.134.0> supervisor: {local,rabbit_prelaunch_sup}2024-12-12 12:05:44.624000+09:00 [error] <0.134.0> errorContext: start_error2024-12-12 12:05:44.624000+09:00 [error] <0.134.0> reason: {dist_port_already_used,25672,"rabbit","DESKTOP-61O1UIA"}2024-12-12 12:05:44.624000+09:00 [error] <0.134.0> offender: [{pid,undefined},2024-12-12 12:05:44.624000+09:00 [error] <0.134.0> {id,prelaunch},2024-12-12 12:05:44.624000+09:00 [error] <0.134.0> {mfargs,{rabbit_prelaunch,run_prelaunch_first_phase,[]}},2024-12-12 12:05:44.624000+09:00 [error] <0.134.0> {restart_type,transient},2024-12-12 12:05:44.624000+09:00 [error] <0.134.0> {significant,false},2024-12-12 12:05:44.624000+09:00 [error] <0.134.0> {shutdown,5000},2024-12-12 12:05:44.624000+09:00 [error] <0.134.0> {child_type,worker}]2024-12-12 12:05:44.624000+09:00 [error] <0.134.0>2024-12-12 12:05:44.624000+09:00 [notice] <0.45.0> Application rabbitmq_prelaunch exited with reason: {{shutdown,{failed_to_start_child,prelaunch,{dist_port_already_used,25672,"rabbit","DESKTOP-61O1UIA"}}},{rabbit_prelaunch_app,start,[normal,[]]}}{exit,terminating,[{application_controller,call,2,[{file,"application_controller.erl"},{line,511}]},{application,'-ensure_all_started/3-lc$^0/1-0-',1,[{file,"application.erl"},{line,367}]},{application,ensure_all_started,3,[{file,"application.erl"},{line,367}]},{rabbit,'-start_it/1-fun-0-',1,[{file,"rabbit.erl"},{line,421}]},{timer,tc,2,[{file,"timer.erl"},{line,590}]},{rabbit,start_it,1,[{file,"rabbit.erl"},{line,419}]},{init,start_it,1,[{file,"init.erl"},{line,1546}]},{init,start_em,1,[{file,"init.erl"},{line,1521}]}]}Runtime terminating during boot (terminating)Crash dump is being written to: erl_crash.dump...done2024-12-12 12:05:42.435000+09:00 [warning] <0.134.0> Using RABBITMQ_ADVANCED_CONFIG_FILE: c:/Users/ckstack/AppData/Roaming/RabbitMQ/advanced.config
2024-12-12 12:05:43.607000+09:00 [error] <0.134.0>
2024-12-12 12:05:43.607000+09:00 [error] <0.134.0> BOOT FAILED
2024-12-12 12:05:43.607000+09:00 [error] <0.134.0> ===========
2024-12-12 12:05:43.607000+09:00 [error] <0.134.0> ERROR: could not bind to distribution port 25672, it is in use by another node: rabbit@DESKTOP-61O1UIA
2024-12-12 12:05:43.607000+09:00 [error] <0.134.0>
BOOT FAILED
===========
ERROR: could not bind to distribution port 25672, it is in use by another node: rabbit@DESKTOP-61O1UIA
2024-12-12 12:05:44.624000+09:00 [error] <0.134.0> supervisor: {local,rabbit_prelaunch_sup}
2024-12-12 12:05:44.624000+09:00 [error] <0.134.0> errorContext: start_error
2024-12-12 12:05:44.624000+09:00 [error] <0.134.0> reason: {dist_port_already_used,25672,"rabbit","DESKTOP-61O1UIA"}
2024-12-12 12:05:44.624000+09:00 [error] <0.134.0> offender: [{pid,undefined},
2024-12-12 12:05:44.624000+09:00 [error] <0.134.0> {id,prelaunch},
2024-12-12 12:05:44.624000+09:00 [error] <0.134.0> {mfargs,{rabbit_prelaunch,run_prelaunch_first_phase,[]}},
2024-12-12 12:05:44.624000+09:00 [error] <0.134.0> {restart_type,transient},
2024-12-12 12:05:44.624000+09:00 [error] <0.134.0> {significant,false},
2024-12-12 12:05:44.624000+09:00 [error] <0.134.0> {shutdown,5000},
2024-12-12 12:05:44.624000+09:00 [error] <0.134.0> {child_type,worker}]
2024-12-12 12:05:44.624000+09:00 [error] <0.134.0>
2024-12-12 12:05:44.624000+09:00 [notice] <0.45.0> Application rabbitmq_prelaunch exited with reason: {{shutdown,{failed_to_start_child,prelaunch,{dist_port_already_used,25672,"rabbit","DESKTOP-61O1UIA"}}},{rabbit_prelaunch_app,start,[normal,[]]}}
{exit,terminating,[{application_controller,call,2,[{file,"application_controller.erl"},{line,511}]},{application,'-ensure_all_started/3-lc$^0/1-0-',1,[{file,"application.erl"},{line,367}]},{application,ensure_all_started,3,[{file,"application.erl"},{line,367}]},{rabbit,'-start_it/1-fun-0-',1,[{file,"rabbit.erl"},{line,421}]},{timer,tc,2,[{file,"timer.erl"},{line,590}]},{rabbit,start_it,1,[{file,"rabbit.erl"},{line,419}]},{init,start_it,1,[{file,"init.erl"},{line,1546}]},{init,start_em,1,[{file,"init.erl"},{line,1521}]}]}
Runtime terminating during boot (terminating)
Crash dump is being written to: erl_crash.dump...done
Rabbitmq를 제대로 종료안하고 cmd 꺼서 그렇다.
관리자 권한으로 명령 프롬프트 실행 후 rmq를 완전히 종료한 후 다시 실행하면 된다.
rabbitmq-service stop
rabbitmq-server restart'Tips' 카테고리의 다른 글
| python의 변수와 객체 참조 (0) | 2025.08.23 |
|---|---|
| MySQL GENERATED 칼럼 사용법 (3) | 2025.08.16 |
| FastAPI 실행 및 문서 접근 가이드 (0) | 2025.06.21 |
| pm2로 python 데몬화 (0) | 2025.05.31 |
| pm2 사용 시 python logging이 에러 로그로 출력되는 문제 (0) | 2025.05.31 |