All Products
Search
Document Center

Security Center:Troubleshoot the issues that cause the abnormal status of the anti-ransomware agent and backup tasks

Last Updated:Mar 31, 2026

After you apply an anti-ransomware policy to a server, the anti-ransomware agent or backup tasks on that server may enter an abnormal state. An abnormal state means Security Center cannot protect your files and data against ransomware. Resolve these issues as soon as possible to prevent data loss.

Prerequisites

Before you begin, ensure that you have:

Before you start troubleshooting

Check the following before looking up specific error codes — most issues fall into one of these categories:

  • Agent version: Outdated agents are a common cause of backup failures and internal errors. If the agent is V1.0, upgrade to V2.0.

  • Network connectivity: The anti-ransomware agent must reach the anti-ransomware endpoints. Run ping or telnet to verify. See Anti-ransomware endpoints.

  • Security Center agent status: Check the Agent Status column on the Anti-ransomware for Servers tab. If the agent is offline, see Troubleshoot why the Security Center agent is offline.

  • Third-party security software: Security software can block agent installation and backup processes. Add the anti-ransomware agent process to the whitelist, or temporarily uninstall the security software before reinstalling the agent.

  • ECS instance status: A stopped ECS instance prevents agent installation and backup execution.

  • System clock accuracy: If the server clock deviates from the Security Center time by more than 15 minutes, backup tasks fail with time-related errors.

  • File cache disk space: The disk hosting the file cache must have at least 1 GB of free space.

Troubleshoot agent issues

View the error details

  1. Log on to the Security Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center console. In the top navigation bar, select the region of the asset. You can select China or Outside China.

  2. In the left-side navigation pane, choose Protection Configuration > Host Protection > Anti-ransomware.

  3. On the Anti-ransomware for Servers tab, find the anti-ransomware policy and click the 展开 icon next to the policy name to expand the server list.

  4. Find a server in an abnormal state and click the 提示信息 icon to view the error details.

    image.png

  5. Resolve the issue based on the error details shown in the Details message.

    查看客户端异常状态原因

Log file locations

Use these log files to self-diagnose issues before contacting support. If your error code is not listed in the table below, collect the relevant logs and submit a ticket to contact technical support.

Installation logs

OSLog path
WindowsC:\Program Files (x86)\Alibaba\Aegis\PythonLoader\data\hbr.log
Linux/usr/local/aegis/PythonLoader/data/hbr.log

Backup logs — V1.0 agent

OSLog path
WindowsC:\Program File (x86)\Alibaba\Aegis\hbr\logs
Linux/usr/local/aegis/hbr/logs

Backup logs — V2.0 agent

OSLog path
WindowsC:\Program File (x86)\Alibaba\Aegis\hbrClient\logs
CoreOS/opt/aegis/hbrClient/logs
Linux/usr/local/aegis/hbrClient/logs

Agent error codes and solutions

Error codeDetails messageCauseSolution
CLOUD_ASSIST_NOT_RUNCloud assistant Not startedCloud Assistant is not started.Log on to the Elastic Compute Service (ECS) console and verify that Cloud Assistant is running. For more information, see O&M and monitoring FAQ.
RoleNotExistYour Alibaba Cloud account is not authorized.The Alibaba Cloud account lacks the required permissions.Log on to the Security Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center console using your Alibaba Cloud account or a Resource Access Management (RAM) user with the AliyunRAMFullAccess policy attached. On the Anti-ransomware for Servers tab, click Authorize Now and assign the AliyunServiceRoleForHbrEcsBackup and AliyunServiceRoleForSas roles.
CLIENT_CONNECTION_ERRORThe client connection is abnormal. Check the ECS instance network and try again.Network connection fails.
Important

Check whether third-party antivirus software is installed on the server. If so, uninstall it before proceeding.<br><br>1. Log on to the ECS instance, run ping or telnet to test connectivity to the anti-ransomware endpoint, and check whether firewall policies block the connection. See Anti-ransomware endpoints.<br>2. After resolving the network issue, reinstall the agent: in the Security Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center console, go to Anti-ransomware for Servers, find the server, click Uninstall, and then click Install.

