What type of file is a .cpi file and how do you uncompress it?

I downloaded IBM Informix Dynamic Server 7.3 in .tar format.  After I did the tar command, it shows up as "IDS.cpi" how do you unpack this file, is it the "cpio" command?  I want to unpack from /usr/informix/IDS.cpi to /usr/local/informix


Thank you
oracle_fanAsked:
Who is Participating?
 
gheistConnect With a Mentor Commented:
cd ~informix
pax -r < /cdrom/SERVER/IDS.CPI
./installonline

:-)
0
 
tfewsterCommented:
Try cpio -itv < /usr/informix/IDS.cpi   to see if you can get a file listing

You may need to use the "c" & "B" options to cpio to read it successfully.

If it _is_ a cpio archive, `cpio -ivdm[+c or B options, if required] < /usr/informix/IDS.cpi` will extract it
0
 
oracle_fanAuthor Commented:
I get the following error when I run the command you specified:

cpio: 0511-903 Out of phase!
         cpio attempting to continue...


 cpio: 0511-904 skipping 77182 bytes to get back in phase!
         One or more files lost and the previous file is possibly corrupt!

cpio: 0511-027 The file name length does not match the expected value.
0
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
tfewsterCommented:
Did you try `cpio -itvB < /usr/informix/IDS.cpi`  ?
0
 
tfewsterCommented:
AIX cpio also suports the "C<blocks>"  parameter - There's no easy way of finding out what blocking factor was used, but the install documentation from wherever you downloaded this from should tell you the commands to use
0
 
oracle_fanAuthor Commented:
I ran cpio -ivdm[+c or B options, if required] < /usr/informix/IDS.cpi , but it is still running.  I don't see any progress on the screen but no prompt yet either.  Is is uncompressing?  It has bee more than 30 minutes...
0
 
tfewsterCommented:
The "t" option to cpio just lists the contents of the archive, but you need to use the same combination of c,B and C<blocks> options that was used to create the archive. If you can't see the content list using the "t" option, trying to extract the files (without the "t" option) should just fail with the same errors.  

Please post the _exact_ command you ran
0
 
oracle_fanAuthor Commented:
cpio -idcBum IDS.cpi

and

cpio -ivdm IDS.cpi

both have the same result, meaning nothing shows up.  Have to do a CTRL+C to break out of it.
0
 
tfewsterCommented:
You need the "<" before IDS.cpi, else cpio will just sit there waiting for input.

Did you find any instructions telling you what blocking factor to use?

0
 
oracle_fanAuthor Commented:
No, but I'll look for it.  This is the command I'm going to try:

cpio -idcBum <IDS.cpi
0
 
gheistCommented:
kind of command named "file" can be used to reognize files, not all systems are so data-dependent that execute anything named exe whenever passed
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.