Job fails with an error about changing the directory 'USER_CONT_NOT_AVAIL'

Document ID:  TEC1636341
Last Modified Date:  07/18/2017
{{active ? 'Hide' : 'Show'}} Technical Document Details

Products

  • CA Workload Automation AE
  • CA Workload Automation Agent

Releases

  • CA Workload Automation AE:Release:11.3
  • CA Workload Automation AE:Release:11.3 SP1
  • CA Workload Automation AE:Release:11.3 SP2
  • CA Workload Automation AE:Release:11.3.5
  • CA Workload Automation AE:Release:11.3.6
  • CA Workload Automation Agent:Release:11.3

Components

  • CA Workload Automation AE (AutoSys):ATSYS
Question:

 

Why are jobs failing with an error about changing the directory 'USER_CONT_NOT_AVAIL' ?

Environment:
CA WA System Agent 11.3.x on all supported UNIX/Linux Operating Systems.
Answer:

 

This error can be caused by a conflict in the CA WA System Agent configuration. The 'USER_CONT_NOT_AVAIL' value for the agent parameter oscomponent.initialworkingdirectory was introduced in CA WA System Agent 11.3 SP4 to address job failures as a result of the job owner user's home directory missing. The 'USER_CONT_NOT_AVAIL' directive allows the Agent to run the job even when home directory of the job owner user is not defined.

 

The CA WA System Agent releases prior to 11.3 SP4 do not understand the 'USER_CONT_NOT_AVAIL' value for oscomponent.initialworkingdirectory parameter and treats it as a literal and tries to change to that directroy, and thus fails.

 

If the CA WA System Agent release is pre-11.3 SP4, then edit the following parameter in the agentparm.txt

oscomponent.initialworkingdirectory=USER_CONT_NOT_AVAIL

and change to 

oscomponent.initialworkingdirectory=USER

 

Save the change and restart the CA WA System Agent service.

 

As a best practice, consider upgrading the CA WA System Agent to the latest available release.

Additional Information:

Please help us improve!

Will this information enable you to resolve your issue?

Please tell us what we can do better.

{{feedbackText.length ? feedbackText.length : '0'}}/255

{{status}}

Not what you were looking for?

Search Again >

Product Information

Support by Product >

Communities

Join a Community >

Chat with CA

Just give us some brief information and we'll connect you to the right CA ExpertCA sales representative.

Our hours of availability are 8AM - 5PM CST.

All Fields Required

connecting

We're matching your request.

Unfortunately, we can't connect you to an agent. If you are not automatically redirected please click here.

  • {{message.agentProfile.name}} will be helping you today.

    View Profile


  • Transfered to {{message.agentProfile.name}}

    {{message.agentProfile.name}} joined the conversation

    {{message.agentProfile.name}} left the conversation

  • Your chat with {{$storage.chatSession.messages[$index - 1].agentProfile.name}} has ended.
    Thank you for your interest in CA.


    Rate Your Chat Experience.

    {{chat.statusMsg}}

agent is typing