e profile role credentials. Err: retrieved credentials failed to report to ssm. Error: EC2RoleRequestError: no EC2 instance role found May 31 00:39:40 ip-172-31-29-215 amazon-ssm-agent.amazon-ssm-agent[1875640]: 2025-05-31 00:39:40.4492 ERROR EC2RoleProvider Failed to connect to Systems Manager with SSM role credentials. error calling RequestManagedInstanceRoleToken: AccessDeniedException: Systems Manager's instance management role is not configured for account: 227937466084 May 31 00:39:40 ip-172-31-29-215 amazon-ssm-agent.amazon-ssm-agent[1875640]: #011status code: 400, request id: c5b47fbd-1b28-4e0f-a1c2-f64ae64436b7 May 31 00:40:01 ip-172-31-29-215 CRON[2317832]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp) May 31 01:00:01 ip-172-31-29-215 CRON[2317881]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp) May 31 01:06:19 ip-172-31-29-215 systemd[1]: Starting Daily apt download activities... May 31 01:06:50 ip-172-31-29-215 apt-helper[2318089]: E: Sub-process nm-online returned an error code (1) May 31 01:06:50 ip-172-31-29-215 systemd[1]: Starting Update APT News... May 31 01:06:50 ip-172-31-29-215 systemd[1]: Starting Update the local ESM caches... May 31 01:06:50 ip-172-31-29-215 systemd[1]: apt-news.service: Succeeded. May 31 01:06:50 ip-172-31-29-215 systemd[1]: Finished Update APT News. May 31 01:06:51 ip-172-31-29-215 systemd[1]: esm-cache.service: Succeeded. May 31 01:06:51 ip-172-31-29-215 systemd[1]: Finished Update the local ESM caches. May 31 01:06:51 ip-172-31-29-215 dbus-daemon[475]: [system] Activating via systemd: service name='org.freedesktop.PackageKit' unit='packagekit.service' requested by ':1.23238' (uid=0 pid=2318692 comm="/usr/bin/gdbus call --system --dest org.freedeskto" label="unconfined") May 31 01:06:51 ip-172-31-29-215 systemd[1]: Starting PackageKit Daemon... May 31 01:06:51 ip-172-31-29-215 PackageKit: daemon start May 31 01:06:51 ip-172-31-29-215 dbus-daemon[475]: [system] Successfully activated service 'org.freedesktop.PackageKit' May 31 01:06:51 ip-172-31-29-215 systemd[1]: Started PackageKit Daemon. May 31 01:07:02 ip-172-31-29-215 systemd[1]: apt-daily.service: Succeeded. May 31 01:07:02 ip-172-31-29-215 systemd[1]: Finished Daily apt download activities. May 31 01:07:32 ip-172-31-29-215 amazon-ssm-agent.amazon-ssm-agent[1875640]: 2025-05-31 01:07:32.4509 WARN EC2RoleProvider Failed to connect to Systems Manager with instance profile role credentials. Err: retrieved credentials failed to report to ssm. Error: EC2RoleRequestError: no EC2 instance role found May 31 01:07:32 ip-172-31-29-215 amazon-ssm-agent.amazon-ssm-agent[1875640]: 2025-05-31 01:07:32.4902 ERROR EC2RoleProvider Failed to connect to Systems Manager with SSM role credentials. error calling RequestManagedInstanceRoleToken: AccessDeniedException: Systems Manager's instance management role is not configured for account: 227937466084 May 31 01:07:32 ip-172-31-29-215 amazon-ssm-agent.amazon-ssm-agent[1875640]: #011status code: 400, request id: 046a83ba-3ec8-46a0-8ceb-87509cf8ed96 May 31 01:09:01 ip-172-31-29-215 CRON[2318852]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi) May 31 01:09:02 ip-172-31-29-215 systemd[1]: Starting Clean php session files... May 31 01:09:02 ip-172-31-29-215 sessionclean[2318865]: Cannot load Xdebug - it was already loaded May 31 01:09:02 ip-172-31-29-215 sessionclean[2318865]: PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_sqlsrv.so' (tried: /usr/lib/php/20190902/pdo_sqlsrv.so (/usr/lib/php/20190902/pdo_sqlsrv.so: undefined symbol: php_pdo_unregister_driver), /usr/lib/php/20190902/pdo_sqlsrv.so.so (/usr/lib/php/20190902/pdo_sqlsrv.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 May 31 01:09:02 ip-172-31-29-215 sessionclean[2318865]: PHP Warning: Moduin:Discovered plugins: PluginsRegistry(PluginEntryPoint#apache,PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot) 2025-05-31 03:16:15,915:DEBUG:certbot.log:Root logging level set at 30 2025-05-31 03:16:15,917:INFO:certbot.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log 2025-05-31 03:16:15,923:DEBUG:certbot.plugins.selection:Requested authenticator and installer 2025-05-31 03:16:15,931:INFO:certbot.renewal:Cert not yet due for renewal 2025-05-31 03:16:15,931:DEBUG:certbot.plugins.selection:Requested authenticator apache and installer apache 2025-05-31 03:16:15,932:DEBUG:certbot.plugins.selection:Selecting plugin: * apache Description: Apache Web Server plugin Interfaces: IAuthenticator, IInstaller, IPlugin Entry point: apache = certbot_apache.entrypoint:ENTRYPOINT Initialized: 2025-05-31 03:16:15,932:DEBUG:certbot.plugins.storage:Plugin storage file /etc/letsencrypt/.pluginstorage.json was empty, no values loaded 2025-05-31 03:16:15,936:INFO:certbot.renewal:Cert not yet due for renewal 2025-05-31 03:16:15,936:DEBUG:certbot.plugins.selection:Requested authenticator apache and installer apache 2025-05-31 03:16:15,937:DEBUG:certbot.plugins.selection:Selecting plugin: * apache Description: Apache Web Server plugin Interfaces: IAuthenticator, IInstaller, IPlugin Entry point: apache = certbot_apache.entrypoint:ENTRYPOINT Initialized: 2025-05-31 03:16:15,937:DEBUG:certbot.plugins.storage:Plugin storage file /etc/letsencrypt/.pluginstorage.json was empty, no values loaded 2025-05-31 03:16:15,937:DEBUG:certbot.renewal:no renewal failures 2025-05-31 14:41:00,581:DEBUG:certbot.main:certbot version: 0.40.0 2025-05-31 14:41:00,582:DEBUG:certbot.main:Arguments: ['-q'] 2025-05-31 14:41:00,582:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#apache,PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot) 2025-05-31 14:41:00,590:DEBUG:certbot.log:Root logging level set at 30 2025-05-31 14:41:00,591:INFO:certbot.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log 2025-05-31 14:41:00,597:DEBUG:certbot.plugins.selection:Requested authenticator and installer 2025-05-31 14:41:00,605:INFO:certbot.renewal:Cert not yet due for renewal 2025-05-31 14:41:00,606:DEBUG:certbot.plugins.selection:Requested authenticator apache and installer apache 2025-05-31 14:41:00,606:DEBUG:certbot.plugins.selection:Selecting plugin: * apache Description: Apache Web Server plugin Interfaces: IAuthenticator, IInstaller, IPlugin Entry point: apache = certbot_apache.entrypoint:ENTRYPOINT Initialized: 2025-05-31 14:41:00,606:DEBUG:certbot.plugins.storage:Plugin storage file /etc/letsencrypt/.pluginstorage.json was empty, no values loaded 2025-05-31 14:41:00,610:INFO:certbot.renewal:Cert not yet due for renewal 2025-05-31 14:41:00,611:DEBUG:certbot.plugins.selection:Requested authenticator apache and installer apache 2025-05-31 14:41:00,611:DEBUG:certbot.plugins.selection:Selecting plugin: * apache Description: Apache Web Server plugin Interfaces: IAuthenticator, IInstaller, IPlugin Entry point: apache = certbot_apache.entrypoint:ENTRYPOINT Initialized: 2025-05-31 14:41:00,611:DEBUG:certbot.plugins.storage:Plugin storage file /etc/letsencrypt/.pluginstorage.json was empty, no values loaded 2025-05-31 14:41:00,611:DEBUG:certbot.renewal:no renewal failures