OPM - Unknown exception bad magic number in 'lib': b'B

OPM - Unknown exception bad magic number in 'lib': b'B

87
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 15:54 PM


Symptom


Running pimsu -vu <UserName> tfact status causing this error:
Unknown exception bad magic number in 'lib': b'B
The error comes only when tfactl status is run using pimsu.


Environment


OPM Linux

Cause


The log also showed that a match was found.
See extract from the attached log:
[TimeStamp] {pid=17718} | {tid=140537986} | P16CPIMSuACLManager | OPM/Handle/PIMSuACLManager.cpp(297) | :: | OPMSU283I [2e030e95-1f1c-49e5-a92b-d767262b4a0e] A match for command [/opt/oracle.ahf/tfa/bin/tfactl status] with command pattern [/opt/oracle.ahf/tfa/bin/tfactl .*] was found

also showed that OPM allowed the command but ended with some errors

I also saw the line below in the log:
[07/12/2021 | 14:55:40.690243] | {pid=17718} | {tid=140537638} | P20CCAGOSOExceptionBase | OPM/OSObjects/CCAGOSOExceptionBase.cpp(32) | :: | CASCU040E Failed to open file [/opt/oracle.ahf/tfa/bin/tfactl diagnose]. Error code: [2].


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000vBKCAY&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail