cancel
Showing results for 
Search instead for 
Did you mean: 

SAPCAR extract error

Former Member
0 Kudos

Hi,

I am unable to extract scs.sar file of SP14 . When i try to extract scs.sar with command

 sapcar -xvf scs.sar 

I am getting the below error...

<i>

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>

I am able to extract other SAR files.

Any Ideas??..

Regards

Vasu

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

All -

Found out that this issue happens when the *.sar file contains sapcar.  On my Microsoft OS systems I just rename sapcar to sapcar1 and that worked.  For Unix you can just change the file to all lower case.

After getting use to the SUM tool I forgot about this trick.

Cheers,

Dan Mead

Former Member
0 Kudos

I faced the same problem and get resolved by following these steps

copy sapcar.exe in different folder and start extracting:

e.g Copy .SAR files in xyz folder on desktop and sapcar.exe in xyz/abc folder on destop, and execute this command:

C:\Users\..........\Desktop\xyz> abc\sapcar.exe -xvf *.sar

Former Member
0 Kudos

Hi Amit,

I just tried this from C:\Users\....Desktop\xyz> abc\sapcar.exe -xvf *.sar and it gave the same error.  Re-downloaded  *. sar file from SAP Marketplace and downloaded latest sapcar.  same issue.  Tried another sar file with same result.  Pushed from desktop to a Wintel server and replicated the issue.

Cheers,

Dan Mead

Former Member
0 Kudos

Amit Kumar Srivatsav solution worked for me, Thank you

Former Member
0 Kudos

Hi,

You can extract the sar file using SAPCAR with following command

SAPCAR -xvfg<Pfadname>WAPSVR.SAR

For more details refer Note 173814

Hope this solved your problem

Regards,

RH

eddy_declercq
Active Contributor
0 Kudos

Hi,

Pls don't forget to reward points and close the question if you find the answers useful.

Eddy

Former Member
0 Kudos

Dear Vasudevan Gopalan :

This is because it that your sapcar command is used the original sapcar.exe file in the OS. And new sapcar.exe file is extracted while you are extracting. Original sapcar.exe can not be overwriten because it is under using.

You can extract the files in another directory. Then copy the files to the target directory!

eddy_declercq
Active Contributor
0 Kudos

Hi,

I see in note 697535 :

a) Log on to the host where the SCS instance is installed as <sapsid>adm.

b) Stop the SCS instance and additionally:

For Java standalone installation: Stop the service SapOsCol.

a) Extract the Support Package file J2EERTOS<SP >_<PL >.SAR into <sp_directory> with the following command:

sapcar -vxf SCS.SAR -R <target>

Did you fully stop SCS?

Eddy