gunzip error - not in gzip format | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

gunzip error - not in gzip format

UNIX for Dummies Questions & Answers


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 05-29-2008
eagercyber eagercyber is offline VIP Member  
Supporter
 
Join Date: Mar 2008
Last Activity: 14 December 2012, 4:31 AM EST
Location: Bangalore
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
gunzip error - not in gzip format

Hi,

I am getting this error

gunzip file1.tar.Z

gunzip: file1.tar.Z: not in gzip format

Any clues? This goes bad only in some recent installations of ids
Sponsored Links
    #2  
Old 05-29-2008
era era is offline Forum Advisor  
Herder of Useless Cats (On Sabbatical)
 
Join Date: Mar 2008
Last Activity: 28 March 2011, 6:41 AM EDT
Location: /there/is/only/bin/sh
Posts: 3,653
Thanks: 0
Thanked 10 Times in 8 Posts
The obvious first thing to investigate is whether the file is empty or corrupted.
Sponsored Links
    #3  
Old 05-29-2008
ThobiasVakayil ThobiasVakayil is offline
Registered User
 
Join Date: May 2006
Last Activity: 3 February 2014, 11:02 PM EST
Posts: 73
Thanks: 0
Thanked 1 Time in 1 Post
use the following command :

uncompress file1.tar.Z
    #4  
Old 05-29-2008
eagercyber eagercyber is offline VIP Member  
Supporter
 
Join Date: Mar 2008
Last Activity: 14 December 2012, 4:31 AM EST
Location: Bangalore
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks for clues.

The file is not empty.

With uncompress I get an error

uncompress file1.tar.Z
file1.tar.Z: not in compressed format

So mostly it is not compressed but still named as tar.Z
Sponsored Links
    #5  
Old 05-29-2008
ThobiasVakayil ThobiasVakayil is offline
Registered User
 
Join Date: May 2006
Last Activity: 3 February 2014, 11:02 PM EST
Posts: 73
Thanks: 0
Thanked 1 Time in 1 Post
check the file type :

file file1.tar.Z
Sponsored Links
    #6  
Old 05-29-2008
nua7 nua7 is offline
Registered User
 
Join Date: Mar 2008
Last Activity: 27 March 2014, 10:42 AM EDT
Location: /bin/sh
Posts: 423
Thanks: 24
Thanked 4 Times in 4 Posts
The only possibility I feel is the file is coorupt. maybe when it was compressed , it gave out an error which was missed.

If you used a log file while compressing the file, maybe you should check in the log.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
gzip-gunzip a problem dummydba UNIX for Dummies Questions & Answers 3 01-28-2010 04:05 AM
doubt reg gzip,gunzip rogerben Solaris 1 04-14-2009 06:53 AM
Cloning OracleHome (gzip/gunzip Help) aixhp UNIX for Dummies Questions & Answers 4 08-14-2008 08:15 AM
decompress in HPUX11 by Gunzip and gzip yanly64 HP-UX 1 08-23-2004 07:12 PM
gunzip error pkappaz UNIX for Dummies Questions & Answers 2 03-16-2003 08:06 PM



All times are GMT -4. The time now is 07:06 AM.