Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am receiving error message as:

tar -zxvf OVM_EL5U3_X86_EBIZ12.1.1_DB_VIS_PVM.tgz.1

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

file name is ending with. Tgz. 1.

When file name is. Tgz. 0 it will unzip by tar -zxvf command.

share|improve this question
1  
Why not rename it? –  hexafraction Dec 19 '12 at 12:12
3  
Is this file splitted? –  Zignd Dec 19 '12 at 12:12
    
I had rather run file OVM_EL5U3_X86_EBIZ12.1.1_DB_VIS_PVM.tgz.1 to see what exactly it is. –  Nehal J. Wani May 12 at 18:10

3 Answers 3

This is what i found after a quick google search, a PDF explaining how to correctly extract the contents of the file.

Looks like there are several files:

OVM_EL5U3_X86_EBIZ12.1.1_DB_VIS_PVM.tgz.0
OVM_EL5U3_X86_EBIZ12.1.1_DB_VIS_PVM.tgz.1
OVM_EL5U3_X86_EBIZ12.1.1_DB_VIS_PVM.tgz.2
OVM_EL5U3_X86_EBIZ12.1.1_DB_VIS_PVM.tgz.3
OVM_EL5U3_X86_EBIZ12.1.1_DB_VIS_PVM.tgz.4
OVM_EL5U3_X86_EBIZ12.1.1_DB_VIS_PVM.tgz.5
OVM_EL5U3_X86_EBIZ12.1.1_DB_VIS_PVM.tgz.6
OVM_EL5U3_X86_EBIZ12.1.1_DB_VIS_PVM.tgz.7

You need to copy all those files to a specific directory, /OVS/seed_pool/ . Then run the following commands:

# cd /OVS/seed_pool
# cat OVM_EL5U3_X86_64_EBIZ12.1.1_DB_VIS_PVM.tgz.0 \
OVM_EL5U3_X86_64_EBIZ12.1.1_DB_VIS_PVM.tgz.1 \
OVM_EL5U3_X86_64_EBIZ12.1.1_DB_VIS_PVM.tgz.2 \
OVM_EL5U3_X86_64_EBIZ12.1.1_DB_VIS_PVM.tgz.3 \
OVM_EL5U3_X86_64_EBIZ12.1.1_DB_VIS_PVM.tgz.4 \
OVM_EL5U3_X86_64_EBIZ12.1.1_DB_VIS_PVM.tgz.5 \
OVM_EL5U3_X86_64_EBIZ12.1.1_DB_VIS_PVM.tgz.6 \
OVM_EL5U3_X86_64_EBIZ12.1.1_DB_VIS_PVM.tgz.7 | tar -xz

Note those are only 2 commands, denoted with the starting #.

Those commands shall create the following directory structure, with these files inside:

/OVS/seed_pool/OVM_EL5U3_X86_64_EBIZ12.1.1_DB_VIS_PVM
|
|- System.img (OS image file)
|- ebs1211db.img.img (Oracle E-Biz 12.1.1 DB Tier image file)
|- vm.cfg (VM configuration file)
|- README.txt

For more help, please look into the PDF mentioned above.

share|improve this answer

The tar.gz/tgz file you are having is split into multiple files. (tgz.0, tgz.1,tgz.2 etc..)

So that's the reason when you try to extract using the command

tar -zxvf OVM_EL5U3_X86_EBIZ12.1.1_DB_VIS_PVM.tgz.0

it works properly. But the contents wont be fully available.

Use the cat command to combine all the OVM_EL5U3_X86_64_EBIZ12.1.1_DB_VIS_PVM.tgz.* parts into one tar.gz file

then use the command

tar -zxvf OVM_EL5U3_X86_EBIZ12.1.1_DB_VIS_PVM.tgz
share|improve this answer

These files include multiple files and sub-directories into a single file using tar command. To save the bandwidth tar files are compressed using gzip program.

tar zxvf backups.tgz

tar command options

-z : Uncompress the resulting archive with gzip command.
-x : Extract to disk from the archive.
-v : Produce verbose output i.e. show progress and file names while extracting files.
-f backup.tgz : Read the archive from the specified file called backup.tgz.
-C /tmp/data : Unpack/extract files in /tmp/data instead of the default current directory.
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.