SAP Knowledge Base Article - Preview

2815631 - Failed to copy files during KX_SWITCH upgrade phase


When executing an upgrade with Software Update Manager (SUM), the tool stops in phase MAIN_SWITCH/SUBMOD_SWITCH_KERNEL/KX_SWITCH:

Severe error(s) occurred in phase MAIN_SWITCH/SUBMOD_SWITCH_KERNEL/KX_SWITCH!
Last error code set: Failed to copy X files, check 'KX_SWITCH.LOG' for details 

In log file KX_SWITCH.LOG, messages similar to the ones below can be found:

3 ETQ399 Copying file 'sapuxuserchk'.
3EETQ399 Cannot write to '/usr/sap/<sid>/SYS/exe/uc/linuxx86_64/sapuxuserchk': Permission denied
1EETQ399 Last error code set is: Failed to copy X files, check 'KX_SWITCH.LOG' for details
1EETQ204 Upgrade phase "KX_SWITCH" aborted with severe errors ("<timestamp>")



  • SAP Netweaver AS ABAP
  • Software Update Manager (SUM)


SAP NetWeaver Application Server for ABAP innovation package all versions ; SAP NetWeaver all versions


kernel switch, authorization, permission, failed to copy 1 files, SUM, MAIN_SWITCH/SUBMOD_SWITCH_KERNEL/KX_SWITCH, KX_SWITCH, SUBMOD_SWITCH_KERNEL, kernel, sapsys, 755, permission denied, sapuxuserchk, KX_SWITCH.LOG
, KBA , BC-UPG-TLS-TLA , Upgrade tools 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.