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
已提問 1 年前檢視次數 327 次
2 個答案
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
專家
已回答 1 年前
  • 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
支援工程師
Vinay_S
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南