What Should I Do If Agent Installation Failed?
If you have used HSS of an earlier version, and installed the agent on the new version HSS, but the page still displays that agent is not installed, see What Can I Do If the Agent Status Is Still "Not installed" After Installation?
If this is the first time you install the agent, and the installation failed, rectify the fault by following the instructions provided in this section.
Symptoms
The agent fails to be installed by running commands. The server list page on the console still indicates that the agent is not installed.
Possible Causes
Solution
- Check whether the SELinux firewall of the server is disabled.
- If it is, go to the next step.
- If it is not, disable it and install the agent again.
- Check whether there is an EIP bound to the server.
- If yes, go to the next step.
- If there is not, bind an EIP to the server and reinstall the agent.
- Check whether the installation command is suitable for the server region and OS.
- Switch to the server region.
- Copy the installation commands suitable for your server OS.
- Run 32-bit installation commands on a 32-bit server.
- Run 64-bit installation commands on a 64-bit server.
- If yes, go to the next step.
- If the commands you used are incorrect, install the agent again with correct ones.
- Check whether the installation was performed by user root.
- If yes, go to the next step.
- If it was not, install the agent again as user root.
- Check whether the DNS of the server can resolve the domain name for downloading the agent.
- Run the following command to check the parsing result:
- Linux server: ping -c 1 hss-agent.region code.myhuaweicloud.com
- Windows server: ping -n 1 hss-agent.region code.myhuaweicloud.com
Each region has a unique region code. For details about the region code, see Regions and Endpoints.
Take CN North-Beijing1 as an example. The complete command is as follows: ping -c 1 hss-agent.cn-north-1.myhuaweicloud.com
- Check the command execution result.
- If the resolved IP address is displayed, the DNS resolution is normal. Go to the step 6.
- If name or service not known is displayed or no IP address is resolved, the DNS resolution fails. The agent package can only be downloaded over an intranet connection. Ensure you have configured a private DNS server before downloading it. For more information, see Changing the DNS Server Address of an ECS and Private DNS Server Address of Huawei Cloud.
- Run the following command to check the parsing result:
- Uninstall the agent as user root and forcibly install it.
- If the installation is successful, no further action is required.
- If the installation fails, contact technical support.
Agent FAQs FAQs
- Do I Need to Install the HSS Agent After Purchasing HSS?
- Is the Agent in Conflict with Any Other Security Software?
- How Do I Install the Agent?
- How Do I Uninstall the Agent?
- What Should I Do If Agent Installation Failed?
- How Do I Fix an Abnormal Agent?
- What Is the Default Agent Installation Path?
- How Many CPU and Memory Resources Are Occupied by the Agent When It Performs Scans?
- Do WTP and HSS Use the Same Agent?
- How Do I View Servers Where No Agents Have Been Installed?
- What Can I Do If the Agent Status Is Still "Not installed" After Installation?
- How Do I Upgrade the Agent?
- What Do I Do If the HSS Upgrade Fails?
- What If I Do Not Upgrade from the HSS (New) Version?
- What Addresses Do Huawei Cloud ECSs Access After the Agent Is Installed?
- How Do I Use Images to Install Agents in Batches?
- What Do I Do If I Cannot Access the Download Link of the Windows Or Linux Agent?
- What Do I Do If Agent Upgrade Fails and the Message "File replacement failed" Is Displayed?
- What Can I Do If Agents Failed to Be Installed in Batches and a Message Is Displayed Indicating that the Network Is Disconnected?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbotmore