FAQ
Q: 無法啟動 node 服務
Application rabbit exited with reason: {{could_not_write_file,"/var/lib/rabbitmq/mnesia/rabbit@tpeeaprmq982/cluster_nodes.config",enospc},{rabbit,start,[normal,[]]}}
Solution:
[root@tpeeaprmq981 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 1.8G 0 1.8G 0% /dev
tmpfs 1.8G 4.0K 1.8G 1% /dev/shm
tmpfs 1.8G 24M 1.8G 2% /run
tmpfs 1.8G 0 1.8G 0% /sys/fs/cgroup
/dev/mapper/rootvg-rootlv 9.0G 4.0G 5.1G 45% /
/dev/sda2 1014M 344M 671M 34% /boot
/dev/sda1 599M 5.8M 594M 1% /boot/efi
/dev/mapper/rootvg-mqdatalv 5.0G 5.0G 20K 100% /var/lib/rabbitmq
/dev/mapper/rootvg-homelv 507M 30M 478M 6% /home
/dev/mapper/rootvg-worktmp 507M 46M 462M 9% /worktmp
/dev/mapper/rootvg-optlv 2.0G 997M 1.1G 49% /opt
tmpfs 364M 0 364M 0% /run/user/0
[root@tpeeaprmq981 ~]#
[root@tpeeaprmq981 ~]#
[root@tpeeaprmq981 ~]# du -csh /var/lib/rabbitmq/mnesia/*
204K /var/lib/rabbitmq/mnesia/rabbit@rmq981
4.0K /var/lib/rabbitmq/mnesia/rabbit@rmq981-feature_flags
0 /var/lib/rabbitmq/mnesia/rabbit@rmq981-plugins-expand
300K /var/lib/rabbitmq/mnesia/rabbit@tpeeaprmq98
5.0G /var/lib/rabbitmq/mnesia/rabbit@tpeeaprmq981
4.0K /var/lib/rabbitmq/mnesia/rabbit@tpeeaprmq981-feature_flags
0 /var/lib/rabbitmq/mnesia/rabbit@tpeeaprmq981-plugins-expand
4.0K /var/lib/rabbitmq/mnesia/rabbit@tpeeaprmq98-feature_flags
0 /var/lib/rabbitmq/mnesia/rabbit@tpeeaprmq98-plugins-expand
5.0G total