Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Update SAP kernel in UNIX based

I got a document for kernel update in UNIX based machine .Hereunder I pasted the steps ..In this am not able to understand step 4..Anybody please clarify it how can we compare the original kernel and the backup ..what is 840413 and 841992..Any mistake in the command.Please clarify the command of step4 for AIX .

1. Login as root

2. Make new backup directory

cd /

mkdir SIDkernel_10102007

3. Create latest kernel backup

cp -pr /sapmnt/SID/exe/* /SIDkernel_10102007

4. Compare the original kernel and the backup

du -sk /sapmnt/SID/exe/ --> 840413 /sapmnt/SID/exe

du -sk /SIDkernel_10102007 --> 841992 /SIDkernel_10102007

5. Make new shadow kernel directory

cd /

mkdir newkernel_175

6. Copy the new downloaded kernel files into /newkernel_175

7. Unpack the new downloaded kernel in folder /newkernel_175

SAPCAR -xvf SAPEXE_175-20000221.SAR

SAPCAR -xvf SAPEXEDB_175-20000223.SAR

8. Login as sidadm

9. Stop the SAP System

stopsap

10. Stop saposcol

saposcol -k

11. Login as root

12. Go to the current kernel directory

cd /sapmnt/SID/exe

13. Copy all extracted support packages into this folder

cp -pr /newkernel_175/* /sapmnt/SID/exe

14. Copy back the original file saproot.sh into this folder.

cp -p /SIDkernel_10102007/saproot.sh /sapmnt/SID/exe

15. Go to the current kernel directory

cd /sapmnt/SID/exe

Then run:

./saproot.sh SID

16. Login as sidadm

17. Start the saposcol service

saposcol

18. Start the SAP system

startsap

Thanks in advance

replied

I´m not sure why you should "compare" them. It´s ok that they are different, they have new correction and so the size can be different. I think that´s just a "rough estimate" if the kernel is complete. If it would be only half of the size then you would miss something, I think that´s the reason for that comparison.

Markus

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question