cancel
Showing results for 
Search instead for 
Did you mean: 

Where to put a new kernel

Former Member
0 Kudos

Hi,

I upgraded my kernel

I put it in /sapmnt/SID/exe

When I started old kernel was active

Where I have to put my new kernel ?

I know something is copied when I start SAP, but I don't know exactly the from and the to

can you explain me ?

Thanks in advance

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Ok Thanks

but WHERE are you doing that ?

in /sapmnt/SID/exe

or in

/usr/sap/SID/DV*/exe

this is my question ...

what is the right procedure ?

Former Member
0 Kudos

Hi,

You should upgrade kernel in "/sapmnt/<SID>/exe" only..

You wont need to upgrade "/usr/sap/SID/DV*/exe"

proceed as follow:

(Make sure that SAP and SAPOSCOL is already stopped...)

1. Restore working kernel.

2. copy downloaded kernel files in /sapmnt/<SID>/exe (SAPEXE and SAPEXEDB)

3. rename SAPCAR to SAPCAR1 in /sapmnt/<SID>/exe directory.

4. unpack both SAR file in /sapmnt/<SID>/exe as below:

# su - <sid>adm
# cd /sapmnt/<SID>/exe/
# SAPCAR1 -xvf SAPEXE_xxxxx.SAR
# SAPCAR1 -xvf SAPEXEDB_xxxxxx.SAR

then Start SAP and check kernel version...

May be your kernel files are not extracted completely. that's why "Step - 3" is important...

Regards.

Rajesh Narkhede

Former Member
0 Kudos

Hi,

I am JM DELABRIERE

What I did is (from memory)

mv /sapmnt/SID/exe /sapmnt/SID/exe.old

mkdir /sapmnt/SID/exe

cp *.SAR /sapmnt/SID/exe

../exe.old/SAPCAR -xvf ...SAR (3 times)

but when I restarted SAP, I got the old kernel .....

NB: one Central Instance

Something I don't understand

when I put it in /usr/sap/SID/DV*/exe I got the right kernel

Thanks

Former Member
0 Kudos

Kernel is extracted in the /sapmnt/SID/exe directory,with every startup of an SAP system, sapcpe matches new executables stored centrally with those stored locally ( /usr/sap/SID/DVE*/SYS/exe) .

[Program sapcpe|http://help.sap.com/saphelp_wp/helpdata/en/4f/37783021fc11d288cd0000e83539c3/content.htm]

check sapcpe.log in the work directory for errors if the kernel is not being copied over to local exe.

Hope this helps.

Thanks,

Naveed

former_member227600
Contributor
0 Kudos

Hi,

Below are the kernel upgrade steps.

1:- Stop SAP

2:- Stop SAPOSCOL

3:-Take backup of your old kernel. (Copy exe to exe.old)

4:- Copy new kernel (*.SAR files) files in exe directory.

5:- Extract these file.

6:- Run saproot.sh <SID> to set the permission correctly.

7:- Check kenel version executing disp+work (Optional)

8:- Start SAP

Let me know if you need any help on this.