Solved

corrupt tar file

Posted on 2010-11-09
6
534 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

920 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

15 Experts available now in Live!

Get 1:1 Help Now