has the jamf binary gotten corrupted?

acdesigntech
Contributor II

Ok, so weird situation with several of the Macs here:

I'm running a policy to detect the version of MS Office a Mc has and install appropriate updates, and on several I've gotten the following error in the policy logs for that Mac:

/private/tmp/determineOfficeLevel.sh: line 7: 690 Killed jamf policy -trigger UpgradeEntourage

I'm assuming the 690 is the process ID since it's different for every Mac.

This is the code that the policy runs:

#!/bin/sh

if [ -e "/Applications/Microsoft Office 2004/Microsoft Word" -o -e "/Applications/Microsoft Office 2008/Microsoft Word.app" ]; then
    jamf policy -trigger UpgradeOffice
else
    jamf policy -trigger UpgradeEntourage
fi

issuing a sudo jamf removeFramework to that client, then re-reconning it fixes the problem and I am able to run this policy successfully. However until I do so, it will fail with the exact same error every time.

I was wondering if there is a way to proactively find clients that need to be reinstalled and do so before I have a mess on my hands after the upgrade.

0 REPLIES 0