Tar encounters error: "Error exit delayed from previous errors" several problems

Source: Internet
Author: User

A problem that may come across

Use the tar command (TAR-CVFZ src.tar.gz src) to compress a directory,

Encountered error "error exit delayed from previous errors"

The reason option "F" means the archive file name is given on the command


Line (required whenever the tar output is going to a file),

F need to be followed by the name of the compressed file.

So the tar command from "TAR-CVFZ src.tar.gz src" changed to "TAR-CZVF src.tar.gz src",


problems that may be encountered two


In Google search, there are two possible scenarios for this problem:

12 There may be files in the packaged directory that do not have read (r) permissions, and directories that may be in the packaged directory do not have the Execute (x) permission.

Locate the file or directory that has a problem with the permissions and change their permissions by using the following chmod command:

12345 # Change file permissions chmod u+r File # change directory permissions chmod-r u+xr dir

After the permission setting is complete, then using the TAR command to package the compression, there will be no tar:error exit delayed from previous errors error.


question three,

Sometimes the tar function may be incorrectly prompted because of an FTP upload problem


FTP is transmitted in a binary way:

12345 FTP 192.168.0.1# Omit login password and ... # FTP command mode,

Set transfer mode for binftp> binftp> put ~/xxx.tar.gz yyy.tar.gz


Okay, about the error exit delayed from previous errors basically on these kinds of people can refer to.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.