April 25, 2024, 08:40:26 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Uncompression Impossible:gunzip:fade.dbf.Z:Bad table(case b)  (Read 5757 times)

Offline rajesh.bahl

  • Linux Learner
  • ***
  • Posts: 86
Uncompression Impossible:gunzip:fade.dbf.Z:Bad table(case b)
« on: December 19, 2007, 05:21:12 PM »
Dear All,


I received one compressed file for analysis . The filename is fade.dbf.Z.

While uncompressing it on my CentOS 5 system, I receive the error:
gunzip: fade.dbf.Z: Bad table (case b)

Is there any way we can decompress this file ?


rajesh.bahl
« Last Edit: December 20, 2007, 07:46:16 AM by LS-Admin »

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Re: Uncompression Impossible:gunzip:fade.dbf.Z:Bad table(case b)
« Reply #1 on: December 20, 2007, 01:58:52 PM »
it simply means that file is corrupt, look for another copy.

Offline rajesh.bahl

  • Linux Learner
  • ***
  • Posts: 86
Re: Uncompression Impossible:gunzip:fade.dbf.Z:Bad table(case b)
« Reply #2 on: December 20, 2007, 04:12:58 PM »

That is very clear from the error itself.

What I have asked for is a solution tom decompress it. The original file has been lost as the disk of the server having this file has crashed.

Also I have been told that this file was transferred from the server to a windows machine via ftp in ascii mode. I fully agree that this is a badly corrupted file but some how we have to decompress and get data out of it.


Can some one help ?




rajesh.bahl

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Re: Uncompression Impossible:gunzip:fade.dbf.Z:Bad table(case b)
« Reply #3 on: December 22, 2007, 05:26:51 PM »
If its corrupt... I dont' think can do much !

Offline dragoncity99

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 551
Re: Uncompression Impossible:gunzip:fade.dbf.Z:Bad table(case b)
« Reply #4 on: December 27, 2007, 04:45:12 AM »
Have you used uncompress command ?

--> uncompress your-file.Z

If *.Z is your extension in this case and it is using the LZ compression. If not, u can study using the file command.

# file your-file.Z

Remember, linux use extensions as an identifier for user only. In real linux, a file without a extension will still run accordingly by its application as those applications knows how to make full use of that file (be it a binary or a text file)

If the file is corrupted like Ricky mention, u can  verify by running "md5sum" on the original file and the copied file. To make sure the file did not get corrupted during transfer.
# md5sum original-file.z

# md5sum copied-file.z
« Last Edit: December 27, 2007, 04:48:40 AM by dragoncity99 »