0% found this document useful (0 votes)
40 views

Kernel Steps

The steps to perform a SAP kernel upgrade involve downloading the latest kernel files from SAP, extracting the files, backing up the current kernel directory, copying the new kernel files to the RUN folder to overwrite the existing files, restarting services, and verifying the new kernel version. The document also provides troubleshooting information for issues starting SAP after a kernel upgrade, noting that missing Microsoft C runtime DLLs required by the SAP kernel can cause startup problems. Installing the correct Microsoft "ATL" security patch may resolve the issue.

Uploaded by

skmsapb
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
40 views

Kernel Steps

The steps to perform a SAP kernel upgrade involve downloading the latest kernel files from SAP, extracting the files, backing up the current kernel directory, copying the new kernel files to the RUN folder to overwrite the existing files, restarting services, and verifying the new kernel version. The document also provides troubleshooting information for issues starting SAP after a kernel upgrade, noting that missing Microsoft C runtime DLLs required by the SAP kernel can cause startup problems. Installing the correct Microsoft "ATL" security patch may resolve the issue.

Uploaded by

skmsapb
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

The steps to do kernel upgrade are listed below.

1) Execute the command disp+work -v to get the present kernel version


2)
2) Check with the T Code SM51 to Check the R/3 SYSTEM->STATUS to get the
present kernel level

3) Download the latest kernel patch from SMP


http://service.sap.com/swdc

There are 2 files to be downloaded from SMP:


a) Database Independent Files
This is of the nomenclature SAPEXE_<Patch level>-<release date>.SAR
b) Database Dependent files
This is of the nomenclature SAPEXEDB_<Patch level>-<release date>.SAR
3) Uncar the .SAR files

Uncar the files using the SAPCAR utility and store it in a directory. SAPCAR is a
program executable located in the KERNEL folder itself. If SAPCAR is not working,
then copy the executable from the kernel folder to the location where the .SAR
files are located.
SAPCAR -xvf <filename.SAR>

5) Stop the J2EE Engine and the SAP OS Collector


saposcol u2013k
SAPOSCOL service should be stopped because it also will get overwritten by the
new file.

6) Backup the present Kernel directory

Copy the present kernel folder safely. This is important because the activity is
completely reversible and switching over to the old kernel will be possible.

7) Copy the new kernel files to the RUN folder location


Copy the files in such a manner that the RUN folder is overwritten by the new
files.

/usr/sap/<SID>/SYS/exe/run
cp -R <source file > <destination>

8) Check the permissions of the files in the kernel directory


chown [-R] newowner filenames
chmod <1>permissions filename

9) Start the J2EE Engine and the SAP OS Collector


saposcol u2013l

10) Check the latest Kernel level


Execute the command disp+work -v to get the new kernel level.
1540608 - SAP system does not start after applying SAP kernel
Symptom
 Can't start after kernel upgrade kernel
 Effected kernels 46DEX2; 640EX2; 701; 710 and 720
 Cant start SAP after reboot
 In Windows event viewer Microsoft.VC80.CRT and SideBySide errors

Reproducing the Issue


If you are running an SAP system with kernel 7.01 and higher and you
downloaded and applied a new kernel patch from SAP Service Marketplace, you
cannot start your SAP system without the Microsoft security patch.
The same applies for SAP systems older than 7.01 that run with an EX2 kernel.

Cause
Cause is missing C runtime Microsoft Dll's needed by SAP kernel.
Resolution
Check if the MS C-runtime with the so called "ATL" patch is installed on your
system:
 Open a command-prompt:
 Go to the c:\windows\winsxs folder.
 Type dir *4053*
 You should get an output like this:
Directory of C:\Windows\winsxs
x86_microsoft.vc80.atl_1fc8b3b9a1e18e3b_8.0.50727.4053_none_d1c7
4053 is the patchlevel of the ATL patch from Microsoft.
If you don't get this output you can find the ATL package here: ATL Link.
Download and install the correct patch for your platform.

You might also like