Skip to content

Commit 9499d6e

Browse files
[Doc-a-thon] Updating restore-point-troubleshooting.md
Updating Linux commands in Linux section to use moderm commands with sudo and flagged those as bash commands
1 parent 8ad677c commit 9499d6e

File tree

1 file changed

+39
-25
lines changed

1 file changed

+39
-25
lines changed

articles/virtual-machines/restore-point-troubleshooting.md

Lines changed: 39 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Troubleshoot restore point failures
33
description: Symptoms, causes, and resolutions of restore point failures related to agent, extension, and disks.
44
ms.topic: troubleshooting
5-
ms.date: 07/13/2022
5+
ms.date: 04/12/2023
66
ms.service: virtual-machines
77
---
88

@@ -25,20 +25,26 @@ Most common restore point failures can be resolved by following the troubleshoot
2525
### Step 2: Check the health of Azure VM Guest Agent service
2626

2727
**Ensure Azure VM Guest Agent service is started and up-to-date**:
28-
- On a Windows VM:
29-
- Navigate to **services.msc** and ensure **Windows Azure VM Guest Agent service** is up and running. Also, ensure the [latest version](https://go.microsoft.com/fwlink/?LinkID=394789&clcid=0x409) is installed. [Learn more](#the-agent-is-installed-in-the-vm-but-its-unresponsive-for-windows-vms).
30-
- The Azure VM Agent is installed by default on any Windows VM deployed from an Azure Marketplace image from the portal, PowerShell, Command Line Interface, or an Azure Resource Manager template. A [manual installation of the Agent](../virtual-machines/extensions/agent-windows.md#manual-installation) may be necessary when you create a custom VM image that's deployed to Azure.
31-
- Review the support matrix to check if VM runs on the [supported Windows operating system](concepts-restore-points.md#operating-system-support).
32-
- On Linux VM,
33-
- Ensure the Azure VM Guest Agent service is running by executing the command `ps -e`. Also, ensure the [latest version](../virtual-machines/extensions/update-linux-agent.md) is installed. [Learn more](#the-agent-installed-in-the-vm-is-out-of-date-for-linux-vms).
34-
- Ensure the [Linux VM agent dependencies on system packages](../virtual-machines/extensions/agent-linux.md#requirements) have the supported configuration. For example: Supported Python version is 2.6 and above.
35-
- Review the support matrix to check if VM runs on the [supported Linux operating system.](concepts-restore-points.md#operating-system-support).
28+
29+
# [On a Windows VM](#tab/windows)
30+
31+
- Navigate to **services.msc** and ensure **Windows Azure VM Guest Agent service** is up and running. Also, ensure the [latest version](https://go.microsoft.com/fwlink/?LinkID=394789&clcid=0x409) is installed. [Learn more](#the-agent-is-installed-in-the-vm-but-its-unresponsive-for-windows-vms).
32+
- The Azure VM Agent is installed by default on any Windows VM deployed from an Azure Marketplace image from the portal, PowerShell, Command Line Interface, or an Azure Resource Manager template. A [manual installation of the Agent](../virtual-machines/extensions/agent-windows.md#manual-installation) may be necessary when you create a custom VM image that's deployed to Azure.
33+
- Review the support matrix to check if VM runs on the [supported Windows operating system](concepts-restore-points.md#operating-system-support).
34+
35+
# [On Linux VM](#tab/linux)
36+
37+
- Ensure the Azure VM Guest Agent service is running by executing the command `ps -e`. Also, ensure the [latest version](../virtual-machines/extensions/update-linux-agent.md) is installed. [Learn more](#the-agent-installed-in-the-vm-is-out-of-date-for-linux-vms).
38+
- Ensure the [Linux VM agent dependencies on system packages](../virtual-machines/extensions/agent-linux.md#requirements) have the supported configuration. For example: Supported Python version is 2.6 and above.
39+
- Review the support matrix to check if VM runs on the [supported Linux operating system.](concepts-restore-points.md#operating-system-support).
40+
41+
---
3642

3743
### Step 3: Check the health of Azure VM Extension
3844

3945
- **Ensure all Azure VM Extensions are in 'provisioning succeeded' state**:
4046
If any extension is in a failed state, then it can interfere with the restore point operation.
41-
- In theAzure portal, go to **Virtual machines** > **Settings** > **Extensions** > **Extensions status** and check if all the extensions are in **provisioning succeeded** state.
47+
- In the Azure portal, go to **Virtual machines** > **Settings** > **Extensions** > **Extensions status** and check if all the extensions are in **provisioning succeeded** state.
4248
- Ensure all [extension issues](../virtual-machines/extensions/overview.md#troubleshoot-extensions) are resolved and retry the restore point operation.
4349
- **Ensure COM+ System Application** is up and running. Also, the **Distributed Transaction Coordinator service** should be running as **Network Service account**.
4450

@@ -87,21 +93,21 @@ Restore point creation fails if there are changes being made in parallel to the
8793

8894
**Error code**: OperationNotAllowed
8995

90-
**Error message**: Operation 'Create Restore Point' is not allowed as disk(s) have not been allocated successfully. Please exclude these disk(s) using excludeDisks property and retry.
96+
**Error message**: Operation 'Create Restore Point' is not allowed as disk(s) have not been allocated successfully. Please exclude these disk(s) using excludeDisks property and retry.
9197

9298
If any one of the disks attached to the VM isn't allocated properly, the restore point fails. You must exclude these disks before triggering creation of restore points for the VM. If you're using ARM processor API to create a restore point, to exclude a disk, add its identifier to the excludeDisks property in the request body. If you're using [CLI](virtual-machines-create-restore-points-cli.md#exclude-disks-when-creating-a-restore-point), [PowerShell](virtual-machines-create-restore-points-powershell.md#exclude-disks-from-the-restore-point), or [Portal](virtual-machines-create-restore-points-portal.md#step-2-create-a-vm-restore-point), set the respective parameters.
9399

94100
### OperationNotAllowed - Creation of Restore Point of a Virtual Machine with Shared disks is not supported.
95101

96102
**Error code**: VMRestorePointClientError
97103

98-
**Error message**: Creation of Restore Point of a Virtual Machine with Shared disks is not supported. You may exclude this disk from the restore point via excludeDisks property.
104+
**Error message**: Creation of Restore Point of a Virtual Machine with Shared disks is not supported. You may exclude this disk from the restore point via excludeDisks property.
99105

100106
Restore points are currently not supported for shared disks. You need to exclude these disks before triggering creation of restore point for the VM. If you are using ARM processor API to create restore point, to exclude a disk, add its identifier to the excludeDisks property in the request body. If you are using [CLI](virtual-machines-create-restore-points-cli.md#exclude-disks-when-creating-a-restore-point), [PowerShell](virtual-machines-create-restore-points-powershell.md#exclude-disks-from-the-restore-point), or [Portal](virtual-machines-create-restore-points-portal.md#step-2-create-a-vm-restore-point), follow the respective steps.
101107

102108
### VMAgentStatusCommunicationError - VM agent unable to communicate with compute service
103109

104-
**Error code**: VMAgentStatusCommunicationError
110+
**Error code**: VMAgentStatusCommunicationError
105111

106112
**Error message**: VM has not reported status for VM agent or extensions.
107113

@@ -141,7 +147,7 @@ This error could also occur when one of the extension failures puts the VM into
141147

142148
**Error code**: VMRestorePointClientError
143149

144-
**Error message**: Restore Point creation failed due to COM+ error. Please restart windows service "COM+ System Application" (COMSysApp). If the issue persists, restart the VM.
150+
**Error message**: Restore Point creation failed due to COM+ error. Please restart windows service "COM+ System Application" (COMSysApp). If the issue persists, restart the VM.
145151

146152
Restore point operations fail if the COM+ service is not running or if there are any errors with this service. Restart the COM+ System Application, and restart the VM and retry the restore point operation.
147153

@@ -175,7 +181,7 @@ Restore point operations require Visual C++ Redistributable for Visual Studio 20
175181

176182
**Error message**: Restore Point creation failed as the maximum allowed snapshot limit of one or more disk blobs has been reached. Please delete some existing restore points of this VM and then retry.
177183

178-
The number of restore points across the restore point collections and resource groups for a VM can't exceed 500. To create a new restore point, delete the existing restore points.
184+
The number of restore points across the restore point collections and resource groups for a VM can't exceed 500. To create a new restore point, delete the existing restore points.
179185

180186
### VMRestorePointClientError - Restore Point creation failed with the error "COM+ was unable to talk to the Microsoft Distributed Transaction Coordinator".
181187

@@ -184,10 +190,10 @@ The number of restore points across the restore point collections and resource g
184190
**Error message**: Restore Point creation failed with the error "COM+ was unable to talk to the Microsoft Distributed Transaction Coordinator".
185191

186192
Follow these steps to resolve this error:
187-
- Open services.msc from an elevated command prompt
188-
- Make sure that **Log On As** value for **Distributed Transaction Coordinator** service is set to **Network Service** and the service is running.
189-
- If this service fails to start, reinstall this service.
190193

194+
- Open services.msc from an elevated command prompt
195+
- Make sure that **Log On As** value for **Distributed Transaction Coordinator** service is set to **Network Service** and the service is running.
196+
- If this service fails to start, reinstall this service.
191197

192198
### VMRestorePointClientError - Restore Point creation failed due to inadequate VM resources.
193199

@@ -214,7 +220,7 @@ After you trigger creation of restore point, the compute service starts communic
214220
**Error message**: RestorePoint creation failed since a concurrent 'Create RestorePoint' operation was triggered on the VM.
215221

216222
Your recent restore point creation failed because there's already an existing restore point being created. You can't create a new restore point until the current restore point is fully created. Ensure the restore point creation operation currently in progress is completed before triggering another restore point creation operation.
217-
223+
218224
To check the restore points in progress, do the following steps:
219225

220226
1. Sign in to the Azure portal, select **All services**. Enter **Recovery Services** and select **Restore point collection**. The list of Restore point collections appears.
@@ -294,7 +300,6 @@ The VM agent might have been corrupted, or the service might have been stopped.
294300
5. Verify that the Microsoft Azure Guest Agent services appear in services.
295301
6. Retry the restore point operation.
296302

297-
298303
Also, verify that [Microsoft .NET 4.5 is installed](/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed) in the VM. .NET 4.5 is required for the VM agent to communicate with the service.
299304

300305
### The agent installed in the VM is out of date (for Linux VMs)
@@ -312,8 +317,17 @@ Most agent-related or extension-related failures for Linux VMs are caused by iss
312317

313318
If the process isn't running, restart it by using the following commands:
314319

315-
- For Ubuntu: `service walinuxagent start`
316-
- For other distributions: `service waagent start`
320+
- For Ubuntu/Debian:
321+
322+
```bash
323+
sudo systemctl start walinuxagent
324+
```
325+
326+
- For other Linux distributions:
327+
328+
```bash
329+
sudo systemctl start waagent
330+
```
317331

318332
3. [Configure the auto restart agent](https://github.com/Azure/WALinuxAgent/wiki/Known-Issues#mitigate_agent_crash).
319333
4. Retry the restore point operation. If the failure persists, collect the following logs from the VM:
@@ -324,13 +338,13 @@ Most agent-related or extension-related failures for Linux VMs are caused by iss
324338

325339
If you require verbose logging for waagent, follow these steps:
326340

327-
1. In the /etc/waagent.conf file, locate the following line: **Enable verbose logging (y|n)**.
341+
1. In the `/etc/waagent.conf` file, locate the following line: **Enable verbose logging (y|n)**.
328342
2. Change the **Logs.Verbose** value from *n* to *y*.
329343
3. Save the change, and then restart waagent by completing the steps described earlier in this section.
330344

331345
### VM-Agent configuration options are not set (for Linux VMs)
332346

333-
A configuration file (/etc/waagent.conf) controls the actions of waagent. Configuration File Options **Extensions.Enable** should be set to **y** and **Provisioning.Agent** should be set to **auto** for restore points to work.
347+
A configuration file (`/etc/waagent.conf`) controls the actions of waagent. Configuration File Options **Extensions.Enable** should be set to **y** and **Provisioning.Agent** should be set to **auto** for restore points to work.
334348
For the full list of VM-Agent Configuration File Options, see https://github.com/Azure/WALinuxAgent#configuration-file-options.
335349

336350
### Application control solution is blocking IaaSBcdrExtension.exe
@@ -361,4 +375,4 @@ The following conditions might cause the snapshot task to fail:
361375
3. In the **Settings** section, select **Locks** to display the locks.
362376
4. To remove the lock, select **Delete**.
363377

364-
:::image type="content" source="./media/restore-point-troubleshooting/delete-lock-inline.png" alt-text="Screenshot of Delete lock in Azure portal." lightbox="./media/restore-point-troubleshooting/delete-lock-expanded.png":::
378+
:::image type="content" source="./media/restore-point-troubleshooting/delete-lock-inline.png" alt-text="Screenshot of Delete lock in Azure portal." lightbox="./media/restore-point-troubleshooting/delete-lock-expanded.png":::

0 commit comments

Comments
 (0)