SAP Knowledge Base Article - Preview

2459354 - SUM shows error "java.io.IOException: Cannot run sapcontrol - execvpe failed" in step CHECK-SAPCONTROL-CONNECTION-FOR-CI or DEPLOY-KERNEL-BINARIES "ENOENT - No such file or directory"

Symptom

SUM show error "java.io.IOException: Cannot run sapcontrol - execvpe failed (ENOENT - No such file or directory)" when sapcontrol is not found by SUM tool to execute the same.

SUM did not find it intially in step CHECK-SAPCONTROL-CONNECTION-FOR-CI but by giving actual location of sapcontrol exe directory it proceed further and fails in step  DEPLOY-KERNEL-BINARIES same error.

2PNG.PNG1.PNG

In step CHECK-SAPCONTROL-CONNECTION-FOR-CI

   SUM report "Error while executing sapcontrol. Executable directory of your SAP system may not be listed in PATH environment variable."

In Logs you can see after getting error and after giving value /usr/sap/<SID>/SYS/exe/uc/rs6000_64  as highlighted below in green was able to execute successfully but later step it would fail DEPLOY-KERNEL-BINARIES_01  as in logs below

--------/usr/sap/<SID>/SUM/sdt/log/SUM/CHECK-SAPCONTROL-CONNECTION-FOR-CI_01.LOG----------

Feb 28, 2017 1:36:55 PM [Info ]: Process ID 62, name sapcontrol has been started.
Feb 28, 2017 1:36:55 PM [Info ]: Command line: sapcontrol -nr 00 -host xxxx -prot NI_HTTPS -function AccessCheck Stop
Feb 28, 2017 1:36:55 PM [Info ]: Standard out: /usr/sap/<SID>/SUM/sdt/tmp/SAPCONTROL_ACCESSCHECK_00_01.OUT
Feb 28, 2017 1:36:55 PM [Error ]: java.io.IOException: Cannot run sapcontrol - execvpe failed (ENOENT - No such file or directory)
Feb 28, 2017 1:36:55 PM [Error ]: java.io.IOException: Cannot run sapcontrol - execvpe failed (ENOENT - No such file or directory)
Feb 28, 2017 1:36:55 PM [Error ]: Error while executing process sapcontrol.
Feb 28, 2017 1:36:55 PM [Error ]: Could not start process sapcontrol.
Feb 28, 2017 1:36:55 PM [Error ]: Could not run OS process sapcontrol for action access check.
Feb 28, 2017 1:36:55 PM [Error ]: Sapcontrol client could not perform action access check on instance 00
Feb 28, 2017 1:36:55 PM [Info ]: Dialog eliminator executableDirEliminator does not allow to omit dialog ProvideSapControlDirectoryDialog

------/usr/sap/<SID>/SUM/sdt/log/SUM/CHECK-SAPCONTROL-CONNECTION-FOR-CI_01.LOG---------

Mar 21, 2017 2:46:28 PM [Info ]: Process ID 62, name sapcontrol has been started.
Mar 21, 2017 2:46:28 PM [Info ]: Command line: sapcontrol -nr 00 -host XXXX -prot NI_HTTPS -function AccessCheck Stop
Mar 21, 2017 2:46:28 PM [Info ]: Standard out: /usr/sap/<SID>/SUM/sdt/tmp/SAPCONTROL_ACCESSCHECK_00_01.OUT
Mar 21, 2017 2:46:28 PM [Error ]: java.io.IOException: Cannot run sapcontrol - execvpe failed (ENOENT - No such file or directory)
Mar 21, 2017 2:46:28 PM [Error ]: java.io.IOException: Cannot run sapcontrol - execvpe failed (ENOENT - No such file or directory)
Mar 21, 2017 2:46:28 PM [Error ]: Error while executing process sapcontrol.
Mar 21, 2017 2:46:28 PM [Error ]: Could not start process sapcontrol.
Mar 21, 2017 2:46:28 PM [Error ]: Could not run OS process sapcontrol for action access check.
Mar 21, 2017 2:46:28 PM [Error ]: Sapcontrol client could not perform action access check on instance 00
Mar 21, 2017 2:46:28 PM [Info ]: Dialog eliminator executableDirEliminator does not allow to omit dialog ProvideSapControlDirectoryDialog
Mar 21, 2017 2:48:25 PM [Info ]: Validatable parameter EXECUTABLE_DIR has been validated by validator RequiredFields.
Mar 21, 2017 2:48:25 PM [Info ]: Validatable parameter EXECUTABLE_DIR has been validated by validator FileValidator.
Mar 21, 2017 2:48:25 PM [Info ]: Setting catalog key executable.dir to value /usr/sap/<SID>/SYS/exe/uc/rs6000_64 into shared input catalog.
Mar 21, 2017 2:48:25 PM [Info ]: Trying to execute sapcontrol from directory /usr/sap/<SID>/SYS/exe/uc/rs6000_64
Mar 21, 2017 2:48:25 PM [Info ]: Process ID 63, name sapcontrol has been started.
Mar 21, 2017 2:48:25 PM [Info ]: Command line: /usr/sap/<SID>/SYS/exe/uc/rs6000_64/sapcontrol -nr 00 -host XXXXX -prot NI_HTTPS -function AccessCheck Stop
Mar 21, 2017 2:48:25 PM [Info ]: Standard out: /pkg/DTCP/usr/sap/<SID>/SUM/sdt/tmp/SAPCONTROL_ACCESSCHECK_00_02.OUT
Mar 21, 2017 2:48:25 PM [Info ]: Process ID 63 has been started.
Mar 21, 2017 2:48:25 PM [Info ]: Waiting for process ID 63, name sapcontrol to finish.
Mar 21, 2017 2:48:26 PM [Info ]: Process ID 63, name sapcontrol has been finished, exit code 0.
Mar 21, 2017 2:48:26 PM [Info ]: Use of System pki is evaluated to true.

