Skip to Content
avatar image
Former Member

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

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,

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

7 Answers

  • Best Answer
    avatar image
    Former Member
    May 05, 2009 at 05:17 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      > 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.

  • avatar image
    Former Member
    May 05, 2009 at 05:04 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 06, 2009 at 08:21 AM

    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,

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      I guess you are in wrong directory

      Try copying in

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

  • avatar image
    Former Member
    May 07, 2009 at 03:40 PM

    Thanks a lot for your requests, I resolved the problem

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 07, 2009 at 03:41 PM

    aa

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 07, 2009 at 03:41 PM

    thnaks for the quick an good request

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 01, 2013 at 09:36 AM

    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

    Add comment
    10|10000 characters needed characters exceeded