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
asked a year ago315 views
2 Answers
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
EXPERT
answered a year ago
  • 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 ENGINEER
Vinay_S
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions