Posted by: asfan | November 19, 2007

Update SAP Kernel in UNIX based

asfan_photo
Posted by: asfan 

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


Responses

  1. Thanks Asfan, very useful step-wise details.
    Thanks gagain.

  2. Hi Srinivas, it’s my pleasure to share it :)

  3. Hi Asfan,

    You may compare your guideline with SAP Note 664679 – Install 640 kernel in WAS 620.

    There several steps from yours is missing eventhough it is not critical.

  4. It has been helpful.
    Thank you.

  5. Hi Gamma,
    Thanks for the note :D
    so,for all member,we can follow SAP note 664679 for the detail step

  6. Hi Voja,
    My pleasure to help u :)

  7. May I know what the saproot.sh script is for?

  8. Hi Jay,
    the script will change the owner and the permission of related kernel file. for example, the script will change the owner of file brtools.exe into ora, and file disp+work.exe into adm.

  9. Hi Asfan,

    Can you tell me? where do i find saproot.sh. I am unable to locate in /sapmnt//exe. Is it part of SAPEXEDB*.SAR / SAPEXE.SAR files?

    TIA

    Regards,

    Priyank.

  10. Nice article. Keep on the good work. Is it ok if i ask u some question related to BASIS problem in here? because my SAP have a quite common environment with yours. Thx.

  11. Mas, btw,
    du -sk /sapmnt/SID/exe/ à 840413 /sapmnt/SID/exe

    karakter à 840413 apaan ya ?

  12. Mas, u/ update kernel dari 6.20 ke 6.40, apakah langkahnya sama ? Tempat saya menggunakan SAP R/3 Enterprise DIMP 4.71.
    Saya coba beberapa kali, muncul message bahwa ABAP Database not avaiable via R3trans. Sudah coba jalankan R3trans -d -v, trans.log menunjukkan jika ada masalah pada NLS parameter.
    Mohon bantuan pencerahannya, thanks.

  13. Hi Dwi,
    hal tsb berarti ada problem koneksi SAP ke database nya.
    pastikan variabel untuk user adm sudah benar. jika systemnya UNIX, mungkin bisa coba cek variabel NLS_LANG pd user adm.
    jika memang benar itu masalah NLS, bisa coba cek SAP notes 40815.
    semoga membantu.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Categories

Follow

Get every new post delivered to your Inbox.