ECS_ROLE_POLICY_NOT_EXISTECS role does not have AliyunECSAccessingHBRRolePolicyThe AliyunECSAccessingHBRRolePolicy policy is not attached to the RAM role assumed by the ECS instance, preventing agent installation.1. Attach AliyunECSAccessingHBRRolePolicy to the RAM role that the ECS instance assumes. For more information, see AliyunECSAccessingHBRRolePolicy FAQ.<br>2. In the Security Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center console, go to Anti-ransomware for Servers, find the server, and click Install.<br>
Important

Attaching the policy does not automatically install the agent. You must click Install manually.

CHECK_ACTIVATION_COMMAND_TIMEOUTThe activation command times out.Agent installation timed out.In the Security Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center console, go to Anti-ransomware for Servers, click Uninstall for the server, wait for the status to change to Not Installed, and then click Install.
ECS_STOPPEDThe ECS instance is not started.The ECS instance is stopped, preventing agent installation.1. Start the ECS instance in the ECS console. For more information, see Start an instance.<br>2. In the Security Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center console, go to Anti-ransomware for Servers and click Install for the server.
UNINSTALL_FAILEDFailed to uninstall clientThe Cloud Assistant command timed out during uninstall.1. In the Security Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center console, go to Anti-ransomware for Servers, find the server, and click Delete to remove it from the policy. Wait approximately 2 minutes for the removal to complete.<br>2. Re-apply the anti-ransomware policy to the server. See Edit an anti-ransomware policy.<br>3. On the Anti-ransomware for Servers tab, click Install for the server.
INSTALL_FAILEDInstallation failedThe Cloud Assistant command timed out during installation.1. Verify the Security Center agent on the server is online — check the Agent Status column on the Anti-ransomware for Servers tab. If offline, see Troubleshoot why the Security Center agent is offline.<br>2. Click Uninstall for the server, wait for the status to change to Not Installed, and then click Install.
UPGRADE_FAILEDUpgrade failedAgent upgrade failed.In the Security Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center console, go to Anti-ransomware for Servers, click Uninstall for the server, wait for the status to change to Not Installed, and then click Install.
AGENT_NOT_RUN_AFTER_INSTALLATIONPost-installation services not startedRegistry entries from a previous uninstall are still present, preventing the reinstalled agent from starting.1. In the Security Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center console, go to Anti-ransomware for Servers and click Uninstall for the server.<br>2. Clear the registry entries for the installed agent version:<br>V1.0 agent:<br>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\eventlog\Application\hybridbackup<br>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\eventlog\Application\hbrupdater<br>V2.0 agent:<br>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\eventlog\Application\hbrclient<br>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\eventlog\Application\hbrclientupdater<br>HKEY_LOCAL_MACHINE\SOFTWARE\Alibaba, Inc.\Aliyun Hybrid Backup Service Client<br>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B1F066FC-D85C-46F8-9ED7-88A4385AF9A6}}_is1 (64-bit)<br>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9A3FBAB2-A9B0-4F3B-951A-ABC72D58BA6D}}_is1 (32-bit)<br>3. Click Install for the server.
FAILED_TO_DOWNLOAD_INSTALLERFailed to download the installation packageThe installation package could not be downloaded due to a network failure.1. Log on to the ECS instance, run ping or telnet to test connectivity to the anti-ransomware endpoint, and check firewall policies. See Anti-ransomware endpoints.<br>2. After resolving the network issue, click Install for the server in the Security Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center console.
PRECHECK_COMMAND_FAILEDPreflight command failedThe Cloud Assistant command timed out.In the Security Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center console, go to Anti-ransomware for Servers, click Uninstall for the server, wait for the status to change to Not Installed, and then click Install.
INSTALL_COMMAND_TIMEOUTInstall Command timeoutThe installation command timed out.In the Security Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center console, go to Anti-ransomware for Servers, click Uninstall for the server, wait for the status to change to Not Installed, and then click Install.
ServiceUnavailableServiceUnavailableThe account lacks the required permissions, or the queries per second (QPS) limit has been reached.Log on to the Security Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center console using your Alibaba Cloud account. On the Anti-ransomware for Servers tab, click Authorize Now and assign the AliyunServiceRoleForHbrEcsBackup and AliyunServiceRoleForSas roles. If the issue persists after authorization, submit a ticket.
CONFLICT_WITH_EXISTING_AGENTConflict with existing clientThe agent is already installed, causing a conflict.In the Security Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center console, go to Anti-ransomware for Servers, click Uninstall for the server, wait for the status to change to Not Installed, and then click Install.
ACTIVATE_COMMAND_FAILEDAn error occurs on the agent. You can reinstall the agent to restore normal service operations. If the issue persists, submit a ticket for consultation and start a live chat for support.An error occurred on the anti-ransomware agent.1. In the Security Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center console, go to Anti-ransomware for Servers, click Uninstall for the server, wait for the status to change to Not Installed, and then click Install.<br>2. If the issue persists, submit a ticket.
CHECK_RUNNING_COMMAND_FAILEDCheck service startup command failedA service error occurred.In the Security Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center console, go to Anti-ransomware for Servers, click Uninstall for the server, wait for the status to change to Not Installed, and then click Install.
INSTALL_COMMAND_FAILEDInstallation Command failedSecurity software on the server is blocking the installation.1. Uninstall the security software on the server.<br>2. In the Security Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center console, go to Anti-ransomware for Servers and click Install for the server.
InstanceHasBeenProtectedByAirAn error occurs on the agent. You can reinstall the agent.Cloud Backup and the Security Center anti-ransomware service conflict with each other. The two services are incompatible.Choose one service for data backup — they cannot run on the same server simultaneously. To use anti-ransomware: uninstall the Cloud Backup client. See How do I uninstall a Cloud Backup client? To use Cloud Backup: see Create an anti-ransomware policy to uninstall the anti-ransomware agent, and Activate Cloud Backup to enable Cloud Backup.

