Cannot run program "dxserver": CreateProcess error=2, The system cannot find the file specified
search cancel

Cannot run program "dxserver": CreateProcess error=2, The system cannot find the file specified

book

Article ID: 7637

calendar_today

Updated On:

Products

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

Issue/Introduction

The customer is trying to put EEM in failover but they are getting the following error on the primary EEM server when they try to execute the 'resetprimary' command: 

 

Are you sure you want to continue? [Y/N]:y 

INFO - Validating : primary-eem-server.ca.com

INFO - Stopping dxserver service 

ERROR - Cannot run program "dxserver": CreateProcess error=2, The system cannot find the file specified 

java.io.IOException: Cannot run program "dxserver": CreateProcess error=2, The system cannot find the file specified 

at java.lang.ProcessBuilder.start(Unknown Source) 

at com.ca.eiam.common.os.ExecuteCommand.execute(ExecuteCommand.java:73) 

at com.ca.eiam.clustersetup.FailoverConfigurator.manageDxserver(FailoverConfigurator.java:1278) 

at com.ca.eiam.clustersetup.FailoverConfigurator.startPrimaryServerConfiguration(FailoverConfigurator.java:508) 

 

Environment

Embedded Entitlements Manager r12.51 CR05 (12.51.5.24) on Windows 2012

Resolution

Even though you may have your EEM environment variables (such as EIAM_HOME and DXHOME) set in your System Environment variables, you still need to explicitly set these variables prior to running the eiam-clustersetup.jar file.