我有一个Amazon AWS实例在重启后挂起。 我可以通过AWS控制面板中的“系统日志”来了解它是否在等待我键入我的SSL密码:
... [80G [74G[ OK ] * Starting periodic command scheduler crond [80G [74G[ OK ] * Starting web server apache2 Apache/2.2.8 mod_ssl/2.2.8 (Pass Phrase Dialog) Some of your private key files are encrypted for security reasons. In order to read them you have to provide the pass phrases. Server xxxxxxxxx.xxx:443 (RSA) Enter pass phrase:
所以如果我尝试SSH到服务器,我得到一个超时。 有什么办法可以解决这个问题吗? 也许禁用apache从某种程度上加载,直到我可以SSH进入它自己做?
(假设EBS支持)我的想法是,你可能将不得不停止实例,并在另一个实例上挂载EBS卷。 安装完成后,使用该Apache SSL进行一些操作(禁止引导,禁用SSL等)。 卸载该卷并重新启动EBS支持的实例。