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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