Error during startup: {error,
{could_not_write_file,
"/var/lib/rabbitmq/mnesia/rabbit@my-rabbit/cluster_nodes.config",
enospc}}
2020-08-28 05:59:59.037 [error]
2020-08-28 05:59:59.037 [error] BOOT FAILED
2020-08-28 05:59:59.037 [error] ===========
2020-08-28 05:59:59.037 [error] Error during startup: {error,
2020-08-28 05:59:59.038 [error] {could_not_write_file,
2020-08-28 05:59:59.038 [error] "/var/lib/rabbitmq/mnesia/rabbit@my-rabbit/cluster_nodes.config",
2020-08-28 05:59:59.038 [error] enospc}}
2020-08-28 05:59:59.038 [error]
2020-08-28 05:59:59.380 [debug] Lager installed handler lager_backend_throttle into lager_event
2020-08-28 06:00:00.056 [error] CRASH REPORT Process with 0 neighbours exited with reason: {{could_not_write_file,"/var/lib/rabbitmq/mnesia/rabbit@my-rabbit/cluster_nodes.config",enospc},{rabbit,start,[normal,[]]}} in application_master:init/4 line 138
2020-08-28 06:00:00.056 [info] Application rabbit exited with reason: {{could_not_write_file,"/var/lib/rabbitmq/mnesia/rabbit@my-rabbit/cluster_nodes.config",enospc},{rabbit,start,[normal,[]]}}
{"Kernel pid terminated",application_controller,"{application_start_failure,rabbit,{{could_not_write_file,"/var/lib/rabbitmq/mnesia/rabbit@my-rabbit/cluster_nodes.config",enospc},{rabbit,start,[normal,[]]}}}"}
Kernel pid terminated (application_controller) ({application_start_failure,rabbit,{{could_not_write_file,"/var/lib/rabbitmq/mnesia/rabbit@my-rabbit/cluster_nodes.config",enospc},{rabbit,start,[normal,
Crash dump is being written to: /var/log/rabbitmq/erl_crash.dump...done
解决方式:
1.查看磁盘空间 df -h
发现磁盘空间已经满了。清理文件。
2.清理文件方法,进入各个目录后执行如下命令查看磁盘占用情况
du -sh *
docker日志占用的最多,用如下命令清空
cat /dev/null > /var/lib/docker/containers/23e118c20629a57b7ee4f5154e6e87af14c4e052db647a6088c8a93b4eb088c2/23e118c20629a57b7ee4f5154e6e87af14c4e052db647a6088c8a93b4eb088c2-json.log
使用 df -h查看磁盘空间已变大。
3.重新启动rabbitmq
版权归原作者 ROBOT玲玉 所有, 如有侵权,请联系我们删除。