Jobs Fail with 'Create process failed for su' Error
search cancel

Jobs Fail with 'Create process failed for su' Error

book

Article ID: 12670

calendar_today

Updated On:

Products

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

Issue/Introduction

When trying to execute AE jobs on an agent, the job fails with a <Create process failed for su> error. What is causing this error?

Environment

Workload Automation Agent 12.x

 

Spool folder based job logs contain additional information like this:

03/14/2024 03:00:00.700+0100 CAWA_I_20008 Agent version: Workload Automation Agent for Windows 12.1 Build 7092
03/14/2024 03:00:00.700+0100 CAWA_I_20010 The local security is bypassed
03/14/2024 03:00:00.715+0100 CAWA_E_20021 CreateProcess failed due to: The system cannot find the file specified.. Error code: 2

 

Cause

In the agent installation directory, there is an application called 'su.exe' that is used by the agent. If you are getting the <Create process failed for su> error, then the 'su' application is missing. 

Resolution

Preferably, it is better to Reinstall the agent, as we don't know what other modules got deleted like that. 

So Uninstall and Reinstall the Agent to fix this issue.

 

 

 

Additional Information

If you have another agent with same build/version where everything works, you could copy the <WA_AGENT>/su.exe from that server to the bad server where it is missing. Then restart the agent.  Note that the build/version of the agent has to be exactly the same.