jamf recon command not working

khurram
Contributor III

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 5

easyedc
Valued Contributor II

Just out of curiosity, if you do a

Sudo jamf enroll -prompt

Can you reestablish a connection?

khurram
Contributor III

@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
Contributor II

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.

 

NisarFawad
New Contributor III

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

Steven_Xu
Contributor

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.