Job running perl script failed with "invalid shell" error

Document ID : KB000024017
Last Modified Date : 14/02/2018
Show Technical Document Details

Issue/Problem/Symptoms: 

Job running Perl script failed with "invalid shell" error while specifying perl as shell name.

Environment:  

UNIX and Linux base systems

Cause: 

The Perl shell specified in the job definition shell statement is considered 'invalid' due to the shell is missing in the parameter oscomponent.validshell in the agentparm.txt file.

Figure 1

 

Resolution/Workaround:

1. Add Perl shell as a valid shell in agentparm.txt file. For example:
oscomponent.validshell=/usr/bin/sh,/bin/csh,/bin/ksh,/bin/sh,/usr/bin/perl

2. The corresponding job definition does not have the correct shell that is specified in the shell statement.

 

Additional Information:

 

Agent Error Messages on UNIX