Server Group Exception

Last updated: 2020-05-15 15:29:37

    Error description

    An exception occurred with log collection, and the associated server group is found to be exceptional.

    Possible causes

    The heartbeat between the server group and the CLS system is interrupted, resulting in a failure to collect and report logs. Possible causes of the server group exception include:

    1. The IP address is incorrect.
    2. The network is disconnected.
    3. LogListener process failure.
    4. LogListener is incorrectly configured.


    Troubleshoot problems according to the above causes.


    1. Check whether the IP address added to the server group is correct.
      1. Check the IP address obtained by LogListener by running the following command:
        cd loglistener/tools && ./
      2. Log in to the CLS Console, click Server Group Management, and check the IP address of the server group. The IP address must be the same as that for collection.
    2. Confirm whether the network is connected by running the following command:
      telnet <region> 80
      <region> is the abbreviation for the region where CLS resides. For more information about regions, see Available Regions.
      The following code appears under normal network connection. Otherwise, connection fails. Check the network and ensure normal connection.
    3. Check whether LogListener processes are running normally. Enter the installation directory and run the following command:
      cd loglistener/tools && ./
      Normally, there are three processes:
      bin/loglistenerm -d                                #Daemon process
      bin/loglistener --conf=etc/loglistener.conf        #Main process    
      bin/loglisteneru -u --conf=etc/loglistener.conf    #Update process

    If any process fails, restart it. Enter the installation directory and run the following command:

    cd loglistener/tools && ./
    1. Check whether the key and IP address are correctly configured in LogListener. Enter the installation directory to check configuration information by running the following command:
      cd loglistener/etc && cat loglistener.conf
      See the figure below:
      • The key is the API key for the Tencent Cloud account or the collaborator. Project keys are not supported.
      • group_ip in the configuration file must be consistent with the IP address entered in the server group on the console. Since LogListener obtains the server IP address automatically, check the consistency regularly when the server is bound to multiple ENIs.

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback