NQMYsql service wont start after upgrade, java.lang.ClassNotFoundException. Windows Event Logs show error 7024 starting nqmysql
search cancel

NQMYsql service wont start after upgrade, java.lang.ClassNotFoundException. Windows Event Logs show error 7024 starting nqmysql

book

Article ID: 260168

calendar_today

Updated On:

Products

Network Observability Network Flow Analysis

Issue/Introduction

After an upgrade, the "NetQos NQMySQL" service on one of the three Harvesters won't start.

The mysqlcse-wrapper.log shows this:

INFO   | jvm 1    | 2023/02/15 12:04:06 | Error: Could not find or load main class org.tanukisoftware.wrapper.WrapperSimpleApp INFO   | jvm 1    | 2023/02/15 12:04:06 | Caused by: java.lang.ClassNotFoundException: org.tanukisoftware.wrapper.WrapperSimpleApp ERROR  | wrapper  | 2023/02/15 12:04:06 | JVM exited while loading the application.

 

The Windows Event logs shows a 7024 error like this:

The NetQoS NQMySql service terminated with the following service-specific error:  Incorrect function.

Cause

Files missing from the \Netflow\lib directory.

In this case, the missing file was "wrapper.jar"

Resolution

Copied the "\netflow\lib" directory from another Harvester running the same version of NFA, and use it to replace the one on the Harvester giving errors.

NOTE: The other Harvester must be running the EXACT same version of NFA.