Database weirdness: JSS Policy log shows 2 or 3 entries for policies that run only once

mthakur
Contributor

Anyone else seeing duplicate entries in the JSS policy log for the some policies?

Policy Username at login/logout Date/Time Status Actions Upgrade to Microsoft Autoupdate v3.3.0 for Yosemite and higher Today at 4:43 AM Completed Upgrade to Microsoft Autoupdate v3.3.0 for Yosemite and higher Today at 4:43 AM Completed Upgrade Microsoft Office 2016 for Mac v15.17 Today at 4:43 AM Completed Upgrade Microsoft Office 2016 for Mac v15.17 Today at 4:43 AM Completed Install Xcode v7.2 Today at 4:43 AM Completed Install Xcode v7.2 Today at 4:43 AM Completed Install Xcode v7.2 Today at 4:41 AM Completed Upgrade to Microsoft Autoupdate v3.3.0 for Yosemite and higher Today at 4:41 AM Completed Upgrade Microsoft Office 2016 for Mac v15.17 Today at 4:41 AM Completed Install Mozilla Firefox v42.0 Today at 3:50 AM Completed Install Microsoft Silverlight v5.1.41105.0 Today at 3:49 AM Completed Install Google Chrome v47.0.2526.80 with PepperFlash Today at 3:49 AM Completed Install Apple SecUpd2015-006Yosemite.pkg Today at 3:49 AM Completed Install Adobe Flash Player v20.0.0.235 Today at 3:47 AM Completed Apple Safari v9.0.2 Yosemite Today at 3:47 AM Completed Apple iTunes v12.3.2 Today at 3:46 AM Completed Update Inventory Yesterday at 4:52 PM Completed

However, /var/log/jamf.log on the endpoint in question shows each policy correctly running only once:

Tue Dec 15 03:51:17 hostname jamf[88455]: Executing Policy Install Xcode v7.2... Tue Dec 15 04:00:25 hostname jamf[88455]: Installing Apple Xcode v7.2.pkg... Tue Dec 15 04:15:17 hostname jamf[88455]: Successfully installed Apple Xcode v7.2.pkg. Tue Dec 15 04:26:38 hostname jamf[88455]: Executing Policy Upgrade to Microsoft Autoupdate v3.3.0 for Yosemite and higher... Tue Dec 15 04:26:39 hostname jamf[88455]: Installing Microsoft_AutoUpdate_3.3.0_Updater.pkg... Tue Dec 15 04:26:43 hostname jamf[88455]: Successfully installed Microsoft_AutoUpdate_3.3.0_Updater.pkg. Tue Dec 15 04:43:51 hostname jamf[17916]: Background Restart

These duplicate log entries appears to be occurring only on one host, and only with some policies.

Any ideas why?

In case it makes a difference, yesterday (prior to all the above policy runs) I ran a full repair and optimize on MySQL tables.

1 REPLY 1

charles_hitch
Contributor II

We see this too. JAMF told me its because the policy was attempted multiple times (the local binary attempts three times before officially failing). For us this is predominantly systems that are on WiFi or VPN.