cancel
Showing results for 
Search instead for 
Did you mean: 

sapcar -xvf

Former Member
0 Kudos

Hi All,

system details:solaris 5.9,oracle 10.2,kernel 700,unicode

I want to kernel upgrade activity,but the SAPCAR is not working properly.Initially, i have taken the SAPCAR7.00 version(.exe) file and have kept in /sapmnt/SID/newkernel.i got an error format errror header.So , i took the next version SAPCAR7.01(.EXE) and i have kept this new one and deleted the old SAPCAR one.Now when am using the command am getting the below error.Kindly provide me solution.Is it that i have to do something with the extension of SAPCAR file

cd /sapmnt/SID/newkernel

SIDadm> ls -ltr

total 473552

-rw-r--r--   1 sidadm   sapsys   225040266 Apr 30 12:20 SAPEXE_310-20001001.SAR

-rw-r--r--   1 sidadm   sapsys   13758555 Apr 30 12:20 SAPEXEDB_310-20001000.SAR

-rw-r--r--   1 sidadm   sapsys   3507272 May  1 17:11 SAPCAR_2-10009140.EXE

SIDadm> SAPCAR -xvf SAPEXE_310-20001001.SAR

ksh: SAPCAR:  not found

i have tried giving the full path and got bad argument too..i have checked the SAP note 212876,but nothing worked.So, kindly provide me your help

Regards

Ram

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi All,

i have resolved the issue.Let me explain.i had the DB dependent and DB independednt file in the folder /sapmnt/SID/newkernel.i took the SAPCAR latest version from market and kept it in /sapmnt/SID.Then rename the SAPCAR_2-1000940.EXE to SAPCAR and provided 777 permission.

Then finally  did the kernel upgrade successfully .

Thanks one and all

Former Member
0 Kudos

Hi All,

i have tried renaming the SAPCAR_2-1000940.EXE to SAPCAR in the location /sapmnt/SID/newkernel.Below is the dump i got

SAPCAR -xvf SAPEXE_310-20001001.SAR

SAPCAR: processing archive SAPEXE_310-20001001.SAR (version 2.01)

x ABAP.pad

x R3check

x R3ta

x R3trans

x SAPCAR

Bus Error(coredump)

Then, i tried with SAPCAR latest version 7.01 too and tried renaming and got the same Bus Error(coredump).Kindly let me know what can be done now.

Regards

Ram

Former Member
0 Kudos

Hi Ram,

This is pretty obvious. You have kept SAPCAR in the same location as kernel downloads.So when you are trying to extract SAPEXE_310-20001001.SAR it extracts SAPCAR and tries to uncar SAPCAR on the same location however SAPCAR is already in use hence the conflict. Please SAPCAR else where and then re-do the extraction.Else renamed SAPCAR to something else and do the extraction.

Regards.

Ruchit.

former_member189546
Active Contributor
0 Kudos

Hello,

Please use SAPCAR release 700

from SAP Service Marketplace at

http://service.sap.com/swdc as per note

#892842 SAPCAR error: format error in header

regards,

John Feely

0 Kudos

Hi Bharatram,

Alternatively, you can rename SAPCAR_2-1000940.EXE to SAPCAR and run your original command with the full path.

Best Regards,

Pradeep

Former Member
0 Kudos

Bharatram,

Your actual sapcar file is called SAPCAR_2-10009140.EXE so you would have to run "./sapmnt/SID/newkernel/SAPCAR_2-10009140 -xvf SAPEXE_310-20001001.SAR" to force use of sapcar from newkernel.  Otherwise as Duncan mentions, you could put the original working sapcar into your standard kernel directory which would be allow you to simply run sapcar as it's referenced via the path.

Regards,

Josh

duncanspeidel
Advisor
Advisor
0 Kudos

Hi Ram,

Check you path statement and ensure that the directory containing sapcar is included.  Check the permissions on sapcar are set to execute (chmod 777). 

Hope that helps.

Duncan