Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

tar: 0511-169

Status
Not open for further replies.

andysys

IS-IT--Management
May 20, 2003
103
IN
Hi

While extracting tar.Z.tar file aix I am getting follow. error

tar: 0511-169 A directory checksum error on media

Please help me.

Thanks
Andy
 
Have you ftp'd the tar at all ?

(must use binary to transfer)

Is it on tape ?

(tape may be cr*p)

Alex
 
That name looks kinda funky.

It's fairly common for users to take a compressed file containing a tar archive and mistakenly add a ".tar" extension, instead of uncompressing to remove the ".Z" and turn back into a tar file.

Run "file tar.Z.tar" and see if it doesn't report that it's compressed data, not a tar archive. If so, rename it to something ending in ".Z", like "mv tar.Z.tar mytar.Z". The rename is necessary because uncompress expects to see that trailing "Z" and will add it if it's not there. I chose "mytar" over "tar" because I don't like having data files with command names. Now you can do "uncompress mytar.Z", which will yield a file named "mytar", which you can then try to untar.

I say "try" because the renaming mistake may be the most recent mistake, but isn't necessarily the only one.



Rod Knowlton
IBM Certified Advanced Technical Expert pSeries and AIX 5L

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top