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
preguntada hace un año327 visualizaciones
2 Respuestas
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
EXPERTO
respondido hace un año
  • 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
INGENIERO DE SOPORTE
Vinay_S
respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas