The agent install fails on Windows 2003 server with return code RC=-1

Document ID : KB000028846
Last Modified Date : 14/02/2018
Show Technical Document Details
The agent install fails on Windows 2003 server when installed from WAAE 11.3.5 DVD
 
We get the following errors in the WAAE_Install.log in the temp location.
 
Errors or warnings CA Workload Automation Agent RC=-1
Errors or warnings CA Workload Automation Agent Patch RC=255
Errors or warnings Service Failure: CA Workload Automation Agent (WA_AGENT) The handle is invalid.
 
When we verified the installation  we found that the binaries are created but the windows services does not show the agent.
 
It gave these errors when the agent was started at the end of the installations.
 
The solution is to create the windows service manually.
 
The syntax is  cybagent.exe -install auto  <location of agent>
 
We need to execute this from command prompt
 
For example in a default install
 
Go to command prompt
cd  C:\Program Files\CA\Workload Automation AE\SystemAgent\WA_AGENT
 
cybagent.exe -install auto  "C:\Program Files\CA\Workload Automation AE\SystemAgent\WA_AGENT"
 
This will create the service "CA Workload Automation Agent (WA_AGENT)".
 

 

You can then start the service from  Windows services