CA WA Agent does not start and gives already running error
search cancel

CA WA Agent does not start and gives already running error

book

Article ID: 49534

calendar_today

Updated On:

Products

CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) Workload Automation Agent DSERIES- SERVER CA Workload Automation DE - System Agent (dSeries)

Issue/Introduction

On startup, the agent checks for status file for the previous PID, and if it is taken then it will give this error:

WA-AGENT Already running (pid 9539)

Normally, when the agent is shutdown properly, the status file will not have any PID in it. It will just have 'Inactive' in it.

Environment

Release: Workload Automation Autosys Agent 11.x / 12.x
Component:

Resolution

The agent should always be properly shutdown. Use the Services console or the WA-AGENT.init' script to start or stop the agent.

If the agent does not start, and gives the 'Already running' error then:

  • Make sure that the agent processes are not running

  • Check for cybAgent and cybspawn processes

  • Delete the status file located in agent install directory

  • (Optional) Recreate the status file using touch command in UNIX

  • Start the agent.