Bundle script action fails with ProgramErrorWithExplaination

  • 7017500
  • 13-Apr-2016
  • 13-Apr-2016

Environment

Novell ZENworks Configuration Management 11.4

Situation

ERROR (from zmd-messages.log)

Action handler runscriptenf finished processing 
Run Script with error: ActionHandlers.RunScriptHandler.ProgramErrorWithExplaination.

Resolution

Confirm the return code that is being returned by the script.  If non zero but acceptable for success, add that return code value to the bundle as success codes.

Additional Information

If the script or executable that is failing writes an error to stderr, that error will be seen in the logs.  However if it does not write to stderr, there is no way to know what the reason for the error is except by testing the return code value.