Ubuntu 16.04中的RabbitMQ安装失败

时间:2018-11-05 13:21:33

标签: installation rabbitmq

RabbitMQ安装失败,并出现以下错误。

sudo apt-get install rabbitmq-server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
rabbitmq-server is already the newest version (3.6.15-1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up rabbitmq-server (3.6.15-1) ...
Job for rabbitmq-server.service failed because the control process exited with error code. See "systemctl status rabbitmq-server.service" and "journalctl -xe" for details.
invoke-rc.d: initscript rabbitmq-server, action "start" failed.
● rabbitmq-server.service - RabbitMQ broker
   Loaded: loaded (/lib/systemd/system/rabbitmq-server.service; enabled; vendor preset: enabled)
   Active: activating (auto-restart) (Result: exit-code) since Mon 2018-11-05 18:48:02 IST; 4ms ago
  Process: 24173 ExecStop=/bin/sh -c while ps -p $MAINPID >/dev/null 2>&1; do sleep 1; done (code=exited, status=0/SUCCESS)
  Process: 24021 ExecStop=/usr/lib/rabbitmq/bin/rabbitmqctl stop (code=exited, status=0/SUCCESS)
  Process: 23697 ExecStart=/usr/lib/rabbitmq/bin/rabbitmq-server (code=exited, status=1/FAILURE)
 Main PID: 23697 (code=exited, status=1/FAILURE)

Nov 05 18:48:02 197nodnb22235 systemd[1]: Failed to start RabbitMQ broker.
Nov 05 18:48:02 197nodnb22235 systemd[1]: rabbitmq-server.service: Unit entered failed state.
Nov 05 18:48:02 197nodnb22235 systemd[1]: rabbitmq-server.service: Failed with result 'exit-code'.
dpkg: error processing package rabbitmq-server (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 rabbitmq-server
E: Sub-process /usr/bin/dpkg returned an error code (1)

请帮助

Ps:我已经在笔记本电脑上安装了tomcat。(可能是由于端口阻塞所致。)

0 个答案:

没有答案