Beruflich Dokumente
Kultur Dokumente
Tutorial
What is a Kernel?
The Kernel is a central program which acts as an interface between SAP
application and operating system.
The Kernel consists of the executable programs that reside under the path
"/sapmnt/<SID>/exe" (UNIX) or \usr\sap\SID\SYS\exe\run (Windows)
These files help startup the R/3 system, initialize the memory, create buffers
and start managing the requests from users and effectively utilizing of
hardware resources.
The kernel is also responsible for starting and stopping all the application
services like dispatcher, message server, collector etc.
Step 2: Transfer these SAPEXEDB.SAR & SAPEXE.SAR files which you have
downloaded to the new directory at OS level.
Step 3: Change your current directory to path .SAR files are created (cd
/sapmnt/PR2/exe_new20122006). Check the directory path with command 'pwd' to
ensure you are in the same dir (exe_new<ddmmyy>).
Step 4: Now uncompress these. SAR files by sapcar exe. The command used for
the same would be
Step 5: Now create one more directory in that path with the name
"exe_old<ddmmyy>". Take the backup of existing kernel.Copy (only copy not move)
the existing kernel from exe directory to "exe_old<ddmmyy>"
Step 6: Now stop the SAP application. (For kernel upgrade the shutdown of
database is not essential but we need to stop the SAP application)
stopsap r3
Step 7:
Then copy the files from the new kernel directory exe_new<ddmmyy> to the existing
kernel directory exe
cp -rp /sapmnt/<SID>/exe_new<ddmmyy>/* /sapmnt/<SID>/exe/
Step 8: This will copy / replace all the files in the existing kernel directory with a new
kernel files.
Then check the kernel version from OS level by the command disp+work. It should
show that the patch number has been increased.
Step 9:
Then logon to OS level as root (specific to UNIX). In the kernel directory, there is a
script called saproot.sh. Execute this script
./saproot.sh <SID>
Step 10: This script assigns the correct permissions to all the executable programs
in the kernel such br* file etc...
Step 11:
startsap r3
Step 12: Now you can also check the kernel version level from SM51 or by selecting
system à status