tar and gtar fail: Archive contains obsolescent base-64 headers
Linux - EnterpriseThis forum is for all items relating to using Linux in the Enterprise.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
tar and gtar fail: Archive contains obsolescent base-64 headers
Tar and gtar are failing with the same error.
I am taking files from a 32 bit server, rsyncing them to a 64 bit server, and then running "tar cvzf filename" on them. That tar is seemingly created with no problems. However, when I try to extract the tar file, I get the following error.
"tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
gzip: stdin: invalid compressed data--format violated
tar: Child returned status 1
tar: Error exit delayed from previous errors"
The results are the same using gtar and tar. Also, It does not matter if the tar extraction is run on a 32 bit or 64 bit machine. It the tar/zip was created on the 64 bit server, it will still fail.
If I do not include the zip option when creating, I am able to extract without error.
However, the create and extract tar with zip option works fine on a 32 bit server. Also, I can create the tar on a 32 bit server and extract on a 64 bit server. This leaves a short list of possibilities. The 64 bit server cannot successfully tar and zip these files although it appears to complete with no problems.
The files I am trying to tar are a set of files generated by svn hotcopy on a 32 bit machine.
Any help would be appreciated
32 bit server is CentOS 4.4
64 bit server is CentOS 5
Thanks,
Dan
Last edited by duderancher; 03-06-2008 at 06:20 PM.
Thats very strange, if I can I will test on my set up later and let you know how I get on, I would be going from Fedora 7 32bit to RHEL 5.1 64bit - please can you post your rsync syntax so I can do a fair test.
I have on another not done something much like this in the past few days but I used scp to move the data around and had no problems.
I have authroiztion keys set up for the script but it does not matter if I run the rsync by script or manually. The results of the failed tar with zip option remain consistent.
Hi Dan, Sorry but the DB developers have now grabbed my 64bit server so I can't test for you at the moment Will do my best to get it back asap. Can I recommend you try scp for the file copy just to see if you have the same issue, it may narrow things down for us just as a test.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.