cancel
Showing results for 
Search instead for 
Did you mean: 

Severe error(s) occured in phase MAIN_SWITCH/SUBMOD_SWITCH_KERNEL/KX_SWITCH!

Former Member
0 Kudos

Hi,

SOlman 7.1 SR1: SP stak 8 upgrade execution Phase:

Severe error(s) occured in phase MAIN_SWITCH/SUBMOD_SWITCH_KERNEL/KX_SWITCH!

Last error code set: Process /usr/sap/SN3/SYS/exe/run/sapcpe exited with 4, see '/db2/SN3/SM/SUM/abap/log/SAPCPE.OUT' for details    

Please share your thoughts on above error.

Thanks,

-csk

Accepted Solutions (0)

Answers (5)

Answers (5)

former_member189797
Active Contributor
0 Kudos

3 ETQ399 Kernel is replicated from /usr/sap/SN3/SYS/exe/run.

3 ETQ399 Replicating kernel to '/usr/sap/SN3/DVEBMGS02/exe'.

Please check the sapcpe.SAV file to know which files are causing the issues. Correct permission for
those files in above mentioned directory so they could be moved.

Reagan
Product and Topic Expert
Product and Topic Expert
0 Kudos

There should be a KX_SWITCH log file at /db2/SN3/SM/SUM/abap/log

You may check that or provide that. Or you can manually copy the kernel from the upgrade directory to the main system kernel location.

Regards

RB

Former Member
0 Kudos

Hi,

KX_SWITCH.LOG

4 ETQ381 request "TP_ALWAYS_NEW" means "always tp from DIR_PUT/exe, for phase KX_SWITCH"

4 ETQ382 translates to group "R3UP_TOOL_GROUP_NEW"

4 ETQ399 Requirement for tp maps to 'exe'

4 ETQ383 translates to path "/db2/SN3/SM/SUM/abap/exe"

3 ETQ399 Calling sappfpar in '/db2/SN3/SM/SUM/abap/exe' with profile '/usr/sap/SN3/SYS/profile/START_DVEBMGS02_axsapsn3' to re

trieve profile parameters.

3 ETQ399 20140314155747: PID 31129830 execute '/db2/SN3/SM/SUM/abap/exe/sappfpar all pf=/usr/sap/SN3/SYS/profile/START_DVEBMGS

02_axsapsn3' , output written to '/db2/SN3/SM/SUM/abap/log/START_DVEBMGS02_AXSAPSN3.PPR'.

3 ETQ399 20140314155747: PID 31129830 exited with status 0 (time 0.000 real)

3 ETQ399 Reading profile parameters from '/db2/SN3/SM/SUM/abap/log/START_DVEBMGS02_AXSAPSN3.PPR'.

3WETQ399 Profile parameter 'Start_Program_*' not found.

3 ETQ399 Reading profile parameters from '/db2/SN3/SM/SUM/abap/log/START_DVEBMGS02_AXSAPSN3.PPR'.

3 ETQ399 Retrieved profile value 'Execute_*' as 'immediate /usr/sap/SN3/SYS/exe/run/sapcpe pf=/usr/sap/SN3/SYS/profile/SN3_DVE

BMGS02_axsapsn3'.

3 ETQ399 Reading profile parameters from '/db2/SN3/SM/SUM/abap/log/SN3_DVEBMGS02_AXSAPSN3.PPR'.

3 ETQ399 Retrieved profile value 'DIR_CT_RUN' as '/usr/sap/SN3/SYS/exe/run'.

3 ETQ399 Kernel is replicated from /usr/sap/SN3/SYS/exe/run.

3 ETQ399 20140314155747: PID 31129832 execute '/db2/SN3/SM/SUM/abap/exe/sapccm4x -stop pf=/usr/sap/SN3/SYS/profile/SN3_DVEBMGS

02_axsapsn3' , output written to '/db2/SN3/SM/SUM/abap/log/sapccm4x_stop.log'.

3 ETQ399 20140314155751: PID 31129832 exited with status 0 (time 4.000 real)

2 ETQ399 Collecting kernel list files from directory '/db2/SN3/SM/SUM/abap/exe'.

3 ETQ399 Using list 'sapcrypto.lst'.

3 ETQ399 Using list 'igsexe.lst'.

3 ETQ399 Using list 'instance.lst'.

3 ETQ399 Using list 'instancedb.lst'.

3 ETQ399 Reading profile parameters from '/db2/SN3/SM/SUM/abap/log/START_DVEBMGS02_AXSAPSN3.PPR'.

3WETQ399 Profile parameter 'Start_Program_*' not found.

3 ETQ399 Reading profile parameters from '/db2/SN3/SM/SUM/abap/log/START_DVEBMGS02_AXSAPSN3.PPR'.

