CA WA Agent: ESPMGR Mutex <The system cannot find the file specified.> failed

book

Article ID: 185812

calendar_today

Updated On:

Products

CA Workload Automation Agents CA Workload Automation Agent

Issue/Introduction

The ESPMgr.exe results in this error:

Mutex <The system cannot find the file specified.> failed

 

Cause

The following variables are not set for ESPMGR command.

ESPAPPLMGR=<manager_id>
ESPAGENTDIR=<Agent_install_directory>

Environment

Release : 11.3, 11.4, 11.5

Component : CA Workload Automation System Agent

Resolution

Export the following variables with appropriate values.

ESPAPPLMGR=<manager_id>
ESPAGENTDIR=<Agent_install_directory>

Example
ESPAPPLMGR=CENTRAL_MANAGER
ESPAGENTDIR=D:\CA\WA_Agent


Note: In Windows, the ESPMGR may not be able to read the variables if set as Windows Environment Variables.  Export or set them again before running the command.  If ESPMGR is called in a script, then set the above variables in the script before the ESPMGR command is executed.

Example

ECHO OFF
ESPAPPLMGR=ESP_MANAGER
ESPAGENTDIR=D:\CA\WA_Agent
ESPMGR "JOB12345/SOME_APP_1234.1/main STATE COMPLETE"