How Do I Fix an Abnormal Agent?
Your agent is probably abnormal if it is in Not installed or Offline state. Agent statuses and their meaning are as follows:
- Not installed: No agent has been installed on the server, or the agent has been installed but not started.
- Offline: The communication between the agent and the server is abnormal. The agent on the server has been deleted, or a non-HUAWEI CLOUD server is offline.
- Online: The agent on the server is running properly.
Possible Causes
Solution
- Fix network problems (if any).
Ensure that the outbound configurations of the security group of your server allow access to port 443 in the 100.125.0.0/16 network segment.
After the network recovers,- If the agent status is Online, no further action is required.
- If the agent status is Not installed or Offline, go to Step 2.
- Log in to the server and restart the agent. The agent status Not installed or Offline indicates that the agent process is probably abnormal.
- Windows OS
Log in to the server as administrator and restart the client.
Figure 1 Restarting Windows agent
- Linux OS
Run the following command in the CLI as user root to restart the agent:
service hostguard restart
If the following information is displayed, the restart is successful: If no command output is displayed, uninstall the agent and then install it.root@HSS-Ubuntu32:~#service hostguard restart Stopping Hostguard... Hostguard stopped Hostguard restarting... Hostguard is running
After the process is restarted, wait for about 2 minutes.
- If the agent status is Online, no further action is required.
- If the agent status is still Not installed or Offline, uninstall the agent and install it again.
- Windows OS
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.