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

> 4. Compare the original kernel and the backup
> du -sk /sapmnt/SID/exe/  --> 840413 /sapmnt/SID/exe
> du -sk /SIDkernel_10102007 --> 841992 /SIDkernel_10102007
On Unix system you can get help for specific commands by using
man <commandname>
If you execute "man du" you will see, that "du" means "disk usage" and options "-s" and "-k" means "sum of directory" and "in kilobyte". The numbers are the sizes of the directories.
Markus

Similar Messages

  • Updating SAP-Kernel

    Hello!
    We are trying to find out why our cluster has a fail over every couple of days on a ressource. So we updated the kernel last week, but the problem is still there. We also learned today that there is more than one kernel folder on the windows server machine:
    1) i:\usr\sap\prd\sys\exe\uc\ntamd64 (the one we updated)
    2) c:\windows\sapcluster (here are some exe files, all outdated)
    3) c:\usr\sap\prd\d01\exe (seems to be a copy of 1)
    How important is 2)?
    regards, Peter

    Hi,
    When updating the kernel it is important to update also the sapcluster folder but I don't think this is an explanation for the lost I: drive. You should ask your SAN team to investigate on the subject.
    Regards,
    Olivier

  • Error updating SAP kernel to 7.01(32 bits)

    Hi experts,
      I update our Solution manager kernel to 7.01 but fail when starting sapstartsrv.exe. The error message is "error 14001: this application has failed to start becuase the application configration is
    incorrect. reinstalling the appliaction map fix this problem". I could run with 7.00 and 7.10 without any problem. Please help.

    Hi,
    This error generally happens due to missing Visual C++ runtime components. You have to execute a package vcredist.exe to fix this. You can refer the MS article (http://support.microsoft.com/kb/259403)  for more information and for downloading the exe file. After executing the exe file, try starting sapstartsrv.exe again.
    But before performing the above step, try replacing the sapstartsrv.exe under the Kernel directory from some other Kernel. May be sapstartsrv.exe is corrupt. But most probably you have to follow the first step which I explained. Let me know if this resolves the problem.
    Thanks,
    Varun

  • Not able to increase SAP kernel release 6.40 patch level from 43 to 71

    Hi Guru's,
    I have to update SAP kernel release 6.40 patch level from 43 to 71 but not able to do.I am running solution manager 3.2 on Oracle 9i and Win-2003 OS.
    Please provide the solutions .
    I have downloaded kernel patch from Path at Service matket place ---<b>Support Packages and Patches" SAP Technology Components" SAP SOLUTION MANAGER" SAP SOLUTION MANAGER 3.2" Entry by Component" SAP Solution Manager-SAP KERNEL 6.40 32-BIT UNICODE-Windows Server on IA32 32bit-ORACLE-
    SAR SAPEXEDB_71-20000254.SAR Kernel Part II (for Basis 640/620)  71</b>
    I followed following Steps:
    1. Copied the patch into a temporary directory on system.
    2. Unpacked the downloded SAPEXEDB_71-20000254.SAR Kernel Part II (for Basis 640/620)  71 patch .
    3. Stoped the SAP System using MMC.
    4. Saved the kernel directory by backup or by copying into a separate backup directory. (\usr\sap\<SAPSID>\sys\exe\run)
    5. Re-started the server.
    After logging again in SAP client 000 on checking found server patch level coming same as previous one .
    Its not got updated and due to this in Tcode- <b>SPAM</b> I am getting error message :<b>'The OCS package SAPKITL318 requires a kernel with Release 640 and patch number 71. The kernel you are currently using has a lower version.'</b>.
    Help!!!!
    Regards
    Gaurav

    Hi Guru's,
    Output for transaction SM51 enclosed below:
    Application server gauravpc1_GSM_00
    SAP R/3 Kernel information
    SAP R/3 Kernel 640_REL
    Database Client Library OCI_920_SHARE
    created in NT 5.0 2195 Service Pack 4 x86 MS VC++ 13.10
    created on Nov 4 2004 23:42:53
    Support Level 0
    Kernel Patch number 43
    Source ID 0.043
    DBSL Patch No. 172
    ICU Version 2.6.1 Unicode Version 4.0
    libsapu16 Version 2.0023 Nov 4 2004 20:04:27
    Supported environment
    SAP database version
    610 , 620 , 630, 640
    Database ORACLE 9.2.0..
    ORACLE 10.1.0..
    ORACLE 10.2.0..
    Operating system
    Windows NT 5.0, Windows NT 5.1,Windows NT 5.2
    one more thing I have aloso tried to upload Kernel latest patch level 175 using same procedure but that too was not working.
    HELP!!!!!!!!!!!!!
    Regards

  • SAP Kernel update

    Hi all
    I updated my kernel from 160 to 175
    When i log into SAP and execute SM51 it still shows 160 as the kernel patch level ????????
    The SAR files are correct because i used the same files to update DEV and QA. and the same process.
    The serve is not part of a cluster either.
    Any ideas ??
    Thanx in advance

    hmmmmmmmm    i see
    what did i do wrong
    disp+work
    disp+work information
    kernel release                700
    kernel make variant           700_REL
    compiled on                   AIX 2 5 005DD9CD4C00
    compiled for                  64 BIT
    compilation mode              Non-Unicode
    compile time                  May 13 2008 21:10:31
    update level                  0
    patch number                  160
    source id                     0.160
    supported environment
    database (SAP, table SVERS)   700
    operating system
    AIX 1 5
    AIX 2 5
    AIX 3 5
    AIX 1 6

  • SAP Kernel update with HANA DATABASE

    Dear experts,
    I am planning to update the kernel  with HANA database. It is my first time  that I apply a kernel with HANA  and for that reason I want to be sure everything is properly planned. I have updated kernel with Oracle databases and my biggest doubt is if I have to do something in the database, what would it be?
    I have looking for any note that help me  with a step by step but I couldn't find it.   In that order I will ask you based on your own experiences.
    Current  Kernel is 742 PL28, I am planning to update to PL 101.
    I appreciate any comments or suggestions,
    Best regards,
    DanielO

    Dear Reagan,
    As you told, the kernel was applied and I had no issues. I appreciatte  your help.
    Best regards,
    DanielO

  • SAP KERNEL  FILES LOCATION

    since i know that,while installing R3, kernel files (exe files) will be stored in F:\usr\sap\DEV\SYS\exe\run
    is it correct or other  wise please guide me the correct path.
    where does the SAP Kernel files are located while updating the patches?
    Thanks in advance
    appropriate points will be rewarded

    Hi sudarshan,
    1. U are right.
    2. The path <b>\usr\sap\DEV\SYS\exe\run</b>
      will always remain the same.
    3. Irrespective of Windows OS, Unix OS, Aix etc.
    regards,
    amit m.

  • Update SAP MMC as prerrequisite for EHP for ERP Installation

    Hello experts,
    I have operative system windows x64, AN ERP 6.0  with Netweaver 7.0
    Following the ehpi installation guide to up the ERP to EHP5, i read this text in prerrequisites!
    Meeting the Operating System-Specific Requirements Procedure: Windows
    You need to install a new SAP MMC package (sapmmc<Platform>.msi) on all application servers. The package is available for download as SAPMMCMSI_<nr>.SAR file on SAP Service Marketplace at http://service.sap.com/swdc   Download Support Packages and Patches Entry by Application Group Additional Components  SAP Kernel SAP KERNEL 64-BIT UNICODE  SAP KERNEL <rel> 64-BIT UNICODE  Windows Server on <Platform> 64bit#  Database independent.
    , But, in that route  I don´t find the file SAPMMCMSI_.SAR
    I search in In all the marketplace and the only SSAPMM package that i find was  this:
    000002      View content info Add to download basket   SAPMMCMSI_127-10004213.SAR   SAPMMCMSI
           Support Package SAP KERNEL 7.10 64-BIT UNICODE Windows Server on x64 64bit #Database in
    But  as i say i have kernel 7.00 and this is for kernel 7.10...
    THen the questions are:
    1. How can i check my current release of sapmmc
    and
    2. How can i fulfill the requirement of update  sapmmc to latest version?  can I apply the 7.10 SAPMMCMSI?

    No sap note, by in this sdn page, you can find the downward thing...
    SAP MMC Snap-In [original link is broken]
    and additionally i see that after 7.10 the download name change and is no more SAPMMCMSI is sapmmc_7-20005871.msi
    you can obtain it in :
    SAP MMC 7.20
    https://websmp110.sap-ag.de/~form/handler?_APP=00200682500000001943&_EVENT=DISPHIER&HEADER=N&FUNCTIONBAR=N&EVENT=TREE&TMPL=01200314690200011561&V=MAINT
    And FInally, remember that is downward compatible , then you have install SAP MMC 7.20 in a SAP 7.0 netweaver system.

  • SSO: SAPGUI users with MS-Activedirectory and SAP AS on UNIX

    Hello
    from previous posts, it looks like Unix based SAP installations are on the losing side here since there is no SAP based solution for SSO with SAPGUI and AD, investment into 3rd party products is needed.
    My Q. is: If I will install dialog server on windows and move SCS services include msg server to this thin dialog server, will this be sufficient to solve to SSO problems?
    the idea is just to solve the login stage and the user continue to word on unix based AS.
    what do you think?
    Erez

    That are two errors on diffrent times.
    I check the Times:
    net time: 07:42
    net time
    sapServer: 07:42
    net time
    client: 07:42
    When I shutdown the SAP Instance, logoff and login, and restart the SAP Instance then the SAP Instance startet successful:
    N Thu Jul 03 08:19:58 2008
    N  SncInit(): Initializing Secure Network Communication (SNC)
    N        PC with Windows NT (mt,ascii,SAP_UC/size_t/void* = 16/32/32)
    N  SncInit():   found snc/data_protection/max=3, using 3 (Privacy Level)
    N  SncInit():   found snc/data_protection/min=2, using 2 (Integrity Level)
    N  SncInit():   found snc/data_protection/use=3, using 3 (Privacy Level)
    N  SncInit(): found  snc/gssapi_lib=C:\windows\system32\gsskrb5.dll
    N    File "C:\windows\system32\gsskrb5.dll" dynamically loaded as GSS-API v2 library.
    N    The internal Adapter for the loaded GSS-API mechanism identifies as:
    N    Internal SNC-Adapter (Rev 1.0) to Kerberos 5/GSS-API v2
    N  SncInit():   found snc/identity/as=p:sXXadm'at'DOMAIN.CH
    N  SncInit(): Accepting  Credentials available, lifetime=Indefinite
    N  SncInit(): Initiating Credentials available, lifetime=Indefinite
    M  ***LOG R1Q=> 1& [thxxsnc.c    259]
    M  SNC (Secure Network Communication) enabled
    M  CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    But under the SAP-Instance starting I get now the ERROR KDC_ERR_BADOPTION. And here I found: The Eventlog Time is 08:06:11 and the Servertime in the Eventprotocol is 06:06:12!!! Is this the diffrent?? But with NET TIME are the times okay!?
    And from time to time I get in the Application Event Log the Error: SAP-Basis System: Run-time error "CALL_FUNCTION_SNC_REQUIRED" occurred.

  • Update of kernel: file in /etc/modprobe.d missing

    That it's missing I know. I tried to apply a fix to the "Warning! ehci_hcd should always be loaded before uhci_hcd and ohci_hcd, not after" by adding a file in /etc/modprobe.d according to some suggestions I found, but it didn't really fixing anything and hence I removed the file.
    Now when updating the kernel it complains each time about that missing file and I can't find any information to why and based on what it still looks for that file. How do I fix this?
    It doesn't affect the system as far as I can see, but the message is annoying and I prefer to clean this little mess up.

    OK, let me show the output of pacman:
    >>> Generating initial ramdisk, using mkinitcpio.  Please wait...
    ==> Building image "default"
    ==> Running command: /sbin/mkinitcpio -k 2.6.28-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26.img
    :: Begin dry run
    :: Parsing hook [base]
    ERROR: file '/etc/modprobe.d/usb-load-ehci-first' does not exist
    :: Parsing hook [udev]
    :: Parsing hook [autodetect]
    :: Parsing hook [pata]
    :: Parsing hook [scsi]
    :: Parsing hook [sata]
    :: Parsing hook [usbinput]
    :: Parsing hook [keymap]
    :: Parsing hook [filesystems]
    :: Generating module dependencies
    :: Generating image '/boot/kernel26.img'...SUCCESS
    ==> SUCCESS
    As can be seen it still after I don't know how many updates look for a file I only once tested. So somewhere it's registered as needed parameter.
    Last edited by KimTjik (2009-02-11 19:45:42)

  • Can SAP Kernel 640 (linked OCI_9.2) run Ora DB 9.2 via instant client 10g ?

    Hello,
    One of our old system runs a SAP Kernel 640 OCI_920.
    DB server runs Oracle 9.2
    We would like to backup it with RMAN to take advantage of backup as saveset with disk_copy_cmd = rman_set
    So according to OSS 1101530, we should run at least BrTools 7.00 patch 30 or BRTools 7.10 patch 5.
    OSS 849483 and 1060539 state that those Br*Tools can be run with a database server Oracle 9.2 if an Oracle instant client 10g is installed on the Database server.
    I wonder if it is possible without upgrading the DB Server to oracle 10g
    1) Can SAP Kernel 640 (linked OCI_9.2) run Ora DB 9.2 via instant client 10g ?
    2) Or should we go to an SAP Kernel 640_EX2 ?
    3) If so, shouldn't Oracle server be upgraded to 10g beforehand ?
    I will try to get some clue in the product availibility matrix, but if you already have some piece of information about it, please just shoot !
    Thx in advance for you time
    Edited by: Emmanuel TCHENG on Mar 30, 2010 12:25 PM

    Hi,
    Check SAP Note 521230 - FAQ: Client software 9i or lower on UNIX
    Thanks
    Sunny

  • Latest SAP Kernel

    I'm having a problem at Solution Manager and I have to download the latest kernel, accordin to SAP Consultant said: "I see from the attachment that you are currently running kernel 701 withpatch number 117, please see the following note in reation to this
    defective kernel patch and update accordingly thanks.
    - 1555682 Defective stack kernel 7.00 SP23, 7.01 SP08, 7.02 S
    To obtain the latest kernel patches see note 19466."
    I read the note 19466 but I don't know how to identify what is the latest kernel patch for my environment.
    How can I detect this?
    Regards

    Hello,
    Please go to service Marketplace
    http://service.sap.com/patches
    Browse Our Download Catelog
    Additional Components
    SAP KERNEL 701 64-Bit Unicode
    Select your Server OS
    #database independent
    Then you need to:
    first download the latest SAPEXE* and SAPEXEDB* files
    uncar them in a temp folder
    then download disp+work and TP packages ( latest ones ) and uncar them
    in the same folder
    You will see the for TP and disp+work the patch levels are higher than
    117
    This is how you get the files to update your SAP Kernel
    Regards,
    Paul

  • Path to put the SAP Kernel files

    I have to update the SAP Kernel.
    Please let me know the folder in whihc i have to put the sap kernel softwares

    Hello Balaji,
    Please visit this link:
    http://www.sap-img.com/bc019.htm
    It will solve all your doubts.
    Please award points accordingly.
    Regards.
    Ruchit.

  • Logic to find if Application sever is Unix based or windows based...

    Hello,
    We have two different landscapesin our company. One SAP App server installed on windows and other on unix.
    Now in a certain code, I want to write a logic where the upload of the file should be done in certaoin way based on app server Operating system.
    How can I write a logic, if a app server is unix based or windos based ?
    Regards,
    Jainam.

    I know how to move file. What I am asking is a way to know if the OS for app server is windows or unix...
    Regards,
    Jainam.

  • Updating SAP Questions - Newbie Need Some Direction

    I have some questions on updating SAP systems.
    We went live on SAP back in May and we have not really updated our systems since we did the initial installation in January.  (They wanted a stable environment for testing/config).  But I would like to start updating SAP before it gets too out of data and become difficult to update.
    We are running a ECC 6.0 system on Windows 2003 x64 servers with SQL 2005 databases.
    They way I see it, there are 3 areas I need to update:
    1.)     The OS and Database (Microsoft Service Packs and Patches)
    2.)     The SAP kernel
    3.)     SAP support packages
    What is the best way to approach this?  Are my steps even correct?
    I would just appreciate some input on how to approach updating SAP.  I know that lots of testing will be necessary after each update.
    Any tips?

    Hi Drew,
    I think you are looking for applying support packs . SAP usually release Support pack stacks every quarter, So you can go by the latest stack or one behind. SAP prefer to go by stacks now and not by individual packs.
    You can get this information from
    http://service.sap.com/sp-stacks
    Procedure will be
    1) Upgrade SAP Kernel
    2) Update SPAM/SAINT to latest level.
    3) Apply Support packs using SPAM.
    If you have dual stack , update Java components using JSPAM , Now you can upgrade your Kernel using JSPAM ( In case you have dual stack ) .
    Before doing Support packs , Make sure you read all notes related to  Know issues/problem with your release and also make sure you have a valid back up. So if something go wrong you can always restore
    Thanks
    Prince Jose

Maybe you are looking for

  • Do not have passcode to open iPad air

    I have been given a new iPad air and done the start up using the fingerprint touch, but now it will not take the print and wants a passcode which I don't believe I ever entered.

  • Export photos to iMovie

    Procedure to export photos (and video) to iMovie.

  • Maintenance Charges in Plant Maintenance Module

    HI Experts, I want to prepare a report which gives the utilization charges(IW31) for a particular Vehicle for a given period of time.Can any one suggest in which table Cost Element,Total Plan Cost and Total actual costs are stored while preparing Mai

  • Somehow ASK now comes up on every search, How do I get rid of it?

    i KEPT GETTING A MESSAGE THAT SOME SECURITY ISSUE NEEDED UPDATING. WHEN I ALLOWED IT TO MAKE CHANGES IN MY PC. AND RETURNED TO FIREFOX NOW ANY SEARCH I MAKE THE ASK TOOL BAR APPEARS

  • Shut downs

    Hi, I posted this in the power g5 section. Anyways, My iMac shuts down by itself. The shutdowns are now more frequent. I was listening to a song on iTunes and it shutdown. Any comments or suggestions? Regards, BC iMac G5   Mac OS X (10.4.8)