cancel
Showing results for 
Search instead for 
Did you mean: 

SAPCAR: could not open for writing SAPCAR (error 28). Text file busy

Former Member
0 Kudos

Hi,

I´m trying to decompress this file( is for a kernel upgrade):

SAPEXE_15-10006264.SAR

And when I do SAPCAR u2013xvf SAPEXE_15-10006264.SAR, SAPCAR only decompress a few files and I´ve this error:

SAPCAR: could not open for writing SAPCAR (error 28). Text file busy

Instead when I decompress the SAPEXEDB_15-10006263.SAR, SAPCAR does this correctly. I´ve tried to download again the file but the error is always the same.Could someone help me?

Best regards,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Could you say me how do that? Because I put the SAPCAR in folder patches and I´ve my patch in forlder ABAP and I do:

SAPCAR -xvf /patches/ABAP/SAPEXE_15-10006297.SAR

SAPCAR: processing archive /patches/ABAP/SAPEXE_15-10006297.SAR (version 2.01)

x ABAP.pad

x R3check

x R3ta

x R3trans

x SAPCAR

SAPCAR: could not open for writing SAPCAR (error 28). Text file busy

And I´m still having the same error. so could you give me the steps to do that???

Thanks, thanks a lot

Former Member
0 Kudos

> SAPCAR -xvf /patches/ABAP/SAPEXE_15-10006297.SAR

That tries to write to the current directory, and which is why it's colliding again.

Here are two solutions (with SAPCAR in /patches):

1. Extract to current directory:

cd /patches/ABAP

/patches/SAPCAR -xvf SAPEXE_15-10006297.SAR

2. Extract to a different (Remote) directory:

cd /patches

./SAPCAR -xvf /patches/ABAP/SAPEXE_15-10006297.SAR -R /patches/ABAP

Tip: run 'SAPCAR' without any arguments to see its manpage.

Answers (6)

Answers (6)

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

thnaks for the quick an good request

Former Member
0 Kudos

aa

Former Member
0 Kudos

Thanks a lot for your requests, I resolved the problem

Former Member
0 Kudos

Hi,

Now, I´ve unpacked the files but when I do the file copy (in order to upgrade the kernel), I´ve these errors:

cp: cannot create /usr/sap/SMD/exe/jcontrol: Text file busy

cp: cannot create /usr/sap/SMD/exe/jlaunch: Text file busy

cp: cannot create /usr/sap/SMD/exe/libicudata.sl.30: Text file busy

cp: cannot create /usr/sap/SMD/exe/libicui18n.sl.30: Text file busy

cp: cannot create /usr/sap/SMD/exe/libicuuc.sl.30: Text file busy

cp: cannot create /usr/sap/SMD/exe/sapstart: Text file busy

cp: cannot create /usr/sap/SMD/exe/sapstartsrv: Text file busy

So could you help me?

Best regards,

Former Member
0 Kudos

I guess you are in wrong directory

Try copying in

/usr/sap/SMD/SYS/exe/run and also did you stop SAP system ?

Former Member
0 Kudos

SAPCAR itself is SAPEXE. So with the extract you are trying to overwrite it while it's running, which you can't do.

Run SAPCAR from a copy in another directory and it will work.