aws-samples / aws-samples/aws-lambda-elixir-runtime

Permission denied error

オープン
#8 コメント 5 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
Elixir
スター
129
フォーク
31
PR マージ指標
30日以内にマージされた PR はありません

説明

Hi,

I followed the instructions, got everything added to a lambda function, however when I call it from the terminal I get:
`{
"StatusCode": 200,
"FunctionError": "Unhandled",
"LogResult": "U1RBUlQgUmVxdWVzdE...",
"ExecutedVersion": "$LATEST"
}`

Or directly via the "TEST" button in AWS Lambda, I get the error message:

`START RequestId: a46f2842-4561-46aa-8b81-a5284bcdc0ed Version: $LATEST

dirname /var/task/bootstrap

BASE=/var/task

EXE=/var/task/bin/hello_world

HOME=/tmp

export HOME

export RELEASE_READ_ONLY=true

RELEASE_READ_ONLY=true

export LD_LIBRARY_PATH=/lib64:/usr/lib64:/var/runtime:/var/runtime/lib:/var/task:/var/task/lib:/opt/lib:/var/task/lib/elixir_runtime-0.1.0/priv LD_LIBRARY_PATH=/lib64:/usr/lib64:/var/runtime:/var/runtime/lib:/var/task:/var/task/lib:/opt/lib:/var/task/lib/elixir_runtime-0.1.0/priv

/var/task/bin/hello_world foreground

**/var/task/bootstrap: line 16: /var/task/bin/hello_world: Permission denied**

END RequestId: a46f2842-4561-46aa-8b81-a5284bcdc0ed

REPORT RequestId: a46f2842-4561-46aa-8b81-a5284bcdc0ed Duration: 84.94 ms Billed Duration: 100 ms Memory Size: 128 MB Max Memory Used: 6 MB

RequestId: a46f2842-4561-46aa-8b81-a5284bcdc0ed Error: Runtime exited with error: exit status 126

Runtime.ExitError`

(emphasis mine)

Any idea what I'm doing wrong?

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。