Job fails on Linux server as variable KRB5CCNAME not set
search cancel

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 Autosys Workload Automation

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

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.