cancel
Showing results for 
Search instead for 
Did you mean: 

Kernel up-gradation ..

former_member185534
Participant
0 Kudos

Hello to All,

Greetings...!!

I am facing some issue while uncompressed the .SAR files(SAPEXE.SAR and SAPEXEDB.SAR).

I download these two files successfully from SAP marketplace and paste these files into /usr/sap/trans folder.

When i uncompressed these file with SAPCAR command following error comes :-

"'SAPCAR' is not recognized as an internal or external command,operable program or batch file ".

Please help me into this regard.

Regards,

Junaid

Accepted Solutions (0)

Answers (11)

Answers (11)

former_member185534
Participant
0 Kudos

Hello,

I successfully uncar SAPEXEDB.SAR,but i am unable to uncar SAPEXE.SAR.

Same error also comes with SAPEXEDB.SAR but it resolved.When i am going to un-compress SAPEXE.SAR :-

Error is  :-

" SAPCAR: could not open for writing sapcar.exe (error 28). The process cannot access the file because it is being used by another process."

I downloaded same patch no. file(SAPEXE and SAPEXEDB) from SAP market place.

What exactly this error means and what is the solution...??

Please reply...  !!!!!!!!!!!!

Reply,

Regards,

JUNAID

former_member185534
Participant
0 Kudos

Hello,

I successfully uncar SAPEXEDB.SAR,but i am unable to uncar SAPEXE.SAR.

Following error comes while uncar SAPEXE.SAR :-

Following error comes :-

" SAPCAR: could not open for writing sapcar.exe (error 28). The process cannot access the file because it is being used by another process."

Reply,

Regards,

JUNAID

Former Member
0 Kudos

Hello Junaid,

So you are able to uncompress the SAPEXEDB.SAR but you facing problems in uncompromising the SAPEXE.SAR

Since it tell that it is used by another process.I recommend you to please remove the extracted DB dependent SAR files and freshly download the two files DB dependent and Independent from Service marketplace by reviewing the correction versions as needed.

Then apply the following process.

let me know

Thanks

Aftab

Former Member
0 Kudos

Hello Junaid,

NOTE : Please see the path where you have kept the sapexe.sar and sapexedb.sar.also check whether you have created a new directory to tranfer these two DB dependent and DB independent file which is under cd /sapmnt/SID/exe   DO CHECK THIS and then run car command

1.) Create a new dir in the filesystem name exe_new.

2.) check the path  cd /sapmnt/exe/exe_new it should be this.

2.) Put the two files sapexe.sar and sapexedb.sar in this dir exe_new using WINSCP

3.) Now uncompress the two files using

SAPCAR -xvf sapexe.SAR

SAPCAR -xvf sapexedb.SAR

former_member185534
Participant
0 Kudos

Hello,

Following error comes :-

" SAPCAR: could not open for writing sapcar.exe (error 28). The process cannot access the file because it is being used by another process."

Please reply...

former_member185534
Participant
0 Kudos

I give the correct path,but i am facing following problem :

"error 12 format error in header"

I download these .SAR files : SAPEXE_100-10011107.SAR

                                            SAPEXEDB_300-10011111.SAR

Reply.....!!!!!!!!!

Former Member
0 Kudos

Hi Junaid,

Have you downloaded the Kernel for Windows X86_64.

As its giving format error means those are not the right SAR files.

Can you try to re-download and try again.

Regards,

Ram

former_member185534
Participant
0 Kudos

Hello,

Following error comes while performing uncar :

Please help to solve this....

Regards,

Junaid

Former Member
0 Kudos

Hi Junaid,

Its very much clear from the error that SAPCAR is unable to find the sapexedb.sar file.

So are you providing the right sar files to sapcar for extarction.

Also can you paste here the screenshot of the sar file you have downloaded.

Regards,

Ram

former_member185534
Participant
0 Kudos

Please suggest....

Former Member
0 Kudos

Junaid,

You have logged in with your user id, do you have administrator rights on the system.

If not login with administrator.

use command.

sapcar.exe -xvf SAPEXE_100*

Regards

Anand

0 Kudos

Hi Junaid, 1. Log on as user adm and switch to the global host in your kernel directory, for example: :\usr\sap\\sys\exe\ directory, for example .save 3. Create a new directory and switch to this directory.Unpack the new kernel from the directory of the downloaded archive in the specified sequence. Important: Do not call SAPCAR.EXE directly without specifying a path; instead, use the specified directory structure \SAPCAR.EXE -xvf \SAPEXE.SAR \SAPCAR.EXE -xvf \SAPEXEDB.SAR Best regards, Candy

Former Member
0 Kudos

Hi Junaid,

You need to use SAPCAR.EXE while extracting. And if you downloaded the latest SAPCAR file,

do rename the file from SAPCAR<Patch number>.exe to SAPCAR.exe.

Also do login with <SID>adm user of your system where in the SAP Environments will be active to use default SAPCAR exe.

Let us know if you need any further help.

Regards,

Ram

former_member185534
Participant
0 Kudos

Hello,

When I go to command prompt and try to uncar these files

it says " 'SAPCAR' is not recognized as an internal or external command,operable program or batch file ".


Kindly tell me where i have to uncar these files (Please give me the correct path....in which folder...??)


How i will resolve this error..??



Reply,,,

Former Member
0 Kudos

Hi Junaid,

Can you paste the screenshot of which command your trying so that we will be able to help you.

Also do create a new folder and copy your SAPEXExx.SAR & SAPEXEDBxx.SAR file there.

and then do as below:-

cd <new location>

and run

SAPCAR -xvf SAPEXExx.SAR

SAPCAR -xvf SAPEXEDBxx.SAR

This should extract all files. do send us the screenshot of error so it will be easy to guide.

Regards,

Ram

0 Kudos

Hi Junaid,

You may call SAPCAR.EXE by specifying the path where it is.

Or put SAPCAR.EXE to the new directory whic you just created for storing the New Kernel file, and call SAPCAR.EXE from there.

Best regards,

Cady

former_member185534
Participant
0 Kudos

My environment is :-

SAP ECC 6.0

Windows Server 2003

MaxDb

Is the sapcar command is same in Windows and Linux.

Please reply..

Regards,

JUNAID

Former Member
0 Kudos

Yes same.

Former Member
0 Kudos

Junaid,

You should uncar them in any new folder.

Bring down SAP and DB,stop all services in Windows services.

Use SIDADM to Copy and paste uncared file in the mentioned path.(which will replace or overwrite most of the existing exe files)

You have placed Kernel file in the path \usr\sap\ECQ\SYS\exe\uc\NTAMD64. The kernel files does contain sapcar.exe also.

Please check.

try

sapcar.exe -xvf SAPEXE.SAR

sapcar.exe -xvf SAPEXEDB.SAR

Regards

Anand

Updated the reply to give you clear picture

Former Member
0 Kudos

Hello Junaid,

Please do like this..

1) Create a folder in some file system as "kernel"

2) Copy those SAR files to that directory

3) Copy SAPCAR file to same directory and rename that file to SAPCAR1

4) Chnage permission to total directory with <SIDadm>:sapsys

5) Now uncompress by using SAPCAR1 -xvf <filename>

6) Bring down the system which you want to upgrade kernel

7) Now you can copy the extracted files to your kernel loction... before doing this TAKE A BACKUP OF EXISTING KERNEL DIRECTORY (exe).

Please try and let me know the results.

Regards,

KK