search cancel

Job failing with return code 127

book

Article ID: 203144

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

When running an Automic Linux Agent job, the job is failing with the following error:

/opt/uc4/AutomicV12/ServiceManager/bin/../../Agents/unix/bin/../temp/JAASFVKA.TXT[4]: /u01/app/oracle/local/scripts/clone/precloneapp.sh

Environment

Release : 12.2.x

Component : AUTOMATION ENGINE

Resolution

The problem is a permission problem. We proved this in the script by executing the following command:

ls -la /u01/app/oracle/local/scripts/clone/

only returns the following:

drwxrwxrwx 2 <username> <groupname> 4096 Feb 28 2020 .
drwxr-xr-x 3 <username> <groupname> 4096 Feb 28 2020 ..
-rwxrwxrwx 1 <username> <groupname> 6151 Feb 28 2020 clone_apps_env
-rwxrwxrwx 1 <username> <groupname> 10098 Feb 28 2020 clone_step92.sh
-rw-r--r-- 1 <username> <groupname> 924 Feb 28 2020 L1167589.log

There is no file called precloneapp.sh

So the issue is an OS permission problem.