------/pkg/DTCP/usr/sap/ECP/SUM/sdt/log/SUM/DEPLOY-KERNEL-BINARIES_01.LOG---------

Mar 22, 2017 8:07:10 AM [Info ]: Updating SAP KERNEL...
Mar 22, 2017 8:07:10 AM [Info ]: Patching kernel SAP KERNEL UNICODE AIX_PPC64 to version 7.45.400.0...
Mar 22, 2017 8:07:10 AM [Info ]: You can find additional information in log file /pkg/DTCP/usr/sap/ECP/SUM/sdt/log/SUM/EXCHANGE_KERNEL_BINARIES_01.LOG.
Mar 22, 2017 8:07:19 AM [Error ]: java.io.IOException: Cannot run sapcontrol - execvpe failed (ENOENT - No such file or directory)
Mar 22, 2017 8:07:19 AM [Error ]: java.io.IOException: Cannot run sapcontrol - execvpe failed (ENOENT - No such file or directory)
Mar 22, 2017 8:07:19 AM [Error ]: Error while executing process sapcontrol.
Mar 22, 2017 8:07:19 AM [Error ]: Could not start process sapcontrol.
Mar 22, 2017 8:07:19 AM [Error ]: Could not run OS process sapcontrol for action os process execute.
Mar 22, 2017 8:07:19 AM [Error ]: Sapcontrol client could not perform action os process execute on instance null
Mar 22, 2017 8:07:19 AM [Error ]: Could not execute external process.
Mar 22, 2017 8:07:19 AM [Error ]: Could not execute the kernel patch. See previous messages.
Mar 22, 2017 8:07:19 AM [Error ]: Cannot exchange kernel binary archives.
Mar 22, 2017 8:07:19 AM [Info ]: Deployment message for component SAP KERNEL UNICODE AIX_PPC64 : Cannot exchange kernel binary archives.
Could not execute the kernel patch. See previous messages.
Could not execute external process.
Sapcontrol client could not perform action os process execute on instance null
Could not run OS process sapcontrol for action os process execute.
Could not start process sapcontrol.
Error while executing process sapcontrol.
java.io.IOException: Cannot run sapcontrol - execvpe failed (ENOENT - No such file or directory)
java.io.IOException: Cannot run sapcontrol - execvpe failed (ENOENT - No such file or directory)

Mar 22, 2017 8:07:19 AM [Info ]: Overal deployment message : Deployment completed with error. See status messages for individual components.
Mar 22, 2017 8:07:19 AM [Info ]: Saving data model Jump.JSPM.DataModel.xml ...
Mar 22, 2017 8:07:20 AM [Info ]: Data model Jump.JSPM.DataModel.xml saved.
Mar 22, 2017 8:07:20 AM [Info ]: Saving data model JUP.J2EE.DataModel.xml ...
Mar 22, 2017 8:07:26 AM [Info ]: Data model JUP.J2EE.DataModel.xml saved.
Mar 22, 2017 8:07:27 AM [Error ]: The following problem has occurred during step execution: com.sap.sdt.jspm.service.JspmServiceException: Could not update components.
Deployment of queue Queue_2017.03.21 at 15:10:05 completed with error Deployment completed with error. See status messages for individual components.
sap.com/SAP KERNEL UNICODE AIX_PPC64: Cannot exchange kernel binary archives.
Could not execute the kernel patch. See previous messages.
Could not execute external process.
Sapcontrol client could not perform action os process execute on instance null
Could not run OS process sapcontrol for action os process execute.
Could not start process sapcontrol.
Error while executing process sapcontrol.
java.io.IOException: Cannot run sapcontrol - execvpe failed (ENOENT - No such file or directory)
java.io.IOException: Cannot run sapcontrol - execvpe failed (ENOENT - No such file or directory)


Read more...

Environment

Netweaver release independent in unix OS

Product

SAP NetWeaver 7.5

Keywords

confighostagent , software update manager , exchange kernel  , KBA , BC-UPG-TLS-TLJ , Upgrade tools for Java , BC-CCM-HAG , Host Agent , 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.