Getting Return Code when installing via Jamf

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Getting Return Code when installing via Jamf

L1 Bithead

I am trying to deploy the EPM Agent via Jamf following these instructions (https://community.cyberark.com/s/article/EPM-How-to-configure-JAMF-for-EPM-Agent-distribution) but It seems to be failing. Can anyone tell me what I am missing? Here is the jamf log:

 

Script result: 2022-01-25_16-30-53 INFO: Starting EPM Agent installation Script 1.3

2022-01-25_16-30-53 INFO: Found DMG filename in JAMF value of CyberArkEPMAgentSetupMacOs_1_25_22.dmg Moving on...

2022-01-25_16-30-53 INFO: Protection token value is none, moving on...

2022-01-25_16-30-53 INFO: Protection token value found and added, moving on...

2022-01-25_16-30-53 INFO: Found Installation Key, Moving on...

2022-01-25_16-30-53 INFO: No Admin username provided, Skipping LCD integration Moving on...

2022-01-25_16-30-53 INFO: Checking for DMG file existance on the local disk at /Library/Application Support/JAMF/Waiting Room/CyberArkEPMAgentSetupMacOs_1_25_22.dmg

2022-01-25_16-30-53 INFO: The file /Library/Application Support/JAMF/Waiting Room/CyberArkEPMAgentSetupMacOs_1_25_22.dmg was found, Moving on...

2022-01-25_16-30-53 INFO: Created temp directory /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/ci-XXXXXXXXXX.CtNAkIJN

expected CRC32 $21EAA297

/dev/disk3 GUID_partition_scheme

/dev/disk3s1 Apple_APFS

/dev/disk4 EF57347C-0000-11AA-AA11-0030654

/dev/disk4s1 41504653-0000-11AA-AA11-0030654 /private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/ci-XXXXXXXXXX.CtNAkIJN/dmg

2022-01-25_16-30-53 INFO: Extracting DMG packages

2022-01-25_16-30-54 INFO: Unmounting DMG file from /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/ci-XXXXXXXXXX.CtNAkIJN/dmg

"disk3" ejected.

2022-01-25_16-30-54 INFO: Cleanup directory /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/ci-XXXXXXXXXX.CtNAkIJN from unnessesary files

2022-01-25_16-30-54 INFO: Starting EPM Agent installation package...

Could not complete installation on this computer: ExecutionError(executablePath: "/usr/sbin/installer", arguments: Optional(["-pkg", "/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/ci-XXXXXXXXXX.CtNAkIJN/Install CyberArk EPM.app/Contents/Resources/CyberArkEPM.pkg", "-target", "LocalSystem"]), terminationStatus: 1, errorMessage: Optional(""))

Remove Endpoint Security extensions

Remove launchd agents

Remove launchd daemons

Remove kext

Remove authorization rights

Remove PAM modules

Remove sudoers settings

Remove Finder Extension

Failed to remove Finder extension: ExecutionError(executablePath: "/usr/bin/pluginkit", arguments: Optional(["-r", "/Applications/CyberArk EPM.app/Contents/PlugIns/CyberArkEPMFinderSyncExtension.appex"]), terminationStatus: 1, errorMessage: Optional("remove: Connection invalid\n"))

Remove files and directories

Remove users and groups

2022-01-25_16-32-07 ERROR: Failed to install CyberArk EPM Agent, Exiting...

1 accepted solution

Accepted Solutions

9 REPLIES 9

L1 Bithead

As an additional question has anyone gotten an uninstallation policy to work? I am having trouble with that as well.

L5 Sessionator

Please open a support case with all necessary information and logs.

Where do I go to open a support case? I have looked and I cannot find the site to submit a case.

L5 Sessionator

Here, in the community,

In the upper part of this window, in the header ,search for "Cases" menu, click on it, and on the right side you have "New Case" button.

This is all I see - perhaps I don't have access? I will check with my Sysadmin

 

Field_Content_versions_oct20__0682J00000IBMSOQA5.png

I see.

Send an email to [email protected].

Thanks!

 

L5 Sessionator

we can't seem to package the latest version seems to fail to write to this folder /var/folders/zz cyberark - Failed to create installer package: ProcessError(terminationStatus: 1, output: Optional("xattr: [Errno 1] Operation not permitted: \'/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/com.cyberark.CyberArkEPM.6649441458333.scripts/Install CyberArk EPM.app/Contents/CodeResources\'\nxattr: [Errno 1] Operation not permitted: \'/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/com.cyberark.CyberArkEPM.6649441458333.scripts/Install CyberArk EPM.app/Contents/CodeResources\'\nxattr: [Errno 1] Operation not permitted: de\'/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/com.cyberark.CyberArkEPM.6649441458333.scripts/Install CyberArk EPM.app/Contents/_CodeSignature/CodeResources\'\nxattr: [Errno 1] Operation not permitted: \'/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/com.cyberark.CyberArkEPM.6649441458333.scripts/Install CyberArk EPM.app/Contents/_CodeSignature/CodeResources\'\nxattr: [Errno 1] Operation not permitted: \'/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/com.cyberark.CyberArkEPM.6649441458333.scripts/Install CyberArk EPM.app/Contents/MacOS/CyberArkEPMInstaller\'\nxattr: [Errno 1] Operation not permitted: - we've logged a ticket and we had to get cyberark to package the application for us, so it could well be a security issue with EDR/MDM jamf in this case? anyone had similar issues

L4 Transporter

we can't seem to package the latest version seems to fail to write to this folder /var/folders/zz cyberark - Failed to create installer package: ProcessError(terminationStatus: 1, output: Optional("xattr: [Errno 1] Operation not permitted: \'/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/com.cyberark.CyberArkEPM.6649441458333.scripts/Install CyberArk EPM.app/Contents/CodeResources\'\nxattr: [Errno 1] Operation not permitted: \'/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/com.cyberark.CyberArkEPM.6649441458333.scripts/Install CyberArk EPM.app/Contents/CodeResources\'\nxattr: [Errno 1] Operation not permitted: de\'/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/com.cyberark.CyberArkEPM.6649441458333.scripts/Install CyberArk EPM.app/Contents/_CodeSignature/CodeResources\'\nxattr: [Errno 1] Operation not permitted: \'/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/com.cyberark.CyberArkEPM.6649441458333.scripts/Install CyberArk EPM.app/Contents/_CodeSignature/CodeResources\'\nxattr: [Errno 1] Operation not permitted: \'/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/com.cyberark.CyberArkEPM.6649441458333.scripts/Install CyberArk EPM.app/Contents/MacOS/CyberArkEPMInstaller\'\nxattr: [Errno 1] Operation not permitted: - we've logged a ticket and we had to get cyberark to package the application for us, so it could well be a security issue with EDR/MDM jamf in this case? anyone had similar issues

  • 1 accepted solution
  • 577 Views
  • 9 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!