SAP Knowledge Base Article - Preview

1957798 - Update SAP kernel failed with error "2, No such file or directory" in sapcpe.log

Symptom

SAP System upgrade or SAP kernel update failed, the sapcpe.log reports error like below,

*** ERROR: sapcpe: find <src> <PATH> failed, 2, No such file or directory,

Where the <PATH> is actually an incorrect SAP kernel executable folder.

Meanwhile , After kernel upgrade, startsap fails with following messages,

1) startsap.log

=======================================================
Update local Kernel Files
-------------------------
(*****) Local: /usr/sap/<SID>/SYS/exe/run/sapcpe name=<SID>
(*****) system(/usr/sap/<SID>/SYS/exe/run/sapcpe name=<SID>) returns 1
(*****) Return-Code 1 in Local-Kernel-Update. See sapcpe.log.
=======================================================

 

2) sapcpe.log

=======================================================
Command line:
  0: /usr/sap/<SID>/SYS/exe/run/sapcpe
  1: pf=/usr/sap/<SID>/SYS/profile/<instance profile>
 
Trace level (profile): 1
** INFO:    Try to find file table sapcpeft (default:sapcpeft)
** INFO:    Try to find file table in the central directory /usr/sap/<SID>/SYS/exe/ctrun/sapcpeft
** INFO:    not found any file table.
 
*************************************************
source: /usr/sap/<SID>/SYS/exe/ctrun
target: /usr/sap/<SID>/SYS/exe/run
*************************************************
*** ERROR: sapcpe: find <src> /usr/sap/<SID>/SYS/exe/ctrun failed, 2, No such file or directory,
=======================================================


Read more...

Environment

  • SAP NetWeaver
  • SAP NetWeaver Application Server for SAP S/4HANA
  • ABAP PLATFORM - Application Server ABAP

Keywords

DIR_CT_RUN DIR_EXECUTABLE DIR_INSTANCE sapstart startsap , KBA , BC-CST-STS , Startup Service , BC-CST , Client/Server Technology , BC-INS , Installation Tools (SAP Note 1669327) , 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.