PCP utilities fail to process archives with "The semantics of a metric has changed in an archive" error

Solution Verified - Updated -

Issue

  • Since upgrading the pcp package, pcp utilities such as pminfo or pmlogextract fail with the following error

    # pminfo -a <path/to/archives>
    pminfo: Cannot open archive "<path/to/archives>": The semantics of a metric has changed in an archive
    
    # pmlogextract <path/to/archives> /tmp/out
    pmlogextract: Error: cannot open archive "<path/to/archives>": The semantics of a metric has changed in an archive
    
  • Opening individual archives is possible

    # pminfo -a <path/to/archives>/20171202 | wc -l
    374
    

Environment

  • Red Hat Enterprise Linux 7
  • pcp 3.11.8 and later

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content