The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


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 !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
An error with gzip Cameron Shell Programming and Scripting 1 12-16-2005 12:59 PM
error using gunzip Keyser Soze HP-UX 3 02-24-2005 11:34 AM
decompress in HPUX11 by Gunzip and gzip yanly64 HP-UX 1 08-23-2004 04:12 PM
gunzip error mccoubreyr UNIX for Dummies Questions & Answers 3 01-16-2004 11:34 AM
gunzip error pkappaz UNIX for Dummies Questions & Answers 2 03-16-2003 06:06 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 05-29-2008
Supporter
 

Join Date: Mar 2008
Location: Bangalore
Posts: 14
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
Reply With Quote
Forum Sponsor
  #2  
Old 05-29-2008
era era is offline
Herder of Useless Cats
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,650
The obvious first thing to investigate is whether the file is empty or corrupted.
Reply With Quote
  #3  
Old 05-29-2008
Registered User
 

Join Date: May 2006
Posts: 45
use the following command :

uncompress file1.tar.Z
Reply With Quote
  #4  
Old 05-29-2008
Supporter
 

Join Date: Mar 2008
Location: Bangalore
Posts: 14
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
Reply With Quote
  #5  
Old 05-29-2008
Registered User
 

Join Date: May 2006
Posts: 45
check the file type :

file file1.tar.Z
Reply With Quote
  #6  
Old 05-29-2008
Registered User
 

Join Date: Mar 2008
Location: /bin/sh
Posts: 352
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.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 02:24 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0