SUM: Execution of command OS Command failed with errorcode -1

You are getting below error message while launching the SAP Software Update Manager (SUM).

In the dev_saphostexec logs, similar error log found,

SLPProxyHandlerFactory::ConnectContext called but ctx->operationID is NULL  [SLPProxyHand 545]
Connection failed rc=2 [Communicatio 682] Operation sumabap successfully started with ID 0011223344
Failed to start command E:\SUM\abap\SUMSTART.BAT [OperationOSC 566]
Command returned: Internal Error [OperationOSC 569]
OperationOSCommand::Execute(): StartCommand failed [OperationOSC 185]
Operation::ExecuteNextCommand(): Execution of command OS Command failed with errorcode -1 [Operation.cp 362]
Operation Worker Thread[id=0011223344]: Command execution failed [Operation.cp 490]

Solution

The resolution is shared as in SAP Note 2509096 – Execution of command Start SUMJAVA failed with errorcode -1 when launching SUM.

Please check if SAPHostExec service and SAPHostControl run as below:

  • SAPHostExec service should run as LocalSystem user.
  • SAPHostControl should run as the sapadm user.

After doing the chances please run the procedure for starting SUM again.

You May Also Like

Leave a Reply?