RabbitMQ启动报错
- 日志
=SUPERVISOR REPORT==== 23-Mar-2021::15:21:27.703000 ===
supervisor: {local,'Elixir.Logger.Supervisor'}
errorContext: start_error
reason: noproc
offender: [{pid,undefined},
{id,'Elixir.Logger.ErrorHandler'},
{mfargs,
{'Elixir.Logger.Watcher',watcher,
[error_logger,'Elixir.Logger.ErrorHandler',
{true,false,500}]}},
{restart_type,permanent},
{shutdown,5000},
{child_type,worker}]
=CRASH REPORT==== 23-Mar-2021::15:21:27.708000 ===
crasher:
initial call: application_master:init/4
pid: <0.83.0>
registered_name: []
exception exit: {{shutdown,
{failed_to_start_child,'Elixir.Logger.ErrorHandler',
noproc}},
{'Elixir.Logger.App',start,[normal,[]]}}
in function application_master:init/4 (application_master.erl, line 138)
ancestors: [<0.82.0>]
message_queue_len: 1
messages: [{'EXIT',<0.84.0>,normal}]
links: [<0.82.0>,<0.43.0>]
dictionary: []
trap_exit: true
status: running
heap_size: 376
stack_size: 27
reductions: 193
neighbours:
=INFO REPORT==== 23-Mar-2021::15:21:27.712000 ===
application: logger
exited: {{shutdown,
{failed_to_start_child,'Elixir.Logger.ErrorHandler',noproc}},
{'Elixir.Logger.App',start,[normal,[]]}}
type: temporary
Could not start application logger: Logger.App.start(:normal, []) returned an error: shutdown: failed to start child: Logger.ErrorHandler
** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started
原因
- Erlang与RabbitMQ不兼容
解决方案
- 安装包
- 安装otp_win64_20.2.exe
- 安装rabbitmq-server-3.7.4.exe
- 启动成功
- Windows环境下RabbitMQ的启动和停止命令: