Previous Topic: Collect Napatech LogsNext Topic: Contact Your Napatech Distributor


Diagnose Napatech Driver Problems

To diagnose Napatech driver problems, consult the Napatech log to discover whether the driver has successfully started.

To diagnose driver problems

  1. Log in as root to the CentOS shell and change directory to the Napatech tools directory:
    cd /opt/napatech3/bin
    

    Note: If this directory does not exist, then the driver software is not installed correctly. Go through the installation process as detailed in the Linux Server Platform Software Installation chapter.

  2. Copy the log to a temporary file:
    ./ntlog > currentlog.txt
    
  3. Read the log and look out for the following:
    >>> Warning: Failed to initialize the API.
    >>>          Not able to read low level driver log
    >>>          Is the driver loaded?
    >>> Error: Failed to read log: "The log is not ready."
    >>> Error: Allocating memory for log buffer failed.
    

    This error tells you that the Napatech driver is not loaded.

  4. Load the driver using the following command:
    service nbanic start
    

    Note: If this command returns "No Napatech cards, so not starting driver" then you do not have any suitable Napatech cards installed yet.

  5. Refresh the log file.
    ./ntlog > currentlog.txt
    
  6. Review the log using the ‘less’ command. You scroll using the Page Up/Page Down keys, and exit by pressing the ‘Q’ key.
    less currentlog.txt
    
  7. Verify that the log contains the following lines:
    Adapter0 running with profile: "Inline"
    *****************************
    NTService is now operational.
    *****************************
    

    Verify that these log messages also appear on the CA DataMinder Network console in the Messages tab.

    The Napatech driver is now operational.