ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Job fails on Linux server as variable KRB5CCNAME not set

book

Article ID: 186345

calendar_today

Updated On:

Products

CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - System Agent (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) Workload Automation Agent CA Workload Automation AE

Issue/Introduction

When putty into Linux server a kerberos ticket is obtained and the environment variable "KRB5CCNAME" is set and Job ran successfully.
KRB5CCNAME=FILE:/tmp/krb5cc_<uid>_<random 6 char>

But when jobs are run via Autosys, the ticket is obtained to the same location above but the environment variable "KRB5CCNAME" is not set.
So, Kerberos then looks at the default ticket cache location and jobs fail.

 

Environment

Release : 11.4

Component : CA Workload Automation System Agent

Resolution

Customer should check the Environment variable KRB5CCNAME explicitly before the job runs.
There is no specific configuration from Autosys side to set this as the filename gets generated dynamically.