-   Linux - General (
-   -   "tar -xzf" error: "tar.child died with signal 13" (

vlsi 05-19-2009 10:29 PM

"tar -xzf" error: "tar.child died with signal 13"
Dear All,

I have just installed my backup from Dell RD1000 on the platform of Red Hat enterprise version 4 with the command " tar -xzf /dev/sdc", but I got the following messages in the end of the restoring.

gzip:stdin:decompression ok, trailing garbage ignored
tar: Child died with signal 13
tar: Error exit delayed from previous errors
I checked the files restored. It seems that all are there. I wonder if there is any problem with the data I have just installed. Can anyone confirm me this? Thanks a lot in advance.


stress_junkie 05-20-2009 03:44 PM

I looked up linux signals on Google. It took about five seconds to find this page.

That page says that signal 13 means

SIGPIPE 13 Write on a pipe with no reader, Broken pipe (POSIX)
We know that when you specify -xz in the tar command you will actually start two processes. One will run tar, the other will run gzip to unzip the tar file. You were restoring from a file so the gzip would have been reading the tar archive and sending it to the tar utility. So evidently the tar utility exited before gzip was finished talking to it.

JZL240I-U 05-25-2009 01:18 AM

Thanks for this explanation :).

vlsi 05-26-2009 12:13 AM

Thanks for the explanation! For your information, the data restored is working fine.

JZL240I-U 05-26-2009 02:04 AM


Originally Posted by vlsi (Post 3552702)
...the data restored is working fine.

In spite of the error message or did you succeed running it without error? What happened exactly :scratch: ?

All times are GMT -5. The time now is 05:23 PM.