Fails to start
The ntservice daemon or NTService typically fails to start when there are errors in the ntservice.ini file.
Example
The following is an example of the ntservice daemon on Linux failing to start due to the compatibility of the driver with the FPGA of the SmartNICs. Please see Verify the FPGA Version and the Driver Version for more information on the compatibility of the driver with the FPGA of the SmartNICs.
# /opt/napatech3/bin/ntstart.sh Loading driver [Done] Running sanity checks [Done] Starting NTService (this may take a while) [Failed] ntlog (v. 2.2.0.19909) ============================================================================== >>> Warning: Failed to initialize the API. >>> Not able to read low level driver log >>> Is the driver loaded? Log Level mask: 0x07 -------------------------+--------+---------+-----+----------------------------------- Timestamp | PID | LogType | Src | Log entry (Display Mask: 0xFF) -------------------------+--------+---------+-----+----------------------------------- 05/30/13 18:45:39.744457 | 18201 | INFO | SRV | 19909 - Starting ntservice (v. 2.2.0.19909) 05/30/13 18:45:39.749292 | 18201 | DEBUG | SRV | 19909 - NtServiceStart: shmem_hbseg_fifo: version=19909 magic=2a0102a2 size=4644880 05/30/13 18:45:39.750621 | 18201 | INFO | SRV | 19909 - Loading ini-file: "/opt/napatech3/config/ntservice.ini" 05/30/13 18:45:39.750757 | 18201 | INFO | SRV | 19909 - logging:LogBufferWrap=wrap 05/30/13 18:45:39.750888 | 18201 | INFO | OSS | 19909 - Number of numa nodes = 2 05/30/13 18:45:39.751081 | 18201 | INFO | SRV | 19909 - Physical adapter 0: 18F4:00C5 @ 00:25:00.00 C824042D07: 200-9220-45-7 05/30/13 18:45:39.751095 | 18201 | WARNING | SRV | 19909 - Physical adapter 0: 18F4:00C5 @ 00:25:00.00 unsupported FPGA image. 05/30/13 18:45:39.751113 | 18201 | INFO | SRV | 19909 - Physical adapter 1: 18F4:00C5 @ 00:29:00.00 C824042D07: 200-9220-45-7 05/30/13 18:45:39.751118 | 18201 | WARNING | SRV | 19909 - Physical adapter 1: 18F4:00C5 @ 00:29:00.00 unsupported FPGA image. 05/30/13 18:45:39.751121 | 18201 | INFO | SRV | 19909 - Adapters after sort: 05/30/13 18:45:39.751126 | 18201 | ERROR | SRV | 19909 - ******************************************************************** 05/30/13 18:45:39.751129 | 18201 | ERROR | SRV | 19909 - * No adapters located in the system * 05/30/13 18:45:39.751131 | 18201 | ERROR | SRV | 19909 - * Please check that the driver is loaded. * 05/30/13 18:45:39.751136 | 18201 | ERROR | SRV | 19909 - ******************************************************************** 05/30/13 18:45:39.751139 | 18201 | ERROR | SRV | 19909 - No Valid Adapters found. Check the ini-file 05/30/13 18:45:39.751142 | 18201 | ERROR | SRV | 19909 - ******************************************************************** 05/30/13 18:45:39.751146 | 18201 | ERROR | SRV | 19909 - * Something failed during init. * 05/30/13 18:45:39.751148 | 18201 | ERROR | SRV | 19909 - * Please check the complete log for more info. * 05/30/13 18:45:39.751151 | 18201 | ERROR | SRV | 19909 - ******************************************************************** Print log message IOCTL for IOCTL_LOCKS_GET_SHARED failed with errno 14 [Bad address] Print log message LocksReleaseShared for NamedEvents failed Print log message IOCTL for IOCTL_LOCKS_GET_SHARED failed with errno 14 [Bad address] Print log message LocksReleaseShared for Fastlocks failed NTService needs attention.
Out of memory in the server
The following error messages are due to lack of memory in the server.
06/04/13 17:57:40.091177 | 26192 | ERROR | SRV | 23368 - Failed to allocate 65748 MB hostbuffers for numa node 0 06/04/13 17:57:40.091223 | 26192 | ERROR | SRV | 23368 - Failed to initialize the DMA pool.
Log file
The error messages from loading the driver and starting the ntservice daemon or NTService are logged in the log file. Please see Check Error Messages from the Driver for more information on how to check the complete log using the ntlog tool.