Solved

corrupt tar file

Posted on 2010-11-09
6
540 Views
Last Modified: 2012-05-10
I have software that's been running and making .tar downloads for about 4 years. nothing has changed on the server. i admin to it so i'm pretty sure. for some reason today one of the tar's won't unpack. i tried on OSX and CentOS using different versions of tar. i keep getting the following no mater what I try:

¿$ sudo tar -xf 101108103122.tar
Password:
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
tar: Read 737 bytes from 101108103122.tar
tar: Error exit delayed from previous errors

any ideas? can i skip the corrupt file and move on?
0
Comment
Question by:machrisod
6 Comments
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 34096971
Did you try the option

--ignore-failed-read

?

wmp
0
 

Author Comment

by:machrisod
ID: 34097140
yes, i tried that. it gives me the same result.

$ sudo tar --ignore-failed-read -xf 101108103122.tar
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
tar: Read 737 bytes from 101108103122.tar
tar: Error exit delayed from previous errors
0
 

Accepted Solution

by:
machrisod earned 0 total points
ID: 34097277
using the process of elimination i was able to determine that a specific file in the archive was causing the problem. so just removing that one got me a clean tar. no idea why that file is causing the error. looks like a tar bug. thanks!
-matt
0
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
LVL 8

Expert Comment

by:chcw
ID: 34097837
Is your TAR file password-protected? If yes, then it will be harder to recover it.

Have you tried

Advanced TAR Repair

at

http://www.datanumen.com/atr/ to scan and recover your corrupt TAR file?
0
 
LVL 19

Expert Comment

by:jools
ID: 34107759
what does `file 101108103122.tar` show?

you may need to use a different option, do you know what the command was that created the archive?
0
 

Author Closing Comment

by:machrisod
ID: 34153343
i didn't really solve it... just worked around it.
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Need BIOS update Linux for MSI X99A motherboard. 4 53
awk sed 8 70
WordPress: Debugging from my Windows 10 Desktop 6 39
plsql job on oracle 18 41
This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question