When the Security Center console reports an agent as offline, the corresponding server is no longer protected. This leaves the server vulnerable to compromise. Follow the steps in this article to troubleshoot the issue and bring the agent back online.
Background
Security Center provides a one-click Agent Troubleshooting feature. If an agent on your server is offline, we recommend using this feature to diagnose the issue. For more information, see Use the agent troubleshooting feature.
Procedure
Log on to your server and check whether the Security Center agent processes (
AliYunDunandAliYunDunUpdate) are running.NoteIf the agent processes are not running, the agent will be offline. You should restart the server or reinstall the agent. For more information about agent installation, see Install Agent.
Windows
Use Task Manager to verify that the agent processes are running.

Linux
Run the
ps aux | grep AliYunDuncommand to check if the agent processes are running.
If the agent protection status is still Off after a fresh installation:
On Linux, you may need to manually restart the agent. Run the following commands in sequence:
killall AliYunDun killall AliYunDunUpdate /usr/local/aegis/aegis_client/aegis_10_xx/AliYunDunNoteIn the third command, replace
xxwith the largest two-digit number from the aegis_10_xx directory name. This number indicates the latest agent version. The aegis_10_xx directories are in the /usr/local/aegis/aegis_client directory. For example, if this directory contains aegis_10_70, aegis_10_73, and aegis_10_75, replacexxin the command with75.On Windows, restart the two agent services from the Services console:
Alibaba Security Aegis Detect ServiceandAlibaba Security Aegis Update Service. Right-click each service and select Restart.
Run a ping command on your server to test your server's network connection to Security Center.
Servers with public IP addresses (such as servers in the Classic Network, with Elastic IP addresses (EIPs), or External Servers).
Windows: Run the
ping jsrv.aegis.aliyun.com -l 1000command.Linux: Run the
ping jsrv.aegis.aliyun.com -s 1000command.
Servers without public IP addresses (such as servers in Finance Cloud or a Virtual Private Cloud (VPC)).
Windows: Run the
ping jsrv2.aegis.aliyun.com -l 1000command.Linux: Run the
ping jsrv2.aegis.aliyun.com -s 1000command.
If the
pingcommand to Security Center domains fails:First, verify that your server's DNS service is running properly. A DNS failure will prevent the server from resolving the endpoint domain names. If the service has failed, restart your server or troubleshoot the DNS configuration.
Next, check for firewall rules or Alibaba Cloud security group rules that might be blocking outbound traffic. You must add the Security Center service IP addresses to your outbound allow list. For more information on configuring security groups, see Create Security Group. For Cloud Firewall configuration, see Configure Internet Firewall Access Control Policies.
NoteEnsure that outbound traffic on TCP ports 80 and 443 is allowed to the following CIDR blocks: `100.100.0.0/16`, `106.11.0.0/16`, and `100.103.0.0/16`. No inbound rules are required.
If the `ping` command succeeds but the agent is still offline, a firewall may be blocking the required TCP ports. Use the `telnet` command to test connectivity to port 80 of the resolved IP address. If the connection fails, it confirms a firewall is blocking the port.
Check for persistently high CPU or memory utilization (for example, 95% or 100%), which can prevent the agent's processes from running correctly.
Check whether third-party antivirus product is interfering with the Security Center agent.
Some antivirus software can block the agent's network access or processes. To rule this out, temporarily disable the third-party product and then reinstall the Security Center agent.