cancel
Showing results for 
Search instead for 
Did you mean: 

SAP CAR

Former Member
0 Kudos

Hi,

When i am trying extract

HOST >SAPCAR -xvf SAPEXE.SAR

I am getting the following error

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

pl help.

thanks.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

When i edit a file and save it in the vi editor i use :wq! to save it, it saves but the saved file will last only still i use the file, once i exit the file then again the saved file is lost. how to save it permantly.

please help.

markus_doehr2
Active Contributor
0 Kudos

Your system is behaving really strange, this is no normal behaviour, certainly not.

Is your administrator running a script to delete the content of the /tmp directory every 5 minutes?

Markus

thomas_valentini
Explorer
0 Kudos

does your user have enough permission to save the file?

you might not get an correct error message when exit with wq!

try to save the file with :w and read what vi says about this.

regards

Thomas

nelis
Active Contributor
0 Kudos

Just to add - If you don't have 'lsof' and you want to check what process/user is using a specific file you can use the command 'fuser'

eg

fuser -fu /usr/bin/ksh

..will display all users and processes using Korn shell.

Nelis

markus_doehr2
Active Contributor
0 Kudos

Of course you get that - because a running SAPCAR can´t overwrite itself.

Try the following:

mkdir unpack
cd unpack
../SAPCAR -xvf ../SAPEXE.SAR

(use backslashes if you´re on Windows)

Markus

Former Member
0 Kudos

Hi,

Thanks for the reply.

Where do i need to create the directory in any specific path

This error came when i installating DBinstance , after doing as you said , can i retry the installation.

Thanks.

Former Member
0 Kudos

Hi,

Rename the SAPCAR.exe to SAPCAR1.exe

then do SAPCAR1.exe -xvf xxxxxxxxx.SAR

Sriram.S

markus_doehr2
Active Contributor
0 Kudos

> Thanks for the reply.

> Where do i need to create the directory in any specific path

No matter how - copy the extracted files to where you want to have them.

> This error came when i installating DBinstance , after doing as you said , can i retry the installation.

I never needed to manually unpack the kernel. What are you doing?

Markus

Former Member
0 Kudos

Hi,

As on the other day there is problem with local host, at that point of time i need to stop , now i started the DB instance installation, so when i run the DB installation i am getting the following error

OS-01022 PROBLEM: ./SAPCAR -xvgf /UNIX/HP11_64/SAPEXE.SAR, -R /export/sapmnt/<SID>/exe returned with '28'. CAUSE: See output './SAPEXE.SAR.log'. SOLUTION: Solve the CAUSE and extract the archive manually. Change permission of extracted files to '(<SID>adm,USER,=rwxo) (sapsys,GROUP,=rxg) (Everyone,GROUP,=rx)'. Afterwards skip current step and restart the installation.

ERROR 2008-08-26 11:52:37

Then i tried to extract as you said , but i am still getting thesame. I think it is taking the same path.

pl help.

thanks

markus_doehr2
Active Contributor
0 Kudos

what is the output of SAPEXE.SAR.log?

Then i tried to extract as you said , but i am still getting thesame. I think it is taking the same path.

I don´t know what you are doing but it works perfect:

testsyst:fooadm$ ls
SAPCAR      SAPEXE.SAR 

testsyst:fooadm$ mkdir test

testsyst:fooadm$ cd test

testsyst:fooadm$ ../SAPCAR -xvf ../SAPEXE.SAR 

...
x wdispmon
x webdispinst.lst
x xml63d.so
SAPCAR: 685 file(s) extracted

testsyst:fooadm$ uname -a
HP-UX testsyst B.11.23 U ia64 0220029059 unlimited-user license

Markus

Former Member
0 Kudos

Can any one let me know wht is the command to remove a text file which is busy in unix.

thanks

markus_doehr2
Active Contributor
0 Kudos

A text file? What are you trying to do?

Markus

Former Member
0 Kudos

I am running the installation again, so when it is installing it get

FSL-02040 Unable to delete node /oracle/client/81x_64/lib/libclntsh.sl.8.0 with type file: Text file busy

Removing file /oracle/client/81x_64/lib/libclntsh.sl.8.01

ERROR 2008-08-26 14:52:58

FSL-02040 Unable to delete node /oracle/client/81x_64/lib/libclntsh.sl.8.01 with type file: Text file busy

I am trying to remove file libclntsh.sl.8.01 and retry installation.

I have tried to remame the file and delete no use, tried to move the file to a different folder no use.

When ever i try to delete i get text file busy.

thanks

markus_doehr2
Active Contributor
0 Kudos

> FSL-02040 Unable to delete node /oracle/client/81x_64/lib/libclntsh.sl.8.0 with type file: Text file busy

>

> Removing file /oracle/client/81x_64/lib/libclntsh.sl.8.01

> ERROR 2008-08-26 14:52:58

> FSL-02040 Unable to delete node /oracle/client/81x_64/lib/libclntsh.sl.8.01 with type file: Text file busy

>

> I am trying to remove file libclntsh.sl.8.01 and retry installation.

Some program is actually using that file, that's why you can't delete it.

Are you sure you want to delete it? Any other system running on that server?

You can find out which process uses that library by installing "lsof" (available at http://hpux.cs.utah.edu/).

Markus