Agent wob failed with “Invalid shell” error:
Example:
HPUX_JOB JOB1.HP
RUN TODAY
AGENT HP_AGENT
SCRIPTNAME "/<path>/<dir>/test_run.pl"
ENVAR PWD=/<path>/<dirr>/pwd
EXITCODE 0 SUCCESS
ENDJOB
Component: ESP Workload Automation, Workload Automation Agents
Release: 12.0
When using SCRIPTNAME "/<path>/<dir>/test_run.pl", the agent doesn't know Perl (.pl) as a valid shell.
Update the agentparm.txt in Workload Agent as follows:
oscomponent.validshell=/<path>/bin/sh,/bin/csh,/bin/ksh,/usr/bin/ksh,/bin/sh
Or
Use a wrapper script in a Unix Shell