cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Former Member
Not applicable
Report Inappropriate Content
Message 1 of 2

Policy Auditor for Linux - Installation issues on RHEL 7.9

Hi all,

We have had PA installed on various hosts, but recently we have been unable to deploy successfully.  It attempts to install, but fails.  We're using recent 6.5 versions.

I do not have access to the EPO console, so I'm not sure what it sees.  I'm particularly worried about the memory error, although it may be benign (logs below).

Also, does anyone know if there is a way to view or decompile McS binaries?   These things are horrendous for troubleshooting.. 

Any help would be greatly appreciated.

Some of the logs generated from these hosts:

2021-06-15 12:33:04 [18767] (16384) [ScrptExe] [E] [XMLOpen]->
2021-06-15 12:33:04 [18767] (16384) [ScrptExe] [E] Failed to open /etc/cma.d/POLICYAU6000LYNX/config.xml. Setting gPointProductConfigCookie to FALSE


<CUT>


 2021-06-15 12:33:04 [18767] (16384) [ScrptMgr] [I] Memory allocation failed.
2021-06-15 12:33:04 [18767] (16384) [ScrptExe] [E] Error trace:
2021-06-15 12:33:04 [18767] (16384) [Log] [E] [Main thread]->
2021-06-15 12:33:04 [18767] (16384) [SessMgr] [E] [SessionManager::runScript:/var/McAfee/agent/update/InstallMain.McS]->
2021-06-15 12:33:04 [18767] (16384) [ScrptExe] [E] [Executing section ScriptMain]->
2021-06-15 12:33:04 [18767] (16384) [ScrptExe] [E] [Call]->
2021-06-15 12:33:04 [18767] (16384) [ScrptExe] [E] [Executing section InstallAllProducts]->
2021-06-15 12:33:04 [18767] (16384) [ScrptExe] [E] [LoopIf]->
2021-06-15 12:33:04 [18767] (16384) [ScrptExe] [E] [Executing section InstallProduct]->
2021-06-15 12:33:04 [18767] (16384) [ScrptExe] [E] [Call]->
2021-06-15 12:33:04 [18767] (16384) [ScrptExe] [E] [Executing section IsProductInstalledUsingDetectionScript]->
2021-06-15 12:33:04 [18767] (16384) [ScrptExe] [E] [Line 2066: RunScript dwRet = /var/McAfee/agent/update/Current/POLICYAU6000LYNX/NixPolicyAuditorDet.McS, IsProductInstalled]->
2021-06-15 12:33:04 [18767] (16384) [ScrptExe] [E] /var/McAfee/agent/update/Current/POLICYAU6000LYNX/NixPolicyAuditorDet.McS did not execute succesfully


1 Reply
Former Member
Not applicable
Report Inappropriate Content
Message 2 of 2

Re: Policy Auditor for Linux - Installation issues on RHEL 7.9

So it seems there are multiple error, and I'm not sure which one is the root.

The first error is regarding a spec file not having an entry for PolicyAuditor:

2021-06-15 11:52:45 [14163]  (16384) [pm_service] [I] [1] checking install order compatibility for <POLICYAU6000LYNX>
2021-06-15 11:52:45 [14163]  (16384) [pm_service] [I] getting spec entry for <POLICYAU6000LYNX>
2021-06-15 11:52:45 [14163]  (16384) [pm_service] [E] Entry not found in spec

 

Next, there seems to be an issue opening an XML file that does not exist.   What should create this file?

6-15 11:52:45 [14163]  (16384)   [ScrptExe] [E]  [Executing section IsProductInstalled]->
2021-06-15 11:52:45 [14163]  (16384)   [ScrptExe] [E]  [Call]->
2021-06-15 11:52:45 [14163]  (16384)   [ScrptExe] [E]  [Executing section InitializeVariables]->
2021-06-15 11:52:45 [14163]  (16384)   [ScrptExe] [E]  [XMLOpen]->
2021-06-15 11:52:45 [14163]  (16384)   [ScrptExe] [E]   Failed to open /etc/cma.d/POLICYAU6000LYNX/config.xml.  Setting gPointProductConfigCookie to FALSE

And next there's another XML error:


2021-06-15 11:52:45 [14163]  (16384)   [ScrptExe] [E]  [Executing section InitializeVariables]->
2021-06-15 11:52:45 [14163]  (16384)   [ScrptExe] [E]   Command failed...XMLOpen

