jobs running on new upgraded v12 linux base agent getting rc=126

book

Article ID: 198668

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine CA Automic Workload Automation - Automation Engine

Issue/Introduction

Automic Admin upgraded the linux base agent from v11 to v12.3.2
When executing jobs, they get the following error:

U02000009 Job 'JOBS.CPGIT.DRDOL_001_QA_REPLICATE_CUST' with RunID '17021783' ended with return code '126'.
           

Cause

Permissions on the Agent file directory

Environment

Release : 12.3

Component : AUTOMATION ENGINE

Resolution

The job:

JOBS.CPGIT.DRDOL_001_QA_REPLICATE_CUST

was being ran as a non-root user, who didn't have access to the Agent's directory at the highest level.

Updated the Agent's parent directory to 755 permissions and then the job ran successfully.