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.

feita há 2 anos599 visualizações
1 Resposta
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
ENGENHEIRO DE SUPORTE
respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas