EC2 Status Check Fails

0

I have launched an EC2 instance of g4dn.2xlarge type using this AMI

It was working very well but the last time I tried to start the instance and connect with it using SSH, I only the following error:

ssh: connect to host ___ port 22: Connection timed out

Then I found that the status check fails with the instance reachability check failed error as shown in the following figure. instance reachability check failed error

I tried to look up a solution to this problem and I found those two posts: https://repost.aws/knowledge-center/ec2-linux-system-status-check-failure https://repost.aws/knowledge-center/ec2-linux-status-check-failure

And I tried to stop and start the instance and reboot it as mentioned in the previous links and waited for a day and tried again but with no luck.

After that, I tried to look into the system log of the instance and found the following issues:

  1. nvidia: module verification failed: signature and/or required key missing - tainting kernel
  2. Failed to start apply_instance_tag_service AWS Helper Service. See 'systemctl status apply_instance_tag_service.service' for details. Unmounting RPC Pipe File System..

Is there any other way to fix this problem and be able to connect to the instance?

Heba
已提問 1 年前檢視次數 556 次
1 個回答
0

Based on the information you have shared, your instance might have booted in emergency mode. Reasons could be:

  1. A corrupted kernel.
  2. Auto-mount failures because of incorrect entries in the /etc/fstab.

You will need to launch the rescue instance and attach the current instance root volume into rescue instance to check and correct the /etc/fstab file. I would request you to follow the "Method 3: Manually edit the file using a rescue instance" mentioned in the following document to correct the entries in /etc/fstab.

https://aws.amazon.com/premiumsupport/knowledge-center/ec2-linux-emergency-mode/

profile pictureAWS
Vikram
已回答 1 年前
  • Thanks for sharing this information. But the system log of the EC2 instance does not include any kernel panic or dependency failure errors. Are you sure this solution is suitable for my problem?

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南