3 ETQ399 Retrieved profile value 'Execute_*' as 'immediate /usr/sap/SN3/SYS/exe/run/sapcpe pf=/usr/sap/SN3/SYS/profile/SN3_DVE

BMGS02_axsapsn3'.

3 ETQ399 Reading profile parameters from '/db2/SN3/SM/SUM/abap/log/SN3_DVEBMGS02_AXSAPSN3.PPR'.

3 ETQ399 Retrieved profile value 'DIR_CT_RUN' as '/usr/sap/SN3/SYS/exe/run'.

3 ETQ399 Kernel is replicated from /usr/sap/SN3/SYS/exe/run.

3 ETQ399 Replicating kernel to '/usr/sap/SN3/DVEBMGS02/exe'.

3 ETQ399 20140314155756: PID 31129836 execute '/usr/sap/SN3/SYS/exe/run/sapcpe pf=/usr/sap/SN3/SYS/profile/SN3_DVEBMGS02_axsap

sn3' , output written to '/db2/SN3/SM/SUM/abap/log/SAPCPE.OUT'.

3 ETQ399 20140314155803: PID 31129836 exited with status 4 (time 7.000 real)

1 ETQ399 SYSMANDEBUG_ASCSSYSNUM: ''.

1 ETQ399 SYSMANDEBUG_ASCSHOST: ''.

1EETQ399 Last error code set is 'Process /usr/sap/SN3/SYS/exe/run/sapcpe exited with 4, see '/db2/SN3/SM/SUM/abap/log/SAPCPE.O

UT' for details'

1EETQ204 Upgrade phase "KX_SWITCH" aborted with severe errors ("20140314155803")

KX_SWITCH.LOG: END

thanks,

-csk

Reagan
Product and Topic Expert
Product and Topic Expert
0 Kudos

Do you have the sapcpe file present there ?

ls -la /usr/sap/SN3/SYS/exe/run/sapcpe

Try to trigger sapcpe manually as sn3adm or copy the files manually from /usr/sap/SN3/SYS/exe/run to /usr/sap/SN3/DVEBMGS02/exe directory and see if that fixes the issue.

Also make sure there is sufficient space in the /usr/sap/SN3/DVEBMGS02 file system.

Regards

RB

Former Member
0 Kudos
Former Member
0 Kudos

Hi Chandra,

Please get the logs '/db2/SN3/SM/SUM/abap/log/SAPCPE.OUT    from your log and try repeating the phase I hope it should resolve the issue.

Regards,

Deepanshu Sharma    

Former Member
0 Kudos

cat SAPCPE.OUT

SAPup> Starting subprocess with PID 31129836 in phase 'KX_SWITCH' at 20140314155756

    ENV: CLASSPATH=:/home/db2sn3/sqllib/java/db2java.zip:/home/db2sn3/sqllib/java/runtime.zip:.:/home/db2sn3/sqllib/java/db2java.zip:/home/db2sn3/sqllib/java/runtime.zip:.

    ENV: DB2DBDFT=SN3

    ENV: DB2INSTANCE=db2sn3

    ENV: DIR_LIBRARY=/usr/sap/SN3/SYS/exe/run

    ENV: JAVA_HOME=/usr/sap/SN3/DVEBMGS00/exe/sapjvm_4

    ENV: LIBPATH=/usr/sap/SN3/SYS/exe/run:/db2/SN3/SM/SUM/jvm/jre/lib/ppc64/server:/db2/SN3/SM/SUM/jvm/jre/lib/ppc64:/db2/SN3/SM/SUM/jvm/jre/../lib/ppc64:/db2/SN3/SM/SUM/jvm/jre/lib/ppc64/jli:/db2/SN3/SM/SUM/jvm/jre/../lib/ppc64/jli:/usr/sap/SN3/SYS/exe/uc/rs6000_64

    ENV: PATH=/usr/sap/SN3/SYS/exe/run:/usr/sap/SN3/DVEBMGS00/exe/sapjvm_4/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java5/jre/bin:/usr/java5/bin:/usr/sap/SN3/SYS/exe/uc/rs6000_64:/home/sn3adm:.:/home/db2sn3/sqllib/bin:/home/db2sn3/sqllib/adm:/home/db2sn3/sqllib/misc

    ENV: SAPSYSTEMNAME=SN3

    ENV: dbms_type=db6

    ENV: dbs_db6_schema=SAPSR3

    ENV: dbs_db6_user=sapsn3

EXECUTING /usr/sap/SN3/SYS/exe/run/sapcpe  pf=/usr/sap/SN3/SYS/profile/SN3_DVEBMGS02_axsapsn3

SAPup> Process with PID 31129836 terminated with status 4 at 20140314155803!

Former Member
0 Kudos

Hi Chandra,

Please attached the log files.

Regards,

Raja. G