Operating System - HP-UX
1753903 Members
9847 Online
108810 Solutions
New Discussion юеВ

extraction of a cpio file

 
SOLVED
Go to solution
Grayh
Trusted Contributor

extraction of a cpio file

Hi All
When I was trying to extrace the below file on 11.23 hppux version.. I get the following error....
does that mean i have stopped it in the middle of extracting... it was almost 35 minutes that I have started to run this file....

# cpio -idcmv 10gr2_aix5l64_database.cpio
^Z[2] + Stopped (SIGTSTP) cpio -idcmv 10gr2_aix5l64_database.cpio

Is there a limitation for cpio on hpux also.. if so .. Is there any other way i can extract this file...
16 REPLIES 16
James R. Ferguson
Acclaimed Contributor
Solution

Re: extraction of a cpio file

Hi:

The 'SIGTSTP' stands for "terminal stop". You probably typed CTL_S to stop the process. Try typing a CTL_Q to restart it.

Regards!

...JRF...
OldSchool
Honored Contributor

Re: extraction of a cpio file

"^Z[2] + Stopped (SIGTSTP) cpio -idcmv 10gr2_aix5l64_database.cpio"

thats not an *error* message, its *warning* you that *you* stopped the process by hitting a Ctlr-Z.... or somebody issued a "SIGSTP" (via kill ?) to that PID.

in posix / ksh it can be resumed with the "fg" command, if it was stopped from the keyboard, as in "fg %2", or
by sending SIGCONT (or 26) from a kill.....
OldSchool
Honored Contributor

Re: extraction of a cpio file

"Is there a limitation for cpio on hpux also.. if so .. Is there any other way i can extract this file... "

I doubt that you need another method, if you let the one you tried work.
Grayh
Trusted Contributor

Re: extraction of a cpio file

Thanks everyone... So I have left it as it is... it running since the last 20 minutes... Not really sure when it will stop execution

I have copied that cpio file from the below location

http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10201aixsoft.html

and the size of the file is (1,268,576,110 bytes) (cksum - 3772623559) And so I was wondering if there is any limitation for large files... cos in AIX I cannot extract files grater than 2GB using cpio...

And So I thought i will extract here on the hp box and push it to the AIX box.

After I give the below command it just goes to next like and the cursor blinks there... like it dosen't do anything...

# cpio -idcmv 10gr2_aix5l64_database.cpio
-

Steven E. Protter
Exalted Contributor

Re: extraction of a cpio file

Shalom,

You may have hit a size limitation, or used incorrect options.

cpio for HP-UX is slightly different that its Linux relative.

You also might wish to check the patch database for a cpio patch.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
OldSchool
Honored Contributor

Re: extraction of a cpio file

"and the size of the file is (1,268,576,110 bytes) (cksum - 3772623559) And so I was wondering if there is any limitation for large files... cos in AIX I cannot extract files grater than 2GB using cpio..."

so you're limited to 2GB, the file is smaller than that.

in following the link, I see you downloaded a gzip file (10gr2_aix5l64_database.cpio.gz (1,268,576,110 bytes) (cksum - 3772623559)"

did you even bother to run a "cksum" on the downloaded file to see if it downloaded properly? Or unzip it as specified in the directions?

"Directions
1. Unzip the file: gunzip
2. Extract the file: cpio -idcmv <
......"

If you unzipped it, how big is it now? There is (or at least was) a 2GB limit to sizes, but I believe that mean the size of an individual file within the archive.

"Thanks everyone... So I have left it as it is... it running since the last 20 minutes... Not really sure when it will stop execution".....

Define "left it as is". Did you get it running again, or did you leave it "stopped" as posted previously. If you left it "stopped", its not doing anything
OldSchool
Honored Contributor

Re: extraction of a cpio file

disregard what I said regarding signals...I read SIGTSTP as SIGSTOP.

See what James had to say regarding Ctl-Q / Ctl-S instead.
Grayh
Trusted Contributor

Re: extraction of a cpio file

now it looks like it has hung and I will have to do a ^Z to get to the prompt as ^c or ^S dosent work...


Is there a way I can extract 10gr2_aix5l64_database.cpio file. if so how....

If any patches are reqyuired... plz tell .. me the patches name
OldSchool
Honored Contributor

Re: extraction of a cpio file

now it looks like it has hung and I will have to do a ^Z to get to the prompt as ^c or ^S dosent work...

ok, so heres the thing, the Control-Z will stop the process, but not remove it. If you tried Control-c and it didn't work, it was probably i/o ing.

Refer to my previous post....did you ever verify the download w/ cksum?

Did you ever unzip it?

You shouldn't need patches....