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

Document ID : KB000011378
Last Modified Date : 14/02/2018
Show Technical Document Details


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

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


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


and change to 



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:

CA WA Agent property: oscomponent.initialworkingdirectory

Exit Code : 4013: Error changing directory

CA WA System Agent 11.3 SP4 - Enhancements, Fixed Issues, and Known Issues