Help Center/ Cloud Eye/ FAQs/ Product Usage/ Server Monitoring/ What Should I Do If an Error Is Reported When I Run the Agent Installation Command?
Updated on 2025-06-06 GMT+08:00

What Should I Do If an Error Is Reported When I Run the Agent Installation Command?

Symptom

When you run the Cloud Eye Agent installation command, the error message "/usr/local/uniagent/bin/uniagent: No such file or directory" is displayed, as shown in Figure 1.
Figure 1 Agent installation failed

Possible Causes

The earlier version of Cloud Eye Agent is incompatible with some Arm images.

Solution

  1. Uninstall the Agent.

    bash /usr/local/uniagent/script/uninstall.sh

  2. Modify the -u and -t parameters in the Agent installation command. Change the value of -u to 0.2.1 and that of -t to 2.7.5.

    For CN East 2:

    Command before modification

    cd /usr/local && curl -k -O https://uniagent-cn-east-4.obs.cn-east-4.myhuaweicloud.com/package/agent_install.sh && bash agent_install.sh -r cn-east-4 -u 0.1.5 -t 2.5.6 -o myhuaweicloud.com

    Command after modification

    cd /usr/local && curl -k -O https://uniagent-cn-east-4.obs.cn-east-4.myhuaweicloud.com/package/agent_install.sh && bash agent_install.sh -r cn-east-4 -u 0.2.1 -t 2.7.5 -o myhuaweicloud.com