/build/static/layout/Breadcrumb_cap_w.png

Systems Management Question


Kagentlogonscript

05/02/2017 908 views
Hello, i have been trying to get a logon script to run on a mac, i have this setup as a ofline kscript pointing to the dependency script file. This has worked but intermittently has stopped working. i can see in the kagentscript.log it states Warning: AMPAgent is not running .... exiting.
But i can see AMPAgent is running, so could it be that the kagentlogonscript can not run until the AMPAgent is running?
If so is there a timeout for the kagentlogonscript to ensure the AMPAgent is running before it tries?
This is using Agent 6.4, thanks
2 Comments   [ + ] Show comments

Comments

  • I too an interested in this question. Were you able to figure anything out?
  • Hello, i got this working by upgrading both the Agent and the Appliance to the latest version. However the recent Apple Security Update and 10.12.5 combo update has stopped that. So now i have written my own launchDaemon that watches a some files and if they are touched then it runs the Kagentlogonscript. So far i have found this way more relieable that using the loginHook.
    Hope that helps

Be the first to answer this question

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