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.

asked 2 years ago591 views
1 Answer
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
SUPPORT ENGINEER
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions