Inconsistent/Missing "shell" settings in Actions for Unix
Document ID :
Last Modified Date :
Show Technical Document Details
CA Automic Workload Automation
CA Automic Workload Automation:Release:1.0
CA Automic Workload Automation:Release:1.1
Error Message :
The shell of several actions is set to either -sh, -bash or nothing at all. This can cause problems, especially for actions that invoke java, as JAVA_HOME might not be set globally (which is usually the case) and the java/bin-directory might not be in the global PATH-variable (which is often the case).
As /bin/bash should be present on almost all systems, our recommendation is to consistently set the shell of all Unix jobs in actions to -bash.
In the Action "File Create Snapshot" (PACKAGES/PCK.AUTOMIC_FILESYSTEM/ACTIONS/FILE/FILESYSTEM/PCK.AUTOMIC_FILESYSTEM.PUB.ACTION.SNAPSHOT_CREATE in package PCK.AUTOMIC_FILESYSTEM version 1.1.0):
PCK.AUTOMIC_BOND.PRV.JOB.SNAPSHOT.CREATE_GUID@UNIX sets shell to "-sh"
PCK.AUTOMIC_FILESYSTEM.PRV.JOB.CREATE_SNAPSHOT@UNIX does not set shell at all (both are part of the same action, both are executed on the same system)
OS Version: N/A
Root Cause: This works as design and there is no fix for this. Please kindly help to contribute your ideas in http://ideas.automic.com
Fix Status: No Fix
Was this information helpful?