(imported topic written by jstamps91)
Hi:
(I’m new to these forums, and this might not be the best place to post my question. Pls let me know if I should post to a different forum.)
I’m encountering a problem w/ a Mac action script that I wrote, and I’m unsure why. The script is quite simple, and I’ve copied it below. The failures have been occurring w/ increasing frequency, but there’s no clear pattern. At first the script worked more often than not, now the reverse is true.
The specific error seen in the console is “download failed.” The downloads are properly cached on the server.
In an earlier version of the script I was (unnecessarily) copying one of the downloads into /tmp before running it; now I’m running it from Utilities. I mention this b/c I did some troubleshooting for that script, which appears to have had the same problem I’m describing here.
To address the failures of the earlier script one had to delete (on the client machine) the locally cached instances of the downloaded files from /Library/Application Support/BigFix/BES Agent/__BESData/__Global/__Cache. There would also be a couple of small files (called “Pending” and “0”) wedged in the numbered action folder in /Library/Application Support/BigFix/BES Agent/__BESData/__Global/__Download/actionsite.
The local client log recorded the failure thus:
ActionLogMessage: (action 118655 ) JobReady - ok to start
ActionLogMessage: (action 118655 ) MoveFiles before running action failed
I don’t know if the current version of the script, which doesn’t copy anything into /tmp, exhibits precisely this behavior, b/c I haven’t yet sat down and physically looked at any machines on which the current script is failing.
One possible complicating factor, though I’m now suspecting it’s not relevant, is that the machines on which this script is executed may be in the process of having their drives encrypted by PGP. But I’m now seeing failures on machines that have long since been fully encrypted.
Is there anything obviously problematic w/ my action script? Am I running into a known bug? We’re still using the 6.0.9 version of the Mac BES client.
Thanks for your help. Pls let me know if you need additional information.
-Jay
prefetch pgpwde_status_script sha1:6f51678d0bdc6c405d4d75ed43d726cd0469f95f size:80 http://www.stanford.edu/.../pgpwde_status_script
utility __Download/pgpwde_status_script
wait /bin/sh “{posix path of client folder of current site & “/__Download/pgpwde_status_script”}”
prefetch PgpEnforcer sha1:f2fca71e16b1236b6d3868db822dfb1d2cae1cfa size:144580 http://www.stanford.edu/.../PgpEnforcer
utility __Download/PgpEnforcer
wait “{posix path of client folder of current site & “/__Download/PgpEnforcer”}”
wait touch “/Library/Preferences/edu.stanford.PGPLastCheck.txt”
wait /bin/sh -c “echo LastCheck={hour of now as string}:{minute of now as string} > /Library/Preferences/edu.stanford.PGPLastCheck.txt”