Instance reachability check failed after yum update

0

Hi I've yum updated our amazon Linux today and rebooted it then can not access it any more. Then I replaced the root volume from snapshot. it's Status check stuck in Initializing for a while then Status check say"1/2 checks passed". please help. thank you.

Robbert
asked 23 days ago134 views
2 Answers
2

Hi Robbert,

Please try this solution it will be helpful for you and please look at AWS Document link you will get more information.

Step:1 Stop the instance from the EC2 console, detach the root volume, and attach it to another healthy instance.

Step:2 SSH into the healthy instance and mount the detached volume to inspect system logs located in **/mnt/temp/var/log/**for any errors.

Step:3 If you identify any problematic services, disable them using systemctl disable.

Step:4 If the issue is due to a kernel update, set the instance to boot from an older kernel by modifying the GRUB configuration After making the necessary changes detach the volume from the healthy instance and reattach it to the original instance.

Step:5 Finally start the original instance and check if the issue is resolved. If the problem persists, consider rolling back recent updates using yum history undo.

https://repost.aws/knowledge-center/ec2-linux-status-check-failure

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/troubleshoot-unreachable-instance.html#instance-console-console-output

answered 23 days ago
0

Hello.

Please check the OS system log etc. to see if there are any error messages.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/troubleshoot-unreachable-instance.html#instance-console-console-output

I think it is possible that some kind of system was damaged after the update was executed.
There are several reasons why the instance status check may fail, so please check if the following documents apply to you.
https://repost.aws/knowledge-center/ec2-linux-status-check-failure

profile picture
EXPERT
answered 23 days ago
profile picture
EXPERT
A_J
reviewed 22 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions