Autosys command job with csh script on RHEL 8 server loops and creates multiple processes and the job hungs in "RU" state.
Release : 11.5 and 12.0
Component : CA Workload Automation System Agent
The problem is specific to Red Hat 8, csh and auto.profile. The auto.profile setting the path to include $AUTOSYS/test/bin. The $AUTOSYS/test/bin directory contains a script named "test". Since the auto.profile script has the following:
# Set a PATH so executables can be found
It sets the $AUTOSYS/test/bin directory in the beginning of the PATH so the "test" script is being called instead of /usr/bin/test. Red Hat 8 has change the /etc/profile.d/colorzgrep.csh script to include the following:
This did not exist in earlier versions of RedHat. This script gets executed by /etc/csh.cshrc. In the /etc/csh.cshrc there is the following section which sources all of the csh scripts in /etc/profile.d.
To identify the problem follow the below instructions.
Rename /opt/CA/WorkloadAutomationAE/autosys/test/bin/test to /opt/CA/WorkloadAutomationAE/autosys/test/bin/as_sample
Remove $AUTOSYS/test/bin from the PATH in auto.profile.
This would be addressed in(future release)12.1 Agent version.