SARMquery Aggregation / file offset 6004704 - Unable to collect headers (Doc ID 2244226.1)

Last updated on MARCH 22, 2017

Applies to:

Siebel CRM - Version 8.1.1.3[21219] and later
Information in this document applies to any platform.

Symptoms

On : 8.1.1.3[21219] version, System Admin

SARMquery Aggregation

When running sarmquery on the "A_PSCcObjMgr_enu_T201703030947_P13238444_N0001.sarm" file to get some aggregated values and got the below error:

sarmquery -agg area -input ./A_PSCcObjMgr_enu_T201703030947_P13238444_N0001.sarm -output debug=debug1.txt
Collecting 1 input files...

ERROR
-----------------------

Analyzing input files...
  elapsed time : 00:00:00 : 0% data processed


** Plan Generation Error **

No valid sarm files were found
  # Invalid or non-sarm files : 1
  # Empty sarm files : 0
(use '-output debug=stderr' for details)
Try 'sarmquery -help'

*** sarmquery exited with ERROR 1 ***


Error from debug1.txt is as below :

M-^?
<>
sarmquery
  General Flags:
  Filters:
  Aggregations: area
  Output: debug=debug1.txt,txt
  Number of Input Files: 1

Not a SARM File: ./A_PSCcObjMgr_enu_T201703030947_P13238444_N0001.sarm (file offset 6004704)
Unable to collect headers
Ignoring invalid file './A_PSCcObjMgr_enu_T201703030947_P13238444_N0001.sarm'




STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Enable SARM with the SARMThreshold value to 100.
2. Run SARM query against the SARM file generated.

Below are the parameters used for SARM generation:
SARMLevel=1
SARMEnabled=True
SARMMaxMemory=4000000
SARMMaxFiles=4
SARMPeriod=3
SARMClientLevel=0
SARMLogDirectory=/siebel/siebsrvr/enterprises/En_SblSIT/SblSrvrSIT/log
SARMThreshold=100
Sarm Users=

Changes

 SARMThreshold value to 100, default value is 0

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms