resolve the problem for failed to launch when the aws ec2 upgrade

  Seves

Link to this article:resolve the problem for failed to launch when the aws ec2 upgrade

This article is to introduce how to resolve the problem for failed to launch when the aws ec2 upgrade.

look the ec2 logs,if find anything which contens "Failed to start LSB: Bring up/down networking.":

psb12png

1.unmount the root device, open a new ec2 instance, mount the root device as "/mnt/data1" or others.

2.rename the "/mnt/data1/etc/sysconfig/network-scripts/ifcfg-eth0" to the failed network name such as "ens3" on the above picture,the command is :

 mv /mnt/data1/etc/sysconfig/network-scripts/ifcfg-eth0 /mnt/data1/etc/sysconfig/network-scripts/ifcfg-ens3


3.modify the file "/mnt/data1/etc/sysconfig/network-scripts/ifcfg-ens3" , rename the "eth0" to the failed network name such as "ens3" on the above picture.

4.umount the device "/mnt/data1",mount it to the original server,and start it.

本文链接:https://www.tech-field.org/resolve-the-problem-for-failed-to-launch-when-the-aws-ec2-upgrade.html

fc