Help Center/ Cloud Eye/ Troubleshooting/ Server Monitoring/ Agent Exceptions/ What Should I Do If the Agent Is in the Agency Configuration Error State?
Updated on 2026-11-06 GMT+08:00

What Should I Do If the Agent Is in the Agency Configuration Error State?

Symptom

After the Agent is installed, the Agent is in the Agency configuration error state.

Possible Causes

If the Agent is in the Agency configuration error state, select the corresponding ECS and click Restore Agent Configurations above the host list. If the fault persists, see Figure 1 for troubleshooting.
Figure 1 Troubleshooting method

Cause 1: Incorrect DNS Configuration

To view and modify the DNS configuration, perform the following steps:

  1. Log in to the ECS console.
  2. On the ECS console, click the name of an ECS to view its details.
  3. In the ECS information area, click the VPC name.

    The Virtual Private Cloud page is displayed.

    Figure 2 ECS information
  4. Locate the target VPC and click the number of subnets.
  5. In the subnet list, click the name of the target subnet.
  6. In the Gateway and DNS Information area, check whether the DNS server address is the same as the private DNS server address provided by Huawei Cloud.

    For details about how to obtain the DNS server addresses of different regions, see What Are Huawei Cloud Private DNS Server Addresses?

    • If they are the same, as shown in Figure 3, you do not need to change the DNS server addresses.
      Figure 3 Viewing the DNS server address
    • If they are different, perform steps 7 to 10 to change the DNS server address.
  7. Click next to DNS Server Address.
  8. Enter the DNS server address. Use commas (,) to separate multiple IP addresses.
    Figure 4 Changing DNS server addresses
  9. Click OK.
  10. Restart the ECS or BMS. For details, see Restarting an ECS or Restarting a BMS.

For more information about how to configure DNS, see Checking/Modifying the DNS and Security Group Configurations.

Cause 2: Insufficient IAM Agency Quota

  1. Log in to the IAM console.
  2. On the IAM console, choose Agencies.
  3. Check the following information:
    • Whether the CESAgentAutoConfigAgency agency exists.
    • Whether the used quota of the IAM agencies has reached the upper limit. For details, see Quotas.
  4. If the CESAgentAutoConfigAgency agency does not exist and the agency quota has been used up, delete unnecessary agencies or apply for a higher quota, and then restore the Agent configuration again.

Cause 3: Insufficient User Permissions

  1. Log in to the IAM console.
  2. In the navigation pane, click User Groups.
  3. Click the name of the user group to which the account belongs.
  4. On the Permissions tab page, view the permissions of the user group.
  5. To install the Agent, you must have the following permissions:
    • Global: Security Administrator
    • Region: ECS CommonOperations or BMS CommonOperations, and CES Administrator or CES FullAccess

Submitting a Service Ticket

If the problem persists, submit a service ticket.