Updated on 2024-08-05 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 are incorrect or ports 30200 and 30201 are disconnected.
  • 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 a command output is displayed, the AK/SK configuration is correct. Go to 4.

  3. After configuring the AK/SK, reinstall 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 the connectivity of ports 30200 and 30201:
      curl -k https://ACCESS_IP:30200
      curl -k https://ACCESS_IP:30201
      • 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 the ICAgent. If the installation still fails, contact technical support.