WHM EC2 Instance Instance reachability check failed

0

Hi,

I just got a new GP3 volume from EBS and i was trying to mount it the disk onto my server.

Here are the steps i took before this issue happened:

  1. I made some changes to the /dev/fstab file in order to assign the disk to a home directory.
  2. I did a graceful reboot through the WHM system
  3. The graceful reboot took too long , up to 30 mins to 1 hour
  4. Stopped the instance in EC2 Console
  5. Stuck at stopping for 30 mins
  6. Force stopped the instance , after 20mins it stopped
  7. Tried starting the instance again but failed the status check
  8. Now i cannot access the WHM backend

Please advise on what i can do to remedy this thank you in advance

Donovan
질문됨 7달 전277회 조회
2개 답변
4

Hello,

Try to retrieve the system log,

Open the Amazon EC2 console,

In the navigation pane, choose Instances, and select your instance.

Choose Instance state, Reboot instance. It might take a few minutes for your instance to reboot.

Verify that the problem still exists; in some cases, rebooting may resolve the problem.

When the instance is in the running state, choose Actions, Monitor and troubleshoot, Get system log.

Review the log that appears on the screen, and use the list of known system log error statements below to troubleshoot your issue.

Based on the error in the system log, you have to perform the troubleshooting steps. I presume that your case might be due to any issue in the mount volume configuration which affects the OS boot up program.

So,

  1. if find any error noted in the system log, you can follow this link to troubleshoot them. - https://repost.aws/knowledge-center/ec2-linux-status-check-failure

  2. If you are unable to find/fix the issue, then you can try to manually rescue the instance by following this steps - https://repost.aws/knowledge-center/ec2-linux-status-check-failure-os-errors

Good luck!

AWS
지원 엔지니어
답변함 7달 전
2
수락된 답변

Hi,

Thank you for the answer! As I suspected, it is due to the change to the fstab configuration that caused the boot to fail when starting the instance. I used the serial console to connect to access the fstab file to reverse what i did. It is working now! Thanks for the answer!

And for future users, you can just manually mount the disk without using the fstab boot configuration file to auto mount the disk for you. I think that would be better for most beginners.

Donovan
답변함 7달 전
profile pictureAWS
전문가
검토됨 7달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