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

The obvious first thing to investigate is whether the file is empty or corrupted.

use the following command :

uncompress file1.tar.Z

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

check the file type :

file file1.tar.Z

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.