aws patch manager error

0

when I scan my ec2 machine using aws patch manager, I am getting this error

[ERROR]:Error loading entrance module. Traceback (most recent call last):

File "/var/log/amazon/ssm/patch-baseline-operations/common_os_selector_methods.py", line 125, in _get_snapshot_info

ssm_client = client_selector.get_default_client(instance_id, region, "ssm")

File "/var/log/amazon/ssm/patch-baseline-operations/patch_common/client_selector.py", line 61, in get_default_client

Ram
feita há um ano327 visualizações
2 Respostas
0

The error you're encountering seems to be a problem with the Amazon SSM Agent or the Patch Manager script.

Verify the Amazon SSM Agent version:

sudo amazon-ssm-agent -version

Verify the instance IAM role: Ensure that your EC2 instance has the necessary IAM role and permissions to use Patch Manager

if both does not work for you

please check the agent logs /var/log/amazon/ssm on your instance

profile picture
ESPECIALISTA
respondido há um ano
  • Thanks ! everything is fine, error solved after run update command

0

Hello,

Please make sure that only one patch task is active on the instance at a time. This type of error generally occurs when multiple patch tasks are active on an instance.

Hope this helps.

AWS
ENGENHEIRO DE SUPORTE
Vinay_S
respondido há um ano

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