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

Document ID : KB000007637
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

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. 

 

Follow the outlined EEM Failover Configuration Prerequisites steps.