systemmanager - status code 127

0

When running a shell script using system manager, I get a failed status code of 127. If I run the shell script directly to the server (Amazon Linux 2 - 2023 ami), it works properly. I assume that certain permissions difficulties exist for that particular file directory. Could someone please assist in resolving the issue?

Error :

sh: line 1: /var/lib/amazon/ssm/i-0e6bbd5cbbbb80dd6/document/orchestration/a1ffe36b-8ce9-4f46-b7b2-5f8475b349d5/awsrunShellScript/0.awsrunShellScript/_script.sh: cannot execute: required file not found
failed to run commands: exit status 127
已提問 3 個月前檢視次數 50 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南