PDA

View Full Version : tar: Error exit delayed from previous errors


Snarpy
02-25-2007, 05:22 PM
I'm attempting to tar and gzip all files on a site, and I get this message during tar:
Error exit delayed from previous errors

There is a symlink directory in there, but from what I can tell that shouldn't be a problem. How can I figure out what the problem is and avoid it?

Jeff
02-25-2007, 06:31 PM
Are any folders or files included that you don't have permission to? (I think I remember getting that when I accidentally included the stats directory for example.)

No errors or messages at all listed between the time you issue the tar -czpf filename.tar.gz directory-to-tar command and the time you get the error exit delayed?

Snarpy
02-25-2007, 06:54 PM
I discovered that PuTTY can log the session, and I used that option to see that
tar: www/stats/dostats: Cannot open: Permission denied

If I was sure that everything else was tarred fine, I'd ignore this, but since I don't know if that's the case I'm continue to work on what to do about this. I think I read somewhere how to tar everything except a certain directory and I'm going back to find those instructions now.

Melissa
03-03-2007, 03:34 PM
Hey Snarpy,

This what you're thinking of?
http://www.aota.net/forums/showthread.php?p=98283
Here's also one that I believe is applicable to your particular situation:
http://www.aota.net/forums/showthread.php?postid=50137#post50137