UNIX jobs failed: /home/bta/TA.out.sh: not found.
search cancel

UNIX jobs failed: /home/bta/TA.out.sh: not found.

book

Article ID: 218056

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Unix jobs is failing with the following error message in the report log:

 

***************************************************************************
**  ucxja64m     version 12.3.1+hf.4.build.1576940004687 changelist 1576758450  **
**  JOB 0008954384 (ProcID:0002338854) START AT   15.06.2021 / 15:28:42  **
**                                     UTC TIME   15.06.2021 / 19:28:42  **
**  TEXT="        Job started             "                              **
***************************************************************************
/automic/servicemanager/bin/../../Agent/bin/../temp/JAATPMDK.TXT[5]: /home/bta/TA.out.sh:  not found.
***************************************************************************
**  ucxja64m     version 12.3.1+hf.4.build.1576940004687 changelist 1576758450  **
**  JOB 0008954384 (ProcID:0002338854) ENDED AT   15.06.2021 / 15:28:42  **
**                                     UTC TIME   15.06.2021 / 19:28:42  **
**  TEXT="        Job ended               "       RETCODE=127             **
***************************************************************************

 

In the UNIX agent log, the error message below is present.

----------------------------------------------------------
U02000009 Job 'JOBS.UNIX.BTA' with RunID '6348498' ended with return code '127'
----------------------------------------------------------

 

Additional information: The Process tab contains an external shell script that is supposed to be executed. 

Environment

Release : 12.3

Component : AUTOMATION ENGINE

Cause

There could be a permission issue on the external shell script. 

Resolution

Troubleshooting steps:

-The return code 127 is coming from the operating system which could mean an issue with $PATH or the command within the script is not found within the system user's path. Try to execute the script below from the command line while logged in as the same user used in the LOGIN object ? 

/home/bta/TA.out.sh

 

-Check if the /home/bta/TA.out.sh is executable