ubuntu 22.04 系统,运行RabbitMQ启动命令"service rabbitmq-server start"时出错,提示如下:- root@mq00b34:~# service rabbitmq-server start
- Job for rabbitmq-server.service failed because the control process exited with error code.
- See "systemctl status rabbitmq-server.service" and "journalctl -xeu rabbitmq-server.service" for details.
- root@mq00b34:~#
复制代码
根据提示,执行了 journalctl -xe ,定位到详细的报错日志信息;
通过这个执行到命令行后,会打印出非常多的问题信息,让我们继续往下定位到ERROR处:
- Feb 13 17:41:16 mqc07ad rabbitmq-server[126077]: 17:41:16.280 [error] {gen_server,init_it,6,
- Feb 13 17:41:16 mqc07ad rabbitmq-server[126077]: {gen_server,init_it,6,
- Feb 13 17:41:16 mqc07ad rabbitmq-server[126077]: 17:41:16.280 [error] [{file,"gen_server.erl"},{line,390}]},
- Feb 13 17:41:16 mqc07ad rabbitmq-server[126077]: [{file,"gen_server.erl"},{line,390}]},
- Feb 13 17:41:16 mqc07ad rabbitmq-server[126077]: 17:41:16.280 [error] {proc_lib,init_p_do_apply,3,
- Feb 13 17:41:16 mqc07ad rabbitmq-server[126077]: {proc_lib,init_p_do_apply,3,
- Feb 13 17:41:16 mqc07ad rabbitmq-server[126077]: 17:41:16.280 [error] [{file,"proc_lib.erl"},{line,226}]}]}}},
- Feb 13 17:41:16 mqc07ad rabbitmq-server[126077]: [{file,"proc_lib.erl"},{line,226}]}]}}},
- Feb 13 17:41:16 mqc07ad rabbitmq-server[126077]: 17:41:16.280 [error] {child,undefined,net_sup_dynamic,
- Feb 13 17:41:16 mqc07ad rabbitmq-server[126077]: {child,undefined,net_sup_dynamic,
- Feb 13 17:41:16 mqc07ad rabbitmq-server[126077]: 17:41:16.280 [error] {erl_distribution,start_link,
- Feb 13 17:41:16 mqc07ad rabbitmq-server[126077]: {erl_distribution,start_link,
- Feb 13 17:41:16 mqc07ad rabbitmq-server[126077]: 17:41:16.281 [error] [[rabbit_prelaunch_126077@localhost,shortnames],
- Feb 13 17:41:16 mqc07ad rabbitmq-server[126077]: [[rabbit_prelaunch_126077@localhost,shortnames],
- Feb 13 17:41:16 mqc07ad rabbitmq-server[126077]: 17:41:16.281 [error] false,net_sup_dynamic]},
- Feb 13 17:41:16 mqc07ad rabbitmq-server[126077]: false,net_sup_dynamic]},
- Feb 13 17:41:16 mqc07ad rabbitmq-server[126077]: 17:41:16.281 [error] permanent,false,1000,supervisor,
- Feb 13 17:41:16 mqc07ad rabbitmq-server[126077]: permanent,false,1000,supervisor,
- Feb 13 17:41:16 mqc07ad rabbitmq-server[126077]: 17:41:16.281 [error] [erl_distribution]}}}}
- Feb 13 17:41:16 mqc07ad rabbitmq-server[126077]: [erl_distribution]}}}}
复制代码
|
|