Error while using tar


 
Thread Tools Search this Thread
Operating Systems Solaris Error while using tar
# 1  
Old 10-16-2008
Error while using tar

Hi,

WHile decompressing the files, i get the error tar: directory checksum error. After decompressing when i check the size of file, it is less than the original file. Due to this error, there is loss of data. How can this error be removed?


Thanks in advance.
# 2  
Old 10-16-2008
pls provide the disk usage output. what is the format of the file that you are compressing? whats the command you issued?
Capture and paste it.
# 3  
Old 10-16-2008
There are 2 files in the zipped folder. One is binary file, while the other one is .pdf. binary file is setup file of an application.
The command that i gave was tar xvf folder.tar. Below is the exact replica

$ tar xvf SupplyChainVisibility_solaris_master_6.3.1RC1.tar
x setup.bin, 84324622 bytes, 164697 tape blocks
tar: directory checksum error
# 4  
Old 10-16-2008
Your tar file might be truncated, corrupted or created by a uncompatible tar version. GNU tar sometimes create files that failed to be read by Solaris tar. Try gtar in that case.
# 5  
Old 10-17-2008
I have tried using gtar...gtar is not present in my machine. Below message is displayed.
gtar: not found
# 6  
Old 10-17-2008
gtar might be present but just not in your PATH. It is bundled with recent Solaris releases. Anyway, after reading again your first posting, I think your file is simply truncated. There is no way then to recover the missing data outside from that archive.
# 7  
Old 10-17-2008
try downloading your tar file again and try. could be corruption
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Tar error

do you have idea what is the limit to zip the file. + tar -cvf - today.txt tar: Size of today.txt >= 8GB. Not dumped. (3 Replies)
Discussion started by: ramkumar15
3 Replies

2. Shell Programming and Scripting

tar command to explore multiple layers of tar and tar.gz files

Hi all, I have a tar file and inside that tar file is a folder with additional tar.gz files. What I want to do is look inside the first tar file and then find the second tar file I'm looking for, look inside that tar.gz file to find a certain directory. I'm encountering issues by trying to... (1 Reply)
Discussion started by: bashnewbee
1 Replies

3. UNIX for Dummies Questions & Answers

tar -cvf test.tar `find . -mtime -1 -type f` only tar 1 file

Hi all, 4 files are returned when i issue 'find . -mtime -1 -type f -ls'. ./ora_475244.aud ./ora_671958.aud ./ora_934052.aud ./ora_934050.aud However, when I issued the below command: tar -cvf test.tar `find . -mtime -1 -type f`, the tar file only contains the 1st file -... (2 Replies)
Discussion started by: ahSher
2 Replies

4. Linux

tar error exit delayed form pervious error

Hi when use "tar cpvzf /dev/st0 --exclude=/proc --exclude-/lost+found --exclude=/mnt --exclude=/media --exclude=/sys /" to tape, get the following message "tar: error exit delayed form pervious error", What is the mean ? Please suggest some solution for these errors. thx (1 Reply)
Discussion started by: chayato
1 Replies

5. UNIX for Dummies Questions & Answers

Error when tar extract

I've got this Files.tgz containing Fruits/Apple.txt Drinks/Soda.txt Drinks/Pepsi.txt I would like to extract all files/directories with pattern "Fruits". So, what I did was tar -xvf File.tgz `tar -tf Files.tgz | grep 'Fruits'` However, output is:- Files/Fruits... (8 Replies)
Discussion started by: percivalwcy
8 Replies

6. AIX

Tar error

When Im trying to untar a file I get an error message tar: 0511-169 A directory checksum error on media; 804399248 not equal to 46325. What can I do to untar my file Thanks (3 Replies)
Discussion started by: joemad
3 Replies

7. UNIX for Advanced & Expert Users

Error in tar

Hi i am facing one problem with one file dxagent.ss, this file has most of the binary contents. when i m running following command on unix machine tar xpf dxagent.ss output should be: removing leading '/' from members name. and should create 'usr' and 'var' directory. but i am getting some... (5 Replies)
Discussion started by: yogini nemade
5 Replies

8. UNIX for Dummies Questions & Answers

reg: tar error

Hi , i am working on aix. when i am tarring a folder using the command tar cf /home/test45/res rpt i am getting an error like tar: res rpt/Idaho_110_20079245268_Plan_OverPayment_summary_rpt_v2.1.xls: file changed as we read it vat may be the issue... please advice sam (1 Reply)
Discussion started by: sam99
1 Replies

9. Solaris

TAR error

When I tried to decompress using TAR the following error was popped up.. tar: blocksize = 0 ..Can anyone tell me wht this means and how to rectify this error... (3 Replies)
Discussion started by: hemin_pm
3 Replies

10. Shell Programming and Scripting

TAR error

-------------------------------------------------------------------------------- When I tried to decompress using TAR the following error was popped up.. tar: blocksize = 0 ..Can anyone tell me wht this means and how to rectify this error... (1 Reply)
Discussion started by: hemin_pm
1 Replies
Login or Register to Ask a Question