Amazon Linux 2 AMI (HVM) - Kernel 5.10, SSD Volume Type (ami-03195e1b4a3b0b993) の aarch64 で作成した EC2 インスタンスで、/bin/bash が見つからずにサーバーが起動できないバグがありました。
以下にログを貼っておきます。
Dec 01 15:17:04 ip-10-0-0-41.ap-northeast-1.compute.internal systemd[1]: Started Minecraft Spigot Server.
Dec 01 15:17:04 ip-10-0-0-41.ap-northeast-1.compute.internal systemd[973]: Failed at step CHDIR spawning /bin/bash: No such file or directory
Dec 01 15:17:04 ip-10-0-0-41.ap-northeast-1.compute.internal systemd[1]: spigot.service: main process exited, code=exited, status=200/CHDIR
Dec 01 15:17:04 ip-10-0-0-41.ap-northeast-1.compute.internal systemd[1]: Unit spigot.service entered failed state.
Dec 01 15:17:04 ip-10-0-0-41.ap-northeast-1.compute.internal systemd[1]: spigot.service failed.
Dec 01 15:17:04 ip-10-0-0-41.ap-northeast-1.compute.internal systemd[1]: spigot.service holdoff time over, scheduling restart.
Dec 01 15:17:04 ip-10-0-0-41.ap-northeast-1.compute.internal systemd[1]: Stopped Minecraft Spigot Server.
この AMI で起動した EC2 で which bash すると、/usr/bin/bash と出力されることから、どうやら bash のデフォルトのインストール先が変わったようです。
Amazon Linux 2 AMI (HVM) - Kernel 5.10, SSD Volume Type (ami-03195e1b4a3b0b993) の aarch64 で作成した EC2 インスタンスで、
/bin/bash
が見つからずにサーバーが起動できないバグがありました。以下にログを貼っておきます。
この AMI で起動した EC2 で
which bash
すると、/usr/bin/bash
と出力されることから、どうやら bash のデフォルトのインストール先が変わったようです。