Symptom
- During the execution of Software Update Manager (SUM) 2.0, the phase MAIN_SWITCH/SUBMOD_SWITCH_BAS/SUBMOD_SWITCH_KERNEL/KX_SWITCH fails. The executable (sapcpe) exits with code -1 in KX_SWITCH.LOG:
3 ETQ399 Replicating the kernel to 'D:\usr\sap\<SID>\<INSTANCE>\exe'.
3 ETQ120 <YYYYMMDDHHMMSS>: PID 6222 execute 'D:\usr\sap\<SID>\SYS\exe\uc\NTAMD64\sapcpe "pf=\\<PROFILE_PATH>\sapmnt\<SID>\SYS\profile\<INSTANCE_PROFILE>"', output written to 'D:\usr\sap\<SID>\SUM\abap\log\SAPCPESTD.OUT'.
3WETQ123 <YYYYMMDDHHMMSS>: PID 6220 exited with status -1 '' (time: 0.00 real)
1EETQ399 Last generated error message is: Process D:\usr\sap\<SID>\SYS\exe\uc\NTAMD64/sapcpe exited with -1,
1EETQ399Xsee 'D:\usr\sap\<SID>\SUM\abap\log\SAPCPESTD.OUT' for details!
1EETQ204 Upgrade phase "KX_SWITCH" terminated with severe errors ("<YYYYMMDDHHMMSS>"). - Additionally, the following warning message is recorded in KX_SWITCH.LOG:
2WETQ399 File 'dbclient.lst' not found in D:\usr\sap\<SID>\SUM\abap\exe - keeping old Oracle client. - Upon further investigation, there are copy errors recorded in sapcpe.log, such as:
Line 1278: *** ERROR: fstat D:\usr\sap\<SID>\SYS\exe\uc\NTAMD64\orannzsbb12.dll (No such file or directory), 2, No such file or directory, [D:/depot/bas/754_REL/src/ccm/sapstart/sapxxcpe.c:2237]
...
Line 1284: *** ERROR: fstat D:\usr\sap\<SID>\SYS\exe\uc\NTAMD64\oraociicus12.dll (No such file or directory), 2, No such file or directory, [D:/depot/bas/754_REL/src/ccm/sapstart/sapxxcpe.c:2237]
...
Line 1290: *** ERROR: fstat D:\usr\sap\<SID>\SYS\exe\uc\NTAMD64\orasql12.dll (No such file or directory), 2, No such file or directory, [D:/depot/bas/754_REL/src/ccm/sapstart/sapxxcpe.c:2237]
...
Line 1294: *** ERROR: fstat D:\usr\sap\<SID>\SYS\exe\uc\NTAMD64\orasqlplusic12.dll (No such file or directory), 2, No such file or directory, [D:/depot/bas/754_REL/src/ccm/sapstart/sapxxcpe.c:2237]
...
Line 1386: Copy Errors detected.................: 4
Certain details in the log files above have been generalized, denoted by <…> placeholders, to align with your scenario.
Read more...
Environment
- Software Update Manager (SUM) 2.0
- Oracle database
- Windows operating system
Product
Keywords
SUM2.0, Software Update Manager, KX_SWITCH, MAIN_SWITCH/SUBMOD_SWITCH_BAS/SUBMOD_SWITCH_KERNEL/KX_SWITCH, executable exits -1, sapcpestd.out, abap upgrade tools, missing files, global kernel directory, 19c dlls, 12c, permissions, sap kernel update, phase failure, No such file or directory, sapcpe, orannzsbb12.dll, oraociicus12.dll, orasql12.dll, orasqlplusic12.dll, keeping old Oracle client , KBA , BC-UPG-TLS-TLA , Upgrade tools for ABAP , BC-UPG-DTM-TLA , Downtime Minimization for ABAP , 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.
SAP Knowledge Base Article - Preview