How to resolve: Sample map magic doesn't match. Aborting load of templates.

Document ID : KB000008853
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

In NFA 9.3.3, you may see this error in the Harvester-Wrapper.log: "Sample map magic doesn't match. Aborting load of templates." The result of this issue is that v9+ Netflow may not be collected properly. 

Environment:
NFA 9.3.3Windows Server 2008Windows Server 2012RedHat Linux
Cause:

The Harvester process was creating corrupt .NTA files that would not allow v9+ templates load properly. 

Resolution:
  1. Download SampleMagic_9.3.3.Patch_9.3.3.02 Combo.zip and copy to each harvester.
  2. Stop all Harvester services.
  3. Delete all the .nta files from the following location "<installDir>\Netflow\datafiles\HarvesterArchive\".
  4. Rename the file: "<installDir>\Netflow\bin\com.ca.im.ra.harvester.jar" to "com.ca.im.ra.harvester.jar.bak".
  5. Extract the contents from the file "9.3.3.Patch_9.3.3.02 Combo.zip" in a clean directory.
  6. Copy the extracted file "com.ca.im.ra.harvester.jar" to "<installDir>\Netflow\bin" and copy "guava-18.0.jar" to "<installDir>\NetFlow\lib".
  7. Edit <installDir>/NetFlow/conf/harvester-wrapper.conf file - locate sections with "wrapper.java.classpath" entries, and add the following entry: wrapper.java.classpath.6=../lib/guava-18.0.jar
  8. Restart all the harvester services which were stopped in step 1.