Quick question about scripts and dependencies. I'm trying to push a small batch file does some writing to the hosts file on the PC, and installs a reg file. If I remote into the box and run things it works great. I've added the required files as a dependency on the script and created my verify, success, and remidation steps. I'm launching the program like this

Launch “$(KACE_DEPENDENCY_DIR)\hosts.bat” with params “”.

For some reason, on only some of the machines, the script fails with the error under "Run Failures" and says "Skipping Hosts Update because dependencies are not on the system"

It doesn't fail on Push, but under run. I can't figure out why the dependencies are not showing up. On a 6 machine test group 2 succeed and 4 fail. Running it multiple times yield the same 4 failing. Is there a reason why the dependencies wouldn't push to the box? Any suggestions? Did some searching and couldn't come up with any solutions that addressed this specific issue. Thanks for the advice.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
on the machines that fail run "c:\program files\kace\kbox\runkbot 3 0" from a command line. This will force it to update scripts on the client immediately and not wait for the update interval. Then run the script you want to test "c:\program files\kace\kbox\runkbot N V" where N is the script number and V is the version number. e.g. "runkbot 10 1282759758"

If that works then you likely need to wait for the scripts to get updated. If it fails then debug logging and a support ticket is my recommendation
Answered 01/04/2011 by: GillySpy
Seventh Degree Black Belt

Please log in to comment
0
Here is what we've been able to find so far. The scripts are running on the machines just fine but the files are not being pushed correctly. As I stated up above the failure point is during the 'Run' process and it fails because dependencies are missing. This happens with any script, built in or custom, that requires files to be on the machine.

After further testing we've found that it fails on machines that are on a different IP range then our main system. Our kace, and main network is on a 10.100.X.X but our remote sites (connected by fiber) are on a 10.101.X.X. We also have a group of machines that have dual ip's because they are connecting to two different networks and it fails there too. I've opened a ticket with Kace and will report what we find. This network setup is not that uncommon so someone out there must have run into issues like this before. I'll try and share what we find in case anyone else needs the info.
Answered 01/06/2011 by: bcreasey
Orange Belt

Please log in to comment
0
After spending two and a half hours on the phone with KACE today, dealing with a similar issue, I think I might know what is going on. I was experiencing the same failures when pushing scripts to my pc's. The issue was caused by the web server name that was set up in the Network Settings. I do not have an in house DNS server but I can browse across my stores, which are on different subnets, but I must do so by IP address. I had set up a web server name that was not resolving in the DNS and therefore causing Dependency Failures. I changed the web server name to the IP address of the KBOX1000 and was finally able to run my scripts and managed installs from location to location. If you do have a DNS server then you should probably refer to this document for help with your web server name settings.

[link]http://www.kace.com/support/kb/pdf.php?cat=1&id=628&lang=en[/link]

I hope this helps.
Answered 02/02/2011 by: loren83
Yellow Belt

Please log in to comment
0
Excellent, thank you. Here is the html version of the same doc : http://www.kace.com/support/kb/index.php?action=artikel&cat=1&id=628&artlang=en
Answered 02/03/2011 by: GillySpy
Seventh Degree Black Belt

Please log in to comment
0
Awesome! This solved my issue.
Answered 04/28/2011 by: tvaquerano
Senior Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity