cancel
Showing results for 
Search instead for 
Did you mean: 

Need help with upgrading kernel

Former Member
0 Kudos

Hi,

My current kernel is 701 patch 54. I am trying to upgrade the kernel to the latest patch level. I tried to follow note 1310133 to install the kernel without success. I get 'Errors occurred in command' message when I execute LODSAPKRN command.

I have downloaded the latest sapexe.sar and sapdbexe.sar and put them in the IFS. Can someone advise me what should I do next? Thanks.

Regards,

Lim

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi Lim,

Let us know what you typed in exactly. Check the joblog (DSPJOBLOG, F10) to get a first impression by yourself.

Regards

Thomas

Former Member
0 Kudos

HI lim , try with followings steps

1) Donwloads patch APYR3FIX, APYSAP Y LODSAPKRN last version and put in folder /tmp

2) logon with SIDOFR

3) aply patchs with commands:

APYR3FIX SID(SID) SAVF(R3FIX700U/APYR3FIX) SAVLIB(GEN700UOPT) KRNLIB(SAPSIDUC)

APYR3FIX SID(SID) SAVF(R3FIX700U/APYSAP) SAVLIB(GEN700UOPT) KRNLIB(SAPSIDUC)

APYR3FIX SID(SID) SAVF(R3FIX700U/LODSAPKRN) SAVLIB(GEN700UOPT) KRNLIB(SAPSIDUC)

Part 2 - aply kernel

Create folder in /kern

1)copy sapexe.sar and sapexedb.sar into /kern

2) create file with name "parts" with command EDTF

Insert lines

SAPEXE.SAR,

SAPEXEDB.SAR,

3) put parts in /kern

4) create new library

- CRTLIB LIB(SAP<SID>UKRN)

5) Load new kernel

- LODSAPKRN DEV(STMF) MNTPNT('/KERN') KRNLIB(SAP<SID>UKRN) USERDEF(YES) LIST('/KERN/PARTS')

6) Aply sap kernel

a) Stop Sap System

b) Stop Saposcol

c) end subsystem R3_<instance_number> using ENDSBS SBS(R3_Instance#)

d)Delete files /usr/sap/sid/<DVEBMGSnn>/data/stat*

e) Remove old kernel

- RMVSAP SID(<SID>) DLTKRNLIB(*NO)

f) Change library kernel

- EDTLIBL press enter

h) Activate new kernel

- APYSAP TYPE(*KERNEL) SID(<SID>) DSTLIB(SAPSIDUKRN)

I) Borrar todos los paquetes SQL

- DLTR3PKG SID(<SID>)

7) Aply IGS patch

😎 start sap system

Regards

William Neira

Former Member
0 Kudos

Hi Thomas,

I first create a library with CRTLIB LODKRN. Then I use EDTF to create the 'parts' file. Finally I execute the LODSAPKRN command like this:

LODSAPKRN DEV(STMF) MNTPNT('/home/kernel') KRNLIB(LODKRN) USERDEF(YES) LIST('/home/kernel/parts')

That is when I get the error. I don't think the command even run, so there is no joblog to view.

Regards,

Lim

Former Member
0 Kudos

Hi William,

I am using ECC 6.0 EHP 4. For my kernel, I cannot download individual patch from service market. I can only download the ILE package. When I sapcar the ILE package, there is only ILE_TOOLS. Those patches that you want me to download are in ILE_TOOLS.

Regards,

Lim

0 Kudos

Hi Lim,

Can hardly believe you do not see anything after

DSPJOBLOG, 
F10 to include detailed message, 
Page up to see the entries before CPF0006 (Errors occurred in command.).

Please verify.

Regards,

Thomas

Former Member
0 Kudos

HI lim

When you run command you get any error??

Check the joblog and spoolfiles for more info

i have the same issue, this was becouse the parts file dont have been recognized

with EDTF create the file parts with name PARTS.FILE and run command:

LODSAPKRN DEV(STMF) MNTPNT('/home/kernel') KRNLIB(LODKRN) USERDEF(YES) LIST('/home/kernel/parts.file')

Regards

William Neira

Former Member
0 Kudos

Hi William,

I managed to apply the ILE patch and replace the kernel library according to your instruction. However I am not able to start up my SAP after that. I get the following messages in the sapstart.log:

Starting Programs

-


(855) Spawning program "/usr/sap/ERD/SYS/exe/run/msg_server pf=/usr/sap/ERD/SYS/profile/ERD_DVEBMGS00_SAP4IBM" asynchronously...

(855) Okay, child's pid=864.

(864) Starting: local /usr/sap/ERD/SYS/exe/run/msg_server pf=/usr/sap/ERD/SYS/profile/ERD_DVEBMGS00_SAP4IBM

(855) Spawning program "/usr/sap/ERD/SYS/exe/run/disp+work pf=/usr/sap/ERD/SYS/profile/ERD_DVEBMGS00_SAP4IBM" asynchronously...

(855) Okay, child's pid=865.

(865) Starting: local /usr/sap/ERD/SYS/exe/run/disp+work pf=/usr/sap/ERD/SYS/profile/ERD_DVEBMGS00_SAP4IBM

(855) Spawning program "/usr/sap/ERD/SYS/exe/run/rslgcoll pf=/usr/sap/ERD/SYS/profile/ERD_DVEBMGS00_SAP4IBM -F" asynchronously...

(855) Okay, child's pid=866.

(866) Starting: local /usr/sap/ERD/SYS/exe/run/rslgcoll pf=/usr/sap/ERD/SYS/profile/ERD_DVEBMGS00_SAP4IBM -F

(855) Spawning program "/usr/sap/ERD/SYS/exe/run/rslgsend pf=/usr/sap/ERD/SYS/profile/ERD_DVEBMGS00_SAP4IBM -F" asynchronously...

(855) Okay, child's pid=867.

(867) Starting: local /usr/sap/ERD/SYS/exe/run/rslgsend pf=/usr/sap/ERD/SYS/profile/ERD_DVEBMGS00_SAP4IBM -F

(855) Cannot execute "/usr/sap/ERD/SYS/exe/run/igswdmt -mode=profile pf=/usr/sap/ERD/SYS/profile/ERD_DVEBMGS00_SAP4IBM" - as4_examine failed._

(855) **** Failed to create new Child Process. Error 0 ****

(855) Parent Shutdown at 2010/12/08 07:21:10

(855) Stop Child Process: 867

(855) Wait 300 sec for Process 867 terminating...

(855) Stop Child Process: 866

(855) Wait 300 sec for Process 866 terminating...

(855) Stop Child Process: 865

(855) Wait 300 sec for Process 865 terminating...

(855) Stop Child Process: 864

(855) Wait 300 sec for Process 864 terminating...

Execute Post-Shutdown Commands

-


(868) Local: /usr/sap/ERD/SYS/exe/run/cleanipc 00 remove

(855) Okay!

(869) Local: CLRLIB LIB(R3WRK00)

(855) Okay!

(855) Exiting with Return-Code -110. (Internal error)

Former Member
0 Kudos

Hi limws1,

first I would comment out the IGS line(s) in order to see if everything else stars up.

If you are patching ERP right now, you 99% do not need IGS anyway ... I always comment it out there because of your issue. If it was SolMan or BW, you might need it ....

Did you really do the following:

7) Aply IGS patch

The proper installation is described in note 937000 ...

Regards

Volker Gueldenpfennig, consolut international ag

http://www.consolut.com http://www.4soi.de http://www.easymarketplace.de

Former Member
0 Kudos

Hi Volker,

Thanks. I missed out a step when applying IGS patch. Now the SAP system starts up.

Regards,

Lim

Former Member
0 Kudos

Hi limws1,

can you please tell us, which step you missed?

Best regards

Tobias

Former Member
0 Kudos

Hi Tobias,

I missed out the following step in note 937000:

APYSAP TYPE(KERNEL) SID(<SID> ) DSTLIB(<kernellib>) CLEANUP(YES)

Regards,

Lim

Former Member
0 Kudos

William,

This is an excellent procedure. Once the kernel library has been created for one SID can I just copy the library and pick up with step 6 for the others?

Thanks,

Alan Novick

Nevermind, I just found the answer to my question in note 912575.

Edited by: Alan Novick on Jan 20, 2011 8:06 PM

Answers (0)