Troubleshoot backup task issues

View the error details

  1. Log on to the Security Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center console. In the top navigation bar, select the region of the asset. You can select China or Outside China.

  2. In the left-side navigation pane, choose Protection Configuration > Host Protection > Anti-ransomware.

  3. In the upper-right corner of the Anti-ransomware page, click Backup Tasks.

  4. In the Backup Tasks panel, click the Server Backup Task tab, select Failed from the Status drop-down list, and click image.

    image

  5. Find the backup task and click the image.png icon in the Status column to view the error details.

    image

  6. Resolve the issue based on the error details shown in the Details message.

    image.png

Backup task error codes and solutions

Error codeDetails messageCauseSolution
EXPIREDThe backup task timed outNetwork errors, server restart during backup, ECS instance stopped, too many files to back up, or outdated agent.- If network errors occur: check whether MQTT Connection Lost. appears in the backup logs. If it does, optimize your network settings.<br>- If the ECS instance stopped or restarted during backup: check whether the instance is running and whether a scheduled restart task overlaps with the backup window.<br>- If too many files caused the timeout: edit the anti-ransomware policy to remove directories that do not need to be backed up.<br>- If the agent is outdated: upgrade it to V2.0.
SOURCE_NOT_EXISTBackup source path does not existThe backup directory specified in the anti-ransomware policy does not exist on the server.Edit the anti-ransomware policy and specify a valid backup directory.
OPEN_VAULT_FAILEDFailed to open backup LibraryObject Storage Service (OSS) access failed during backup, or the server's local time differs from the OSS system time by more than 15 minutes.1. In the ECS log file hbrclient.log, find the OSS endpoint (format: oss-xxx.aliyuncs.com or oss-xxx-internal.aliyuncs.com). Run ping or telnet to check whether the endpoint is reachable.<br>2. Check whether firewalls and security groups allow outbound connections from the anti-ransomware agent.<br>3. Check whether security software is blocking network connections.<br>4. If the backup logs contain ErrorCode=RequestTimeTooSkewed, ErrorMessage="The difference between the request time and the current time is too large.": adjust the server's system clock so it matches the OSS system time (within 15 minutes), and then restart the anti-ransomware agent:<br>systemctl restart hbrclient<br>The OSS time zone matches the region where the ECS instance resides. For regions in the Chinese mainland, the time zone is UTC+8. For regions outside the Chinese mainland, the time zone matches the region's local time zone.
INTERNAL_ERROR / InternalErrorAn internal error occurredAn internal error in the backup feature, typically caused by a V1.0 anti-ransomware policy.On the Anti-ransomware page, find the V1.0 policy and click Upgrade in the Actions column to upgrade it to V2.0. If the issue persists, collect agent logs and submit a ticket.
killedThe backup process is terminated by the systemThe system forcefully terminated the backup process due to high CPU utilization or memory usage.Log on to the ECS console. On the Monitoring tab of the instance details page, review CPU utilization and memory usage during the backup window. If the backup process consumed excessive resources, limit the resources it can use. For more information, see How do I resolve OOM issues on a Cloud Backup client?
CreateSnapshotFailedFailed to create a backup snapshot when the backup is about to endOSS was not accessible when the backup snapshot was being created.Submit a ticket to contact technical support.
CONNECT_TO_VAULT_FAILEDFailed to access the backup vaultOSS access failed during backup.In the ECS log file hbrclient.log, find the OSS endpoint (format: oss-xxx-internal.aliyuncs.com). Run ping or telnet on the ECS instance to check whether the endpoint is reachable.
AppError: ErrorCode=TooManyConcurrentJobs, ErrorMessage=TooManyConcurrentJobsA large number of backup tasks are running, and new backup tasks cannot be runToo much data to back up, or the previous backup task is still running when the next one is scheduled to start.1. Edit the anti-ransomware policy to increase the backup interval or exclude directories that do not need to be backed up.<br>2. If no historical backup data exists or no historical backup data is required: remove the server from the policy (see Manage servers in an anti-ransomware policy), and then re-add it (see Edit an anti-ransomware policy).<br>3. If the issue persists, submit a ticket.
EcsStoppedThe ECS instance is not startedThe ECS instance is stopped.Check the ECS instance status and whether it was stopped due to overdue payments.
EcsReleasedThe ECS instance is releasedThe ECS instance has been released.No action required.
ClientDisconnectedAegisClientNotOnlineThe Security Center agent and the anti-ransomware agent are offlineBoth agents are offline.Log on to the ECS instance, run ping or telnet to test connectivity to the anti-ransomware endpoint, and check firewall policies. See Anti-ransomware endpoints.
ClientDisconnectedThe anti-ransomware agent is offline or an error occurs on the agentThe anti-ransomware agent is offline or has encountered an error.1. Log on to the ECS instance, run ping or telnet to test connectivity to the anti-ransomware endpoint, and check firewall policies. See Anti-ransomware endpoints.<br>2. After confirming network connectivity, go to the Anti-ransomware for Servers tab in the Security Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center console, click Uninstall for the server, and then click Install.
OOMThe memory usage is highA large number of files in the backup directory caused memory usage to exceed the limit, and the system terminated the backup process.See OOM error occurs.
JOB_CANCELEDThe backup task is automatically disabledThe anti-ransomware policy applied to the server is disabled, or the anti-ransomware capacity is exhausted.Check whether the policy is disabled. If the policy is enabled, check the used and total capacity on the Anti-ransomware page.
FILE_CACHE_NO_SPACEThe space used to store the file cache is insufficientThe disk hosting the file cache has less than 1 GB of free space, which is the minimum required.Resize the disk or change the file cache directory. For more information, see Use the cache feature to accelerate data backup.
ApplicationFileNotExistThe files related to the anti-ransomware agent are missingAgent files were deleted by third-party security software or manually by a user.Add the anti-ransomware agent process to the whitelist of the security software on the server, and then reinstall the agent.
0xC0000142 / 3221225794The backup process on the Windows operating system fails to initializeSecurity software is blocking the process, a process conflict exists, or agent files are missing.Add the anti-ransomware agent process to the whitelist of the security software on the server, and then reinstall the agent.
1 / 2The backup process is exceptionally terminated (Error codes 1 and 2 indicate an unhandled exception in the V1.0 agent — the error is not recorded or handled.)The V1.0 agent encountered an error that was not recorded or handled.1. In the Security Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center consoleSecurity Center console, go to Anti-ransomware for Servers, click Uninstall for the server, wait for the status to change to Not Installed, and then click Install to install the V2.0 agent.<br>2. If the issue persists, submit a ticket.
RequestTimeTooSkewedTime deviationThe server's system clock deviates from the Security Center time by 15 minutes or more.Adjust the system clock on the server to match the correct time.

References