5

Background:
Some time ago I have an instance on Amazon Web Services EC2, loaded with Ubuntu version 10.x. As soon as version 11 came out, I decided to upgrade it. I did, and everything seemed fine. I even restarted Ubuntu itself (just the OS itself, not the instance), and it worked again. But when I stopped and started the instance itself, Ubuntu would not work again ever.

Reason:
I imagine the reason: Ubuntu must have had some kind of "interface software" (so to say) to communicate itself with the virtualization software outside. For example, when we restart the whole instance and it gets a new IP address, there must be a way for the virtualization software to communicate with Ubuntu and tell it what is the new IP address so Ubuntu will boot knowing it. So I guess that when we start our instance using a preloaded well known AMI, that AMI contains an Ubuntu installation that already include that interface software inside. So I guess that when I upgraded Ubuntu from 10.x to 11, that software inside was lost.

Question:
Is there a way to know how to install again that component/module/package (or whatever the name is) just after I upgraded the instance, so it will work again when I restart the whole instance? I don't want to be forced to create a new Ubuntu instance from scratch, from a new AMI, if I want to upgrade. I would hate to install all my software again.

4

1 回答 1

2

我不认为 Amazon Images 有这样的东西,我宁愿期望某些更改确实阻止了某些服务在更新的 Ubuntu 中启动,从而导致实例变得不可用。过去我在 sshd 上遇到过这样的问题,这导致实例像您描述的那样不可用。

Amazon AWS 控制台中,您可以查看实例的引导日志。这可能会为您提供有关实例不再启动的原因的一些信息。

Amazon AWS 控制台 - 系统日志

于 2012-09-05T08:00:08.120 回答