我更改了rabbitmq的磁盘限制,但现在无法重新启动它。

时间:2018-07-11 09:56:44

标签: rabbitmq rabbitmq-exchange rabbitmqctl

我对RabbitMQ非常陌生。我收到磁盘限制已满错误,因此我想更改磁盘限制。我依次执行以下命令:

#1. rabbitmqctl set_disk_free_limit 1GB
#2. sudo systemctl stop rabbitmq-server.service
#3. sudo systemctl disable rabbitmq-server.service
#4. sudo systemctl start rabbitmq-server.service  --> failing

我看到Rabbitmq进程仍在运行(通过使用top命令)。所以我执行以下命令:

#5. sudo service rabbitmq-server stop
#6 sudo service rabbitmq-server start --> failing

我遇到以下错误:

> Jul 11 15:13:37 sk-backend-vm rabbitmq-server[31810]:              
> Starting broker... Jul 11 15:13:40 sk-backend-vm
> rabbitmq-server[31810]: erl_child_setup closed Jul 11 15:13:40
> sk-backend-vm rabbitmq-server[31810]: [1B blob data] Jul 11 15:13:40
> sk-backend-vm rabbitmq-server[31810]: Crash dump is being written to:
> /var/log/rabbitmq/erl_crash.dump...done Jul 11 15:13:40 sk-backend-vm
> systemd[1]: rabbitmq-server.service: Main process exited, code=exited,
> status=1/FAILURE Jul 11 15:13:40 sk-backend-vm systemd[1]: Stopped
> RabbitMQ broker. Jul 11 15:13:40 sk-backend-vm systemd[1]:
> rabbitmq-server.service: Unit entered failed

您能在这里帮我吗?我很困。

0 个答案:

没有答案