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¶
Log in to the server where the ICAgent is installed as the root user.
Run the following command to check whether the AK/SK configuration is correct:
cat /var/ICAgent/oss.icAgent.trace | grep proxyworkflow.go
After configuring the AK/SK, reinstall the ICAgent. If the installation still fails, go to 4.
Check port connectivity.
Run the following command to obtain the access IP address:
cat /opt/oss/servicemgr/ICAgent/envs/ICProbeAgent.properties | grep ACCESS_IP
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.