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

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

book

Article ID: 185812

calendar_today

Updated On:

Products

Workload Automation Agent

Issue/Introduction

The ESPMgr.exe results in this error:

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

 

Environment

Release : 11.3, 11.4, 11.5

Component : CA Workload Automation System Agent

Cause

The following variables are not set for ESPMGR command.

ESPAPPLMGR=<manager_id>
ESPAGENTDIR=<Agent_install_directory>

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"