我正在尝试将代码部署在EB上,但出现此错误:
Engine execution has encountered an error.
我可以部署应用程序的早期版本。但是,在添加与dynamodb相关的代码之后,我将无法再部署最新版本。不确定是否相关。我该如何挖掘更多?
日志显示:
startProcess Failure: starting process "web" failed: Command /bin/sh -c systemctl start web.service failed with error exit status 1. Stderr:Job for web.service failed because the control process exited with error code. See "systemctl status web.service" and "journalctl -xe" for details.
答案 0 :(得分:0)
我通常的故障排除步骤与 AWS Elastic Beanstalk Troubleshooting doc 中的步骤相同:
此问题中的错误消息建议在实例上运行这些命令:
systemctl status web.service
journalctl -xe