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.

posta 2 anni fa599 visualizzazioni
1 Risposta
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
TECNICO DI SUPPORTO
con risposta 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande