OCI Windows: OS Management Hub Agent Running with errors failed to start osmh-agent during bootstrap
in Linux
Applies to:
Windows 2019 and Later
Platfrom x64
Symptoms:
Enabling the OS Management Hub Agent results in Access is denied
2024/07/23 11:57:14.114096 workflow.go:20: [INFO] Executing step: *core.UnzipImageStep
2024/07/23 11:57:14.236676 file_utils.go:286: [ERROR] failed to delete dir C:\Windows\ServiceProfiles\OCAOSMH\AppData\Local\OracleCloudAgent\plugins\oci-osmh\osmh-agent\240627.1731 with error: remove C:\Windows\ServiceProfiles\OCAOSMH\AppData\Local\OracleCloudAgent\plugins\oci-osmh\osmh-agent\240627.1731: The process cannot access the file because it is being used by another process.
2024/07/23 11:57:14.236676 workflow.go:23: [ERROR] step [*core.UnzipImageStep] execution failed with [unzip image failed with [rename C:\Windows\ServiceProfiles\OCAOSMH\AppData\Local\OracleCloudAgent\plugins\oci-osmh\osmh-agent\unzipped C:\Windows\ServiceProfiles\OCAOSMH\AppData\Local\OracleCloudAgent\plugins\oci-osmh\osmh-agent\240627.1731: Access is denied.]]
Tagged:
0