Skip to main content
Question

jamf recon command not working

  • August 27, 2019
  • 5 replies
  • 86 views

Forum|alt.badge.img+12

jamf recon command when run in verbose mode shows that it works upto JSS is available and doesnot update inventory.

When check the JAMF client logs, there is a couple of error messages.

  • JSS connectivity state change - state: notActive, user: nil
  • Error triggering policy id: 386 error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.jamf.management.daemon.selfservice was invalidated." USerInfo={NSDebugDescription=The connection to service named com.jamf.management.daemon.selfservice was invalidated.}

5 replies

easyedc
Forum|alt.badge.img+16
  • Esteemed Contributor
  • August 27, 2019

Just out of curiosity, if you do a

Sudo jamf enroll -prompt

Can you reestablish a connection?


Forum|alt.badge.img+12
  • Author
  • Valued Contributor
  • August 27, 2019

@easyedc Yes, I can do the re-enrolment and its gives message that the certificate is installed successful and then again 'sudo jamf recon' doesn't work.


dletkeman
Forum|alt.badge.img+15
  • Jamf Heroes
  • January 24, 2022

I know this is an old post but did you ever figure this out?  I'm getting a similar issue on some computers:

verbose: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.jamf.management.daemon.binary was invalidated from this process." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.jamf.management.daemon.binary was invalidated from this process.}


Can't figure out what's causing it.

 


Forum|alt.badge.img+4
  • Contributor
  • February 9, 2022

I know this is an old post but did you ever figure this out?  I'm getting a similar issue on some computers:

verbose: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.jamf.management.daemon.binary was invalidated from this process." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.jamf.management.daemon.binary was invalidated from this process.}


Can't figure out what's causing it.

 


Try this "sudo jamf enroll -prompt" that will enforce to install the JSS apps. 


Steven_Xu
Forum|alt.badge.img+7
  • Contributor
  • June 12, 2024

Check if jamf daemon loaded: sudo launchctl list | grep jamf

Load daemon if not: sudo launchctl load -w /Library/LaunchDaedom/com.jamf.management.daemon.plist

Then run: sudo jamf manage, sudo jamf recon, sudo jamf policy to check if everything ok.

Restart computer and check if jamf daemon loaded automatically.