最近,我将使用的ami从amzn linux更改为redhat,一旦完成,便创建了EC2,但它从未通过引导阶段,并且没有在.ebextension文件夹中运行我的配置文件。
创建的唯一日志文件是该文件/var/log/eb-cfn-init.log,它没有给我很多信息来使用
[2019-10-01T17:34:40.133Z] Completed executing install_eb_gems.
[2019-10-01T17:34:40.136Z] Ensuring healthd is not running
/tmp/ebbootstrap.sh: line 316: initctl: command not found
[2019-10-01T17:34:40.226Z] First init of instance.
[2019-10-01T17:34:40.228Z] Started executing cfn_init _OnInstanceBoot first_init.
[2019-10-01T17:34:40.231Z] Running cfn-init ConfigSet: _OnInstanceBoot.
[2019-10-01T17:34:40.235Z] Command Returned:
[2019-10-01T17:34:40.237Z] Command return code 127.
[2019-10-01T17:34:40.240Z] Tailing /var/log/eb-commandprocessor.log
******************* eb-commandprocessor taillog *******************
***eb-commandprocessor is not available yet.***
******************* End of taillog *******************````