Unable to gunzip .tgz file in AIX6.1


 
Thread Tools Search this Thread
Operating Systems AIX Unable to gunzip .tgz file in AIX6.1
# 8  
Old 09-01-2010
The file is definitely corrupted. Can you try use scp or sftp?
# 9  
Old 09-02-2010
Hi, so I tried to use WinSCP to ftp the files. So i transfered the file to my AIX machine. Both from my pc and aix size were the same.

> then I tried the below at the aix (telnet)

Code:
# tar -zxvf Java5_64.sdk.tar.gz
tar: Not a recognized flag: z
Usage: tar -{c|r|t|u|x} [ -BdDEFhilmopRUsvwZ ] [ -Number ] [ -f TarFil e ]
           [ -b Blocks ] [ -S [ Feet ] | [ Feet@Density ] | [ Blocksb ] ]
           [ -L InputList ] [-X ExcludeFile] [ -N Blocks ] [ -C Directory ] File ...
Usage: tar {c|r|t|u|x} [ bBdDEfFhilLXmNopRsSUvwZ[0-9] ] ]
           [ Blocks ] [ TarFile ] [ InputList ] [ ExcludeFile ]
           [ [ Feet ] | [ Feet@Density ] | [ Blocksb ] ] [-C Directory ] File ...

Code:
# tar -xvf Java5_64.sdk.tar.gz
tar: 0511-169 A directory checksum error on media; 0 not equal to 58224.
#

Smilie
# 10  
Old 09-02-2010
Code:
gzip -d filename.tar.gz
tar -xvf filename.tar

# 11  
Old 09-02-2010
Quote:
Originally Posted by pilotHans
Code:
# tar -zxvf Java5_64.sdk.tar.gz

Smilie
Could you, by any chance, at least readthe answers you get? Like the one i gave you, for instance?

Sigh....

bakunin
This User Gave Thanks to bakunin For This Post:
# 12  
Old 09-03-2010
Quote:
Originally Posted by bakunin
Could you, by any chance, at least readthe answers you get? Like the one i gave you, for instance?

Sigh....

bakunin
hi bakunin, sorry didn't mean it that way, but hey I agree that something went up during my FTP from my local machine to the AIX.

It's kindda weird the ftp is not showing any error (normal ftp from command prompt)..

so what I did was, I ftp using WinSCP. and this time the file transfered to aix was able to be decompressed...using the commands suggested.

thanks again Smilie
# 13  
Old 09-06-2010
Quote:
Originally Posted by pilotHans
Hi, so I tried to use WinSCP to ftp the files. So i transfered the file to my AIX machine. Both from my pc and aix size were the same.

> then I tried the below at the aix (telnet)

Code:
# tar -zxvf Java5_64.sdk.tar.gz
tar: Not a recognized flag: z
Usage: tar -{c|r|t|u|x} [ -BdDEFhilmopRUsvwZ ] [ -Number ] [ -f TarFil e ]
           [ -b Blocks ] [ -S [ Feet ] | [ Feet@Density ] | [ Blocksb ] ]
           [ -L InputList ] [-X ExcludeFile] [ -N Blocks ] [ -C Directory ] File ...
Usage: tar {c|r|t|u|x} [ bBdDEfFhilLXmNopRsSUvwZ[0-9] ] ]
           [ Blocks ] [ TarFile ] [ InputList ] [ ExcludeFile ]
           [ [ Feet ] | [ Feet@Density ] | [ Blocksb ] ] [-C Directory ] File ...

Code:
# tar -xvf Java5_64.sdk.tar.gz
tar: 0511-169 A directory checksum error on media; 0 not equal to 58224.
#

Smilie
Bakunin was correct if this is a .gz file. However from your previous entries and the title of your problem this is a zipped tar file with the suffix .tgz. If this assumption is correct then as I said in previous entry this points towards a file created on a Linux server and will have to extracted on a Linux server using the tar -zxvf command.

So now which is it "install.tgz" or "Java5_64.sdk.tar.gz"? If it is the former then what I said above is correct, if it is the later then the file would have to be unzipped and then the tar -xvf command can be run!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Unable to extract .gz file using gunzip

Linux 3.8.13-16.2.1.el6uek.x86_64 #1 SMP Thu Nov 7 17:01:44 PST 2013 x86_64 x86_64 x86_64 GNU/Linux Hi all, I am unable to extract .gz file using gunzip Used the following command to create the .gz file: nohup tar -cvpf - 11.2.0.4 | gzip -c >... (3 Replies)
Discussion started by: a1_win
3 Replies

2. Shell Programming and Scripting

Gunzip a file in UNIX

hi All, i have a file called rsync-3.0.9.tar.gz, i have to unzip and then uncompress it. but at first while i am trying to unzip this file, it is giving me following error: -rw-r--r-- 1 bravodba bravodba 7278458 Aug 19 08:26 rsync-3.0.9.tar.gz bash-3.2$ unzip rsync-3.0.9.tar.gz Archive: ... (12 Replies)
Discussion started by: lovelysethii
12 Replies

3. AIX

How to install .tar.tgz file in AIX 6.1?

Hello, I have openssl.0.9.8.1103.tar.tgz file which I have downloaded from https://www14.software.ibm.com/webapp/iwm/web/reg/download.do?source=aixbp&S_PKG=openssl siteThe website says that the file name is openssl.0.9.8.1103.tar.z but when downloaded I get openssl.0.9.8.1103.tar.tgz as the... (2 Replies)
Discussion started by: gaugeta
2 Replies

4. UNIX for Dummies Questions & Answers

How to create .tgz file without creating .tar file?

Hi, Could anyone help me in providing command to generate .tgz file without creating .tar file? currently i am using below command for doing the same but if tar file has big size and there is no space in drive then tgz file will not be generated. I want to generate tgz file directly without... (4 Replies)
Discussion started by: Pawan Kumar
4 Replies

5. AIX

AIX6.1 Remove file descriptor from specified process

Hi, How to release file description area from specified process. Problem is that process started - open one file ( ~2GB ) - file has been removed - process still shown that file is used by process and can't release space on filesystem. It is not allowable to kill process !!! Regs,... (3 Replies)
Discussion started by: KrzysiekPi
3 Replies

6. Shell Programming and Scripting

How to create tgz file for all the directories in one time?

Hi, On server there is an one folder . which contains sub folder Eg - TEST folder contains test1, test2, execr ,tt (folder). also includes some text file like abc.txt psp.txt gg.log. here iwant to create tgz file for all the folders and file in one time. I know the command... (1 Reply)
Discussion started by: aish11
1 Replies

7. Shell Programming and Scripting

How to move files to existing .tgz file?

Hi, I have already created the tar files. which consist of some log files and Audit.csv plz see the below code for that ================================================ tar -Pczf ARCH/${arc_date}.tgz $LOG/*.log $REYE/CEP/FiAdapter/Audit.${arc_date}.csv ... (3 Replies)
Discussion started by: pspriyanka
3 Replies

8. UNIX for Advanced & Expert Users

how to grep/read a file inside compressed tgz without extract?

Hi all, I would like to ask whether in Unix shell/perl have any functions or command to allow grep/cat/read a file inside compressed .tgz without extract it? I know we can tar tvf a compressed tgz but this only allow we read the path/filename contained inside the tarball. If we want to read... (3 Replies)
Discussion started by: mayshy
3 Replies

9. UNIX for Dummies Questions & Answers

file.tgz.1of2 & file.tgz.2of2

Hi all, Need help. Anybody seen this kind of file before? file.tgz.1of2 file.tgz.2of2 how to extract this tgz file? Any help? Tq (5 Replies)
Discussion started by: zeedwolf
5 Replies

10. Windows & DOS: Issues & Discussions

*.tgz file on WinXP

Could anyone of y'all gurus tell me of how to open *.tgz files in WinXP....which program should i use to open it...i have tried going online to open it ut all in vain...please help Gerry... (5 Replies)
Discussion started by: gerald_agoi
5 Replies
Login or Register to Ask a Question