Solved

corrupt tar file

Posted on 2010-11-09
6
531 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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Problem logging tar errors 11 35
Automating a script for user accounts LINUX 14 42
linux ssh 4 34
LINUX CENTOS + APACHE 9 37
In this tutorial I will explain how to make squid prevent malwares in five easy steps: Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-…
Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now