Error in tar


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Error in tar
# 1  
Old 06-05-2008
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 error messages after giving "tar xpf dxagent.ss" this command.
these errors are:
Tar: This does not look like a tar archive
Tar: Skipping to next header
Tar: Error exit delayed from previous errors
Please suggest some solution for these errors.
# 2  
Old 06-05-2008
The file is empty or corrupted.
# 3  
Old 06-05-2008
Usually tar archives have the ending *.tar. Maybe it's a complete different kind of file or broken? What does
Code:
file dxagent.ss

show?
# 4  
Old 06-05-2008
Actully previously i was getting correct output of that file, then i rename that file with dxmon.ss and in the file wheraver dxagent was present i rename it with dxmon.
but after renaming it is giving these tar error.
so i thought this renaming is wrong way to craete this file. what is the other source to create this file.
this is the starting part of file. the binary part is not get copied.
"/usr/man/man1m/dxmon.1m.........
.SH NAME
.P
dxmon - DS Expert Agent daemon

.SH SYNOPSIS
.P
/usr/sbin/dxmon
.P
/usr/sbin/dxmon -i [-a user][-t ###][-s] edir-acct edir-pw
.P
/usr/sbin/dxmon -r edir-acct edir-pw
.P
/usr/sbin/dxmon -u edir-acct edir-pw
.P
/usr/sbin/dxmon -x edir-acct edir-pw
.P
/usr/sbin/dxmon -d
.P
/usr/sbin/dxmon -h
.P
/usr/sbin/dxmon LOGLEVEL [#] | LOGSIZE [######] | LOGFLUSH | LOGRESET

.SH DESCRIPTION
.P
The DS Expert dxmon daemon provides eDirectory monitoring. It also provi
# 5  
Old 06-05-2008
Sorry, hard to understand for me. What do you mean with
Quote:
.. and in the file wheraver dxagent was present i rename it with dxmon ..
Did you edit the tar'ed file somehow or before taring it?
Nevertheless, can't you just create the archive anew or get the file again from somewhere?
# 6  
Old 06-06-2008
I have edit it befor taring.
actually i already have this file for dxagent.ss but i want this same file for dxmon.ss and then i want to tar it with other installation scripts.
so i renamed dxagent to dxmon and even i edit file contents also.
this installer is for solaris platform. do u have idea about .ss or .sw files how these files gets create? or what is role of these files in installation. it seems some sort of tar files.
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. Solaris

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. (7 Replies)
Discussion started by: agarwal
7 Replies

6. 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

7. 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

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