Updated on 2022-08-11 GMT+08:00

What Can I Do If an ICAgent Is Offline?

After an ICAgent is installed, its status is offline.

Problem Analysis

  • Cause: The AK/SK configuration is incorrect or ports 30200, 30201, 8149, 8923, and 8102 are not connected.
  • Impact: The ICAgent cannot work.

Solution

  1. Log in to the server where the ICAgent is installed as the root user.
  2. Run the following command to check whether the AK/SK configuration is correct:

    cat /var/ICAgent/oss.icAgent.trace | grep proxyworkflow.go
    • If no command output is displayed, the AK/SK configuration is incorrect. Go to 3.
    • If the command output is displayed, the AK/SK configuration is correct. Go to 4.

  3. After configuring the AK/SK, reinstall the ICAgent. For details, see Installing the ICAgent. If the installation still fails, go to 4.
  4. Check port connectivity.

    1. Run the following command to obtain the access IP address:
      cat /opt/oss/servicemgr/ICAgent/envs/ICProbeAgent.properties | grep ACCESS_IP
    2. Run the following command to respectively check whether ports 30200, 30201, 8149, 8923, and 8102 are connected:
      curl -k https://ACCESS_IP:30200
      • If 404 is displayed, the port is connected. In this case, contact technical support.
      • If the command output is not 404, the port is not connected. Contact the network administrator to open the port and reinstall ICAgent. If the installation still fails, contact technical support.