我正在尝试启动 RabbitMQ 服务器。无论我如何操作,都会收到此错误:
Starting rabbitmq-server: FAILED - check /var/log/rabbitmq/startup_{log, _err}
rabbitmq-server.
invoke-rc.d: initscript rabbitmq-server, action "start" failed.
dpkg: error processing rabbitmq-server (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
rabbitmq-server
sE: Sub-process /usr/bin/dpkg returned an error code (1)
我尝试使用以下方法修复损坏的软件包:
$ sudo apt-get update --fix-missing
$ sudo dpkg --configure -a
$ sudo apt-get install -f
甚至手动编辑/var/lib/dpkg/status
。我还发现这,并修改了我的hosts
文件。尽管我仍然遇到同样的问题:
sE: Sub-process /usr/bin/dpkg returned an error code (1)
不知道该怎么办。有人知道吗?
谢谢。