重建Azure Arc VM時碰到Arc proxy服務錯誤

重建Azure Arc VM時碰到Arc proxy服務錯誤

因為某些原因,我們要重建 Azure Arc VM,在執行指令時一直碰到一個 Arc proxy 錯誤。我們利用 azcmagent check 測試指令來還原錯誤:

$ azcmagent check --location eastasia
INFO    Cloud: AzureCloud
INFO    Testing connectivity to endpoints that are needed to connect to Azure... This might take a few minutes.
INFO    Please start the Arc proxy service. It may have been intentionally stopped. Check the arcproxy.log and event log (Windows) or journal log (Linux) to understand why the Arc proxy is not running.
INFO    For more troubleshooting tips, please refer to https://aka.ms/arc/azcmerror
INFO    AZCM0004: Arc Proxy Not Running
FATAL   Arc proxy is expected to be running, but it is not (current status: activating)