Posted on 06-17-2022 05:55 AM
Hi everyone,
We have PreStage Enrollments and we now have 2 Macs which initially enrolled and I see them registered in Jamf. The problem is, they do not check in after the initial registration and does not get our standard apps (which deploy via smart group targeting a policy for installs).
I see that the device does get the configuration profiles and it registers in Jamf but after that initial it seems to not check in any more.
Any suggestions where to look?
Posted on 06-17-2022 07:29 AM
What do the client logs show (/var/log/jamf.log)?
Do you have "Collect available software updates" enabled under Settings > Computer Management, or any Extension Attributes that use the softwareupdate command line tool? I have seen this cause issues with both check-in and inventory on some devices due to a known issue in all versions of macOS.
Posted on 06-17-2022 07:32 AM
Thanks for the reply. No EA for softwareupdate
BUT I do have "Collect available software updates" enabled. So this might be the cause of the issue?
Posted on 06-17-2022 07:41 AM
It might be, there are known issues with the softwareupdated daemon that have broken inventory for some admins. I have seen it break check-in but Macs continue to update inventory which is the reason I mentioned it.
Before making any changes I would suggest getting a hold of the client logs from an affected Mac and analyzing. For me it was very apparent what was breaking it as I could see a policy with the "Software Update" payload attempting to execute, and that was the last line in the client log.
06-22-2022 05:10 AM - edited 06-23-2022 05:56 AM
So this is the logs from the client.
Wed Jun 15 12:21:43 MacBook Pro jamf[8170]: Removing existing launchd task /Library/Application Support/JAMF/tmp/com.jamfsoftware.task.startssh.plist...
Wed Jun 15 12:21:43 MacBook Pro jamf[8192]: The SSL Certificate for https://XXXX.jamfcloud.com/ must be trusted for the jamf binary to connect to it.
Enrolling computer...
Wed Jun 15 12:21:49 MacBook Pro jamf[8215]: Skipping trustJSS command...
Wed Jun 15 12:21:49 MacBook Pro jamf[8215]: JMFCommons.JamfKeychain.JamfKeychainSecurityError.failedToReadJmfKeychainPassword
Wed Jun 15 12:21:50 MacBook Pro jamf[8215]: JMFCommons.JamfKeychain.JamfKeychainSecurityError.failedToReadJmfKeychainPassword
Wed Jun 15 12:21:52 MacBook Pro jamf[8215]: Creating user ADMINXXXX...
Wed Jun 15 12:22:06 MacBook Pro jamf[8215]: The device certificate was created successfully.
Wed Jun 15 12:22:26 MacBook Pro jamf[8215]: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.jamf.management.daemon.binary was invalidated from this process." UserInfo={NSDebugDescription=The connection to service named com.jamf.management.daemon.binary was invalidated from this process.}
Wed Jun 15 12:22:26 MacBook Pro jamf[8215]: Removing existing launchd task /Library/LaunchDaemons/com.jamfsoftware.task.bgrecon.plist...
Wed Jun 15 12:22:26 MacBook Pro jamf[8215]: Downloading the Jamf Bundle...
Wed Jun 15 12:22:31 MacBook Pro jamf[8215]: Enforcing management framework...
Wed Jun 15 12:22:34 MacBook Pro jamf[8215]: Enforcing scheduled tasks...
Wed Jun 15 12:22:35 MacBook Pro jamf[8215]: Adding launchd task com.jamfsoftware.task.1...
Wed Jun 15 12:22:36 MacBook Pro jamf[8215]: Updating daemon settings
Wed Jun 15 12:22:38 MacBook Pro jamf[8215]: Flushing the /Library/Application Support/JAMF/tmp directory was successful
Wed Jun 15 12:22:38 MacBook Pro jamf[8215]: Upgrading jamfHelper.app...
Wed Jun 15 12:22:39 MacBook Pro jamf[8215]: Upgrading JAMF notification service...
Wed Jun 15 12:22:39 MacBook Pro jamf[8215]: Removing existing launchd task /Library/Application Support/JAMF/tmp/com.jamfsoftware.task.policy.plist...
Wed Jun 15 12:22:39 MacBook Pro jamf[8215]: Unable to launch Self Service. (null) is missing.
Wed Jun 15 12:22:39 MacBook Pro jamf[8215]: Enroll return code: 0
Wed Jun 15 12:22:41 MacBook Pro jamf[8899]: Checking for policies triggered by "enrollmentComplete" for user "XXXX"...
Wed Jun 15 12:22:44 MacBook Pro jamf[8899]: Executing Policy Enrollment
Wed Jun 15 12:22:44 MacBook Pro jamf[8899]: Caching package SentinelAgent_macos_v22_1_2_6102.pkg...
Wed Jun 15 12:22:47 MacBook Pro jamf[8899]: Installing all available Software Updates...
Wed Jun 15 12:28:34 MacBook Pro jamf[9064]: Checking for policies triggered by "recurring check-in" for user "XXXXX"...
Wed Jun 15 12:28:39 MacBook Pro jamf[9064]: Executing Policy Key Escrow
Wed Jun 15 12:29:06 MacBook Pro jamf[9064]: Executing Policy Enrollment
Wed Jun 15 12:29:06 MacBook Pro jamf[9064]: Caching package SentinelAgent_macos_v22_1_2_6102.pkg...
Wed Jun 15 12:29:10 MacBook Pro jamf[9064]: Installing all available Software Updates..
Posted on 06-22-2022 07:10 AM
Not sure what the issue could be as it seems to install Jamf etc. As of today still no reporting back. I assume these we will have to remove from Jamf and re-enroll via manual process. I would like to get this resolved where it actually checks in
Posted on 09-22-2022 01:12 AM
@Sirsam28 wrote:So this is the logs from the client.
Wed Jun 15 12:21:43 MacBook Pro jamf[8170]: Removing existing launchd task /Library/Application Support/JAMF/tmp/com.jamfsoftware.task.startssh.plist...
Wed Jun 15 12:21:43 MacBook Pro jamf[8192]: The SSL Certificate for https://XXXX.jamfcloud.com/krunker must be trusted for the jamf binary to connect to it.
Enrolling computer...
Wed Jun 15 12:21:49 MacBook Pro jamf[8215]: Skipping trustJSS command...
Wed Jun 15 12:21:49 MacBook Pro jamf[8215]: JMFCommons.JamfKeychain.JamfKeychainSecurityError.failedToReadJmfKeychainPassword
Wed Jun 15 12:21:50 MacBook Pro jamf[8215]: JMFCommons.JamfKeychain.JamfKeychainSecurityError.failedToReadJmfKeychainPassword
Wed Jun 15 12:21:52 MacBook Pro jamf[8215]: Creating user ADMINXXXX...
Wed Jun 15 12:22:06 MacBook Pro jamf[8215]: The device certificate was created successfully.
Wed Jun 15 12:22:26 MacBook Pro jamf[8215]: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.jamf.management.daemon.binary was invalidated from this process." UserInfo={NSDebugDescription=The connection to service named com.jamf.management.daemon.binary was invalidated from this process.}
Wed Jun 15 12:22:26 MacBook Pro jamf[8215]: Removing existing launchd task /Library/LaunchDaemons/com.jamfsoftware.task.bgrecon.plist...
Wed Jun 15 12:22:26 MacBook Pro jamf[8215]: Downloading the Jamf Bundle...
Wed Jun 15 12:22:31 MacBook Pro jamf[8215]: Enforcing management framework...
Wed Jun 15 12:22:34 MacBook Pro jamf[8215]: Enforcing scheduled tasks...
Wed Jun 15 12:22:35 MacBook Pro jamf[8215]: Adding launchd task com.jamfsoftware.task.1...
Wed Jun 15 12:22:36 MacBook Pro jamf[8215]: Updating daemon settings
Wed Jun 15 12:22:38 MacBook Pro jamf[8215]: Flushing the /Library/Application Support/JAMF/tmp directory was successful
Wed Jun 15 12:22:38 MacBook Pro jamf[8215]: Upgrading jamfHelper.app...
Wed Jun 15 12:22:39 MacBook Pro jamf[8215]: Upgrading JAMF notification service...
Wed Jun 15 12:22:39 MacBook Pro jamf[8215]: Removing existing launchd task /Library/Application Support/JAMF/tmp/com.jamfsoftware.task.policy.plist...
Wed Jun 15 12:22:39 MacBook Pro jamf[8215]: Unable to launch Self Service. (null) is missing.
Wed Jun 15 12:22:39 MacBook Pro jamf[8215]: Enroll return code: 0
Wed Jun 15 12:22:41 MacBook Pro jamf[8899]: Checking for policies triggered by "enrollmentComplete" for user "XXXX"...
Wed Jun 15 12:22:44 MacBook Pro jamf[8899]: Executing Policy Enrollment
Wed Jun 15 12:22:44 MacBook Pro jamf[8899]: Caching package SentinelAgent_macos_v22_1_2_6102.pkg...
Wed Jun 15 12:22:47 MacBook Pro jamf[8899]: Installing all available Software Updates...
Wed Jun 15 12:28:34 MacBook Pro jamf[9064]: Checking for policies triggered by "recurring check-in" for user "XXXXX"...
Wed Jun 15 12:28:39 MacBook Pro jamf[9064]: Executing Policy Key Escrow
Wed Jun 15 12:29:06 MacBook Pro jamf[9064]: Executing Policy Enrollment
Wed Jun 15 12:29:06 MacBook Pro jamf[9064]: Caching package SentinelAgent_macos_v22_1_2_6102.pkg...
Wed Jun 15 12:29:10 MacBook Pro jamf[9064]: Installing all available Software Updates..
Thank for the update.