我试图从最近16小时开始安装rabbitmq,并通过以下命令在ubunutu 18和16.04上进行尝试:
https://gist.github.com/fernandoaleman/72f0ad39e11915c0077d544b50096b50
我不知道为什么它没有开始:
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 Wed 2018-10-31 05:19:15 EDT; 11ms ago
Process: 723 ExecStop=/bin/sh -c while ps -p $MAINPID >/dev/null 2>&1; do sleep 1; done (code=exited, status=0/SUCCESS)
Process: 340 ExecStop=/usr/lib/rabbitmq/bin/rabbitmqctl stop (code=exited, status=0/SUCCESS)
Process: 32210 ExecStart=/usr/lib/rabbitmq/bin/rabbitmq-server (code=exited, status=1/FAILURE)
Main PID: 32210 (code=exited, status=1/FAILURE)
Oct 31 05:19:15 vps47024 systemd[1]: Failed to start RabbitMQ broker.
Oct 31 05:19:15 vps47024 systemd[1]: rabbitmq-server.service: Unit entered ...e.
Oct 31 05:19:15 vps47024 systemd[1]: rabbitmq-server.service: Failed with r...'.
Hint: Some lines were ellipsized, use -l to show in full.
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)
我也尝试过
https://www.howtoinstall.co/en/ubuntu/trusty/rabbitmq-server?action=remove
但是还是同样的问题。
请帮助我!