R12 Publication-2025July16

Scenario 1: Services are disconnected

Local time differences between different servers are too large

Description

Some services under the Service Monitor are in disconnected status.

Troubleshoot

  1. Log in to the server and check logs under the /var/log/netbrain/nbagent directory.
    cd /var/log/netbrain/nbagent
    tail forwarder.log
    Text  Description automatically generated

  1. If you find the error 401 Client Error logs similar to below, it means the time differences between two servers (Worker server (Windows) and Database server (Linux) for current case) are too large, which should be less than 1 minute.
    A screenshot of a computer  Description automatically generated with medium confidence
  2. Check the data info and adjust the time on two servers.
    For Linux server, run the following command to set the time:
    date -s “<targe time in correct format>”
    date -s “Tue Oct 18 15:45:25 UTC 2022”
    Graphical user interface, text  Description automatically generated
  1. Adjust the local server time and the services under the Service Monitor to recover to normal status.
    Graphical user interface, text

Description automatically generated
    Information Note: The Linux server local time may be reverted due to NTP server sync up automatically.

Text

Description automatically generated

  1. Check the NTP config. Update the NTP sync-up config for both servers and time should be synced up together.

    Graphical user interface

Description automatically generated
  2. Check the host NTP config:
    Graphical user interface, application

Description automatically generated
  1. Check the VM Time config:

    Information Note: Make sure all the servers have consistent NTP server configurations.
  2. Collect Data:
  • Log in to the server and check logs under the /var/log/netbrain/nbagent directory.
    cd /var/log/netbrain/nbagent
    tail forwarder.log
    Text  Description automatically generated

Sample Case

N/A