System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Re: extracting files via cpio

 
SOLVED
Go to solution
Jerry_109
Super Advisor

Re: extracting files via cpio

root@fdhp58[/u99/oradata/stage/bpel]
# file as_hpux_parisc_bpel_101202.cpio
as_hpux_parisc_bpel_101202.cpio: ASCII cpio archive
root@fdhp58[/u99/oradata/stage/bpel]
#
root@fdhp58[/u99/oradata/stage/bpel]
#
root@fdhp58[/u99/oradata/stage/bpel]
# cpio -icvtR < as_hpux_parisc_bpel_101202.cpio
cpio: Out of phase; resyncing.
End of volume
errno: 25, Can't read input
root@fdhp58[/u99/oradata/stage/bpel]
A. Clay Stephenson
Acclaimed Contributor

Re: extracting files via cpio

Okay, this is rather strange but the file is corrupt. A cpio '-c' file must begin with "070707" and yours begins with "070701". It's not byte-flipped so the most likely explanation is that there was a transfer error (or uncompression error) at some step along the way.
If it ain't broke, I can fix that.
John Dvorchak
Honored Contributor

Re: extracting files via cpio

that pretty much means that the file or header is corrupt. Can you get them to resend it along with the options used and Model and OS level of the system they used to generate the file. Also make sure if a data file that the ftp file transfer was set to bi. If it's and ascii file then of course ftp it with as option.

Good luck
If it has wheels or a skirt, you can't afford it.
Jerry_109
Super Advisor

Re: extracting files via cpio

I have requested the dba's to retransmit the file, and let me know what options they used.