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
gefragt vor einem Jahr327 Aufrufe
2 Antworten
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
EXPERTE
beantwortet vor einem Jahr
  • 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
SUPPORT-TECHNIKER
Vinay_S
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen