?
Solved

corrupt tar file

Posted on 2010-11-09
6
Medium Priority
?
546 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 
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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
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.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month13 days, 14 hours left to enroll

800 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