cancel
Showing results for 
Search instead for 
Did you mean: 
tr0n
Level 7

cmdagent.Error

Here's our environment testing specs

macOS Sierra 10.12.0 and 10.12.1

McAfee ePO Agent 5.0.3

On macOS 10.12, ran the install.sh for 5.0.3 and it installed the agent but is not able to check or enforce policies; i get the following error: (full error log at end of post)

sudo /Library/McAfee/Agent/bin/cmdagent -c

2016-10-28 17:56:20.484 (15181.-1525935680) cmdagent.Error: Failed to get ma info, error code <507>.

2016-10-28 17:56:20.485 (15181.-1525935680) cmdagent.Error: Get agent mode failed. Operation failed

It loads up all the appropriate folders in /Library/McAfee

just not in

/Library/Application Support/McAfee

/usr/local/McAfee

I was able to run the 5.0.3 agent on a Mac running 10.11.6 without any issues, but it upgraded the 4.8 agent to 5.0.3 agent

I'm not entirely sure if we have ENS running, i'm not really part of that group...mainly Mac side not EPO side.

Also here is the log from the mcafee installer i pulled

Fri Oct 28 17:38:12 MST 2016 - Starting installation of McAfee Agent

Fri Oct 28 17:38:12 MST 2016 -  - Installing new McAfee Agent

space required to copy archive is 13286478 bytes

space available at mfekIP8YN is 1072799674368 bytes

extracting archive to mfekIP8YN... please wait

231+0 records in

231+0 records out

118272 bytes transferred in 0.000682 secs (173389976 bytes/sec)

12725+1 records in

12725+1 records out

6515609 bytes transferred in 0.042298 secs (154041175 bytes/sec)

Archive:  mfekIP8YN/package.zip

  inflating: mfekIP8YN/MFEma.dmg    

  inflating: mfekIP8YN/reqseckey.bin 

  inflating: mfekIP8YN/srpubkey.bin 

  inflating: mfekIP8YN/sitelist.xml 

  inflating: mfekIP8YN/req2048seckey.bin 

  inflating: mfekIP8YN/sr2048pubkey.bin 

  inflating: mfekIP8YN/agentfipsmode 

  inflating: mfekIP8YN/RepoKeys.ini 

Checksumming whole disk (Apple_HFS : 0)…

          whole disk (Apple_HFS : 0): verified   CRC32 $D2FAD3B4

verified   CRC32 $7353B941

/dev/disk4                                         /Volumes/MFEMA

Oct 28 17:38:16  installer[13086] <Debug>: Product archive /Volumes/MFEMA/ma.pkg trustLevel=202

Oct 28 17:38:16  installer[13086] <Debug>: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: location = file://localhost

Oct 28 17:38:16  installer[13086] <Debug>: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: file://localhost/Volumes/MFEMA/ma.pkg#ma.pkg

Oct 28 17:38:16  installer[13086] <Debug>: Set authorization level to root for session

Oct 28 17:38:16  installer[13086] <Info>: Administrator authorization granted.

Oct 28 17:38:16  installer[13086] <Debug>: Will use PK session

Oct 28 17:38:16  installer[13086] <Debug>: Using authorization level of root for IFPKInstallElement

Oct 28 17:38:16  installer[13086] <Info>: Starting installation:

Oct 28 17:38:16  installer[13086] <Notice>: Configuring volume "Macintosh HD"

Oct 28 17:38:16  installer[13086] <Info>: Preparing disk for local booted install.

Oct 28 17:38:16  installer[13086] <Notice>: Free space on "Macintosh HD": 1.07 TB (1072786354176 bytes).

Oct 28 17:38:16  installer[13086] <Notice>: Create temporary directory "/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T//Install.13086YqIzCC"

Oct 28 17:38:16  installer[13086] <Notice>: IFPKInstallElement (1 packages)

Oct 28 17:38:16  installer[13086] <Notice>: PackageKit: Enqueuing install with framework-specified quality of service (utility)

Oct 28 17:38:27  installer[13086] <Notice>: Running install actions

Oct 28 17:38:27  installer[13086] <Notice>: Removing temporary directory "/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T//Install.13086YqIzCC"

Oct 28 17:38:27  installer[13086] <Notice>: Finalize disk "Macintosh HD"

Oct 28 17:38:27  installer[13086] <Notice>: Notifying system of updated components

Oct 28 17:38:27  installer[13086] <Notice>:

Oct 28 17:38:27  installer[13086] <Notice>: **** Summary Information ****

Oct 28 17:38:27  installer[13086] <Notice>:   Operation      Elapsed time

Oct 28 17:38:27  installer[13086] <Notice>: -----------------------------

Oct 28 17:38:27  installer[13086] <Notice>:        disk      0.03 seconds

Oct 28 17:38:27  installer[13086] <Notice>:      script      0.01 seconds

Oct 28 17:38:27  installer[13086] <Notice>:        zero      0.00 seconds

Oct 28 17:38:27  installer[13086] <Notice>:     install      11.52 seconds

Oct 28 17:38:27  installer[13086] <Notice>:     -total-      11.55 seconds

Oct 28 17:38:27  installer[13086] <Notice>:

installer: Package name is McAfee Agent

installer: Installing at base path /

installer: The install was successful.

"disk4" unmounted.

"disk4" ejected.

Fri Oct 28 17:38:33 MST 2016 - Checking for new policies

2016-10-28 17:38:33.113 (13749.-1525935680) cmdagent.Error: Failed to get ma info, error code <507>.

2016-10-28 17:38:33.114 (13749.-1525935680) cmdagent.Error: Get agent mode failed. Operation failed

Fri Oct 28 17:38:33 MST 2016 - Collecting and sending computer properties to ePO server

2016-10-28 17:38:33.141 (13753.-1525935680) cmdagent.Error: Failed to get ma info, error code <507>.

2016-10-28 17:38:33.141 (13753.-1525935680) cmdagent.Error: Get agent mode failed. Operation failed

Fri Oct 28 17:38:33 MST 2016 - Forwarding events to ePO server

2016-10-28 17:38:33.169 (13756.-1525935680) cmdagent.Error: Failed to get ma info, error code <507>.

2016-10-28 17:38:33.169 (13756.-1525935680) cmdagent.Error: Get agent mode failed. Operation failed.

Fri Oct 28 17:38:33 MST 2016 - Enforcing ePO server policies

2016-10-28 17:38:33.198 (13759.-1525935680) cmdagent.Error: Policy enforcement command initiated by cmdagent failed, 507.

Fri Oct 28 17:38:33 MST 2016 - Installation script completed

0 Kudos
4 Replies
patgmac
Level 9

Re: cmdagent.Error

You need 5.0.4 for Sierra.

0 Kudos
mcdave
Level 10

Re: cmdagent.Error

Same issue here with version 5.0.4

0 Kudos
DocB
Level 10

Re: cmdagent.Error

Folks,

Uninstall the earlier Agent version, then install 5.0.4.  After that, install ENS for MACs.  This fixed it when I had problems.  You also have to use ENS 10.2.x for MAC 10.12 systems, rather than the 9.8 version of VSE.  Get ready to migrate/update your MAC policies when you do this.  It's time to go back and read all the stuff about migrating to ENS, because you'll be using ENS policies.  It won't mess with your Windows VSE systems or MACs still on 9.8, at least as far as I can tell in my environment.

HTH,

DocB

0 Kudos
mcdave
Level 10

Re: cmdagent.Error

reinstalled the agent (uninstall & intall) already 3 times without improvements.

0 Kudos