How to resolve: Sample map magic doesn't match. Aborting load of templates.
book
Article ID: 8853
calendar_today
Updated On:
Products
CA Network Flow Analysis (NetQos / NFA)
Issue/Introduction
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.
Delete all the .nta files from the following location "<installDir>\Netflow\datafiles\HarvesterArchive\".
Rename the file: "<installDir>\Netflow\bin\com.ca.im.ra.harvester.jar" to "com.ca.im.ra.harvester.jar.bak".
Extract the contents from the file "9.3.3.Patch_9.3.3.02 Combo.zip" in a clean directory.
Copy the extracted file "com.ca.im.ra.harvester.jar" to "<installDir>\Netflow\bin" and copy "guava-18.0.jar" to "<installDir>\NetFlow\lib".
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
Restart all the harvester services which were stopped in step 1.