Permission denied for "mkdir /usr/local/sessionmanagerplugin/logs/"

0

I have a Fargate service with exec command enabled. When I ran "/bin/sh" into the container, there's this error from the docker container

seelog internal error: mkdir /usr/local/sessionmanagerplugin/logs/: permission denied

/usr/local/ folder doesn't have sessionmanagerplugin folder.

已提问 2 年前599 查看次数
1 回答
0

It seems like you do not have the Session Manager plugin installed.

Before you try to use the Fargate Exec feature, make sure you have the prerequisites mentioned in this document.

One of the prerequisites for this feature is to install Session Manager plugin for the AWS CLI. You can follow this Install the Session Manager plugin for the AWS CLI document to install the plugin.

To troubleshoot issues related to Fargate Exec feature, you can run the ECS Exec checker script to check and validate if your CLI environment and ECS cluster/task are ready for ECS Exec, by calling various AWS APIs on behalf of you.

Hope this helps!

profile pictureAWS
支持工程师
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则