SAP Knowledge Base Article - Preview

3581332 - Error while executing sapcontrol in step "Configure SAP Control connectio for central instance"

Symptom

During upgrade AS Java system by SUM tool, below error happened in step "Configure SAP Control connectio for central instance"
Error: Error while executing sapcontrol. Executable directory of your SAP system may not be listed in PATH environment variable.

In log CHECK-SAPCONTROL-CONNECTION-FOR-CI_xx.LOG, below error was recorded
Mar 4, 2025 7:39:19 PM [Error ]: Error while executing process <driver>:\usr\sap\<SID>\sapcontrol.
Mar 4, 2025 7:39:19 PM [Error ]: Could not start process <driver>:\usr\sap\<SID>\sapcontrol.
Mar 4, 2025 7:39:19 PM [Error ]: Could not run OS process sapcontrol for action access check.
Mar 4, 2025 7:39:19 PM [Error ]: Sapcontrol client could not perform action access check on instance 00
Mar 4, 2025 7:39:19 PM [Error ]: Invalid escape sequence \115 in string.
Mar 4, 2025 7:39:19 PM [Error ]: Syntax error while calculating expression 'msg.sapcontrol.3 <driver>:\usr\sap\<SID>' != ''.
Mar 4, 2025 7:39:19 PM [Error ]: com.sap.sdt.util.xml.XMLException
Mar 4, 2025 7:39:19 PM [Error ]: Could not parse XML file <driver>:\usr\sap\<SID>\SUM\sdt\config\dialog\ProvideSapControlDirectoryDialog.xml.
Mar 4, 2025 7:39:19 PM [Error ]: Could not execute dialog ProvideSapControlDirectoryDialog. See previous messages.
Mar 4, 2025 7:39:19 PM [Info  ]: Process ID 42455, name sapcontrol has been started.
Mar 4, 2025 7:39:19 PM [Info  ]:   Command line: <driver>:\usr\sap\<SID>\sapcontrol -nr 00 -host <host> -systempki \\JDVDVF34\sapmnt\<SID>\SYS\profile\<SID>_J00_<host> -function AccessCheck Stop
Mar 4, 2025 7:39:19 PM [Info  ]:   Standard out: <driver>:\usr\sap\<SID>\SUM\sdt\tmp\SAPCONTROL_ACCESSCHECK_00_42429.OUT
Mar 4, 2025 7:39:19 PM [Error ]: java.io.IOException: Could not start '<driver>:\usr\sap\<SID>\sapcontrol -nr 00 -host <host> -systempki \\JDVDVF34\sapmnt\<SID>\SYS\profile\<SID>_J00_<host> -function AccessCheck Stop' in path '<driver>:\usr\sap\<SID>\SUM\sdt\tmp'. Details: CreateProcess error=2, The system cannot find the file specified
Mar 4, 2025 7:39:19 PM [Error ]: java.io.IOException: Could not start '<driver>:\usr\sap\<SID>\sapcontrol -nr 00 -host <host> -systempki \\JDVDVF34\sapmnt\<SID>\SYS\profile\<SID>_J00_<host> -function AccessCheck Stop' in path '<driver>:\usr\sap\<SID>\SUM\sdt\tmp'. Details: CreateProcess error=2, The system cannot find the file specified


Read more...

Environment

  • Product: SAP NetWeaver AS Java
  • Upgrade tools SUM 

Product

SAP NetWeaver all versions

Keywords

SUM,executable, PATH environment variable, error, java.io.IOException, execvpe failed, CHECK-SAPCONTROL-CONNECTION-FOR-CI, DEPLOY-KERNEL-BINARIES,  Configure SAP Control connectio for central instance,
Error: Error while executing sapcontrol. Executable directory of your SAP system may not be listed in PATH environment variable. , KBA , BC-UPG-TLS-TLJ , Upgrade tools for Java , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.