And lastly, there is some memory allocation error:
2021-06-15 11:52:45 [14163]  (16384)   [ScrptExe] [E]  [Line 2066:  RunScript dwRet = /var/McAfee/agent/update/Current/POLICYAU6000LYNX/NixPolicyAuditorDet.McS, IsProductInstalled]->
2021-06-15 11:52:45 [14163]  (16384)   [ScrptExe] [E]  [Executing section IsProductInstalled]->
2021-06-15 11:52:45 [14163]  (16384)   [ScrptExe] [E]  [Call]->
2021-06-15 11:52:45 [14163]  (16384)   [ScrptExe] [E]  [Executing section InitializeVariables]->
2021-06-15 11:52:45 [14163]  (16384)   [ScrptExe] [E]   Command failed...XMLOpen
2021-06-15 11:52:45 [14163]  (16384)   [ScrptExe] [E] Error trace:
2021-06-15 11:52:45 [14163]  (16384)        [Log] [E]  [Main thread]->
2021-06-15 11:52:45 [14163]  (16384)    [SessMgr] [E]  [SessionManager::runScript:/var/McAfee/agent/update/InstallMain.McS]->
2021-06-15 11:52:45 [14163]  (16384)   [ScrptExe] [E]  [Executing section ScriptMain]->
2021-06-15 11:52:45 [14163]  (16384)   [ScrptExe] [E]  [Call]->
2021-06-15 11:52:45 [14163]  (16384)   [ScrptExe] [E]  [Executing section InstallAllProducts]->
2021-06-15 11:52:45 [14163]  (16384)   [ScrptExe] [E]  [LoopIf]->
2021-06-15 11:52:45 [14163]  (16384)   [ScrptExe] [E]  [Executing section InstallProduct]->
2021-06-15 11:52:45 [14163]  (16384)   [ScrptExe] [E]  [Call]->
2021-06-15 11:52:45 [14163]  (16384)   [ScrptExe] [E]  [Executing section IsProductInstalledUsingDetectionScript]->
2021-06-15 11:52:45 [14163]  (16384)   [ScrptExe] [E]  [Line 2066:  RunScript dwRet = /var/McAfee/agent/update/Current/POLICYAU6000LYNX/NixPolicyAuditorDet.McS, IsProductInstalled]->
2021-06-15 11:52:45 [14163]  (16384)   [ScrptExe] [E]  [Executing section IsProductInstalled]->
2021-06-15 11:52:45 [14163]  (16384)   [ScrptExe] [E]   Command failed...Call
2021-06-15 11:52:45 [14163]  (16384)   [ScrptExe] [I] Script executed.  Setting dwRet to 1
2021-06-15 11:52:45 [14163]  (16384)   [ScrptMgr] [I] Memory allocation failed.
2021-06-15 11:52:45 [14163]  (16384)   [ScrptExe] [E] Error trace:
2021-06-15 11:52:45 [14163]  (16384)        [Log] [E]  [Main thread]->
2021-06-15 11:52:45 [14163]  (16384)    [SessMgr] [E]  [SessionManager::runScript:/var/McAfee/agent/update/InstallMain.McS]->
2021-06-15 11:52:45 [14163]  (16384)   [ScrptExe] [E]  [Executing section ScriptMain]->
2021-06-15 11:52:45 [14163]  (16384)   [ScrptExe] [E]  [Call]->
2021-06-15 11:52:45 [14163]  (16384)   [ScrptExe] [E]  [Executing section InstallAllProducts]->
2021-06-15 11:52:45 [14163]  (16384)   [ScrptExe] [E]  [LoopIf]->
2021-06-15 11:52:45 [14163]  (16384)   [ScrptExe] [E]  [Executing section InstallProduct]->
2021-06-15 11:52:45 [14163]  (16384)   [ScrptExe] [E]  [Call]->
2021-06-15 11:52:45 [14163]  (16384)   [ScrptExe] [E]  [Executing section IsProductInstalledUsingDetectionScript]->
2021-06-15 11:52:45 [14163]  (16384)   [ScrptExe] [E]  [Line 2066:  RunScript dwRet = /var/McAfee/agent/update/Current/POLICYAU6000LYNX/NixPolicyAuditorDet.McS, IsProductInstalled]->
2021-06-15 11:52:45 [14163]  (16384)   [ScrptExe] [E]   /var/McAfee/agent/update/Current/POLICYAU6000LYNX/NixPolicyAuditorDet.McS did not execute succesfully

Any help would be appreciated.

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community