cancel
Showing results for 
Search instead for 
Did you mean: 

SAPCAR error "Illegal byte sequence "

Former Member
0 Kudos

Hi there

I am trying to update R3trans and tp programs and ran into this error uncarring the files using sapcar.

110> SAPCAR -xvf tp_193-20000233.sar

stderr initialized

processing archive tp_193-20000233.sar...

Illegal byte sequence tp_193-20000233.sar

119> SAPCAR -xvf R3trans_205-20000233.SAR

stderr initialized

processing archive R3trans_205-20000233.SAR...

Illegal byte sequence R3trans_205-20000233.SAR

I tried downloading the latest sapcar after referring to

Note 892842 - SAPCAR error: format error in header,

but had no luck.I would appreciate any help on this.

Thanks

Vic

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Possible reasons

files might have corrupt

did you transfer the file as bin

or you can try to uncar it from windows and move the real file (tp and R3trans )

Thanks

Prince Jose

Former Member
0 Kudos

Hi Prince

I did ftp them to the app server with the bin option.

I get the same error with both R3trans and tp SAR files while a CAR file just processed fine. Also tried donloading these files a couple of times.

How do you ucar a .sar file, renaming it to .zip OR .rar does not work.

Thanks

Vic

Former Member
0 Kudos

the same SAPCAR -xvf <xxx.sar> for sar files.

Former Member
0 Kudos

Yes I do undrstand that but what I meant was how can I uncar it or unzip it in windows as you suggested earlier, since renaming the .sar files to .zip or .rar will not do the trick.

Former Member
0 Kudos

use sapcar , sometimes uncaring from windows work

vincentlim826
Employee
Employee
0 Kudos

What you need to do is redownload:

- sapcar tool

- the files (make sure the files is fully download, no checksum problem)

and sapcar-xvf <XX.SAR>

No other way...

Former Member
0 Kudos

Tried downloading a couple of times, too but ran into the same issue.

Is there anyway to uncarr these on the windows w/s, and then load the relevant components to the app server.

Just renaming the SAR files to ZIP did not work.

Thanks

Vic

Former Member
0 Kudos

Also, I have been copying the the latest SAPCAR to the same directory as the SAR files which is /usr/sap/trans. Should I be copying teh SAPCAR to any other folder also

Former Member
0 Kudos

If you want to upgrade SAPCAR , replace the SAPCAR in exe directory.

execute the following command

which SAPCAR

this will show you the path.

For windows , renameing to .zip doesnt help. download the SAPCAR ( the name is same for all OS ) from

service.sap.com/patches --> Entry by Application Group --> Additional Components --> SAPCAR then windows.

if its downloaded to C drive

c:\ sapcar.exe -xvf < *.SAR > , < *.SAR > is your tp/r3trans

Thanks

Prince Jose

Former Member
0 Kudos

I replaced SAPCAR in the exe and now I am getting permission denied although I am logged in as sidadm

ntdb80b:tstadm 46> SAPCAR -xvf tp_193-20000233.sar

SAPCAR: Permission denied.

Thanks

Vic

vincentlim826
Employee
Employee
0 Kudos

- pls change the authorization to

'-rwxr-xr-rwxr' , (755) at least. if you log on as <sid>adm, <sid>adm also need the

write authorization.

- or go to the file name and

chmod a+w <file name>

cheers,

Vincent

Former Member
0 Kudos

Realised just after posting and tried changing permissions and it is working.

Thanks for your help.