FAQ Unzip unable to extract large files

Source: Internet
Author: User
Tags filezilla

[Email protected] tmp]#Unzip Linx64_11gr2_database_1of2.zip
Archive:linx64_11gR2_database_1of2.zip
Warning [linx64_11gr2_database_1of2.zip]:4652886 Extra bytes at beginning or within ZipFile
(attempting to process anyway)
Error [Linx64_11gr2_database_1of2.zip]:Start of Central directory is not found;
zipfile corrupt.
transferred or created the ZipFile in the
appropriate BINARY modeand that you have compiled UnZip properly)

There are two possible factors that can cause the decompression:

1.zip file, if it is downloaded from a machine, should try to ensure that the binary encoding method to download, otherwise it will also lead to unzip decompression.

[[Email protected] ~]# FTP 10.30.1.25
Connected to 10.30.1.25 (10.30.1.25).
220-filezilla Server version 0.9.31 beta
220-written by Tim Kosse ([email protected])
Visit http://sourceforge.net/projects/filezilla/
Name (10.30.1.25:root): FTP
331 Password required for FTP
Password:
Logged on
Remote system type is UNIX.

#确保文件是以二进制方式获得 #
Ftp> bin
Type set to I
ftp> get/public/Database/oracle/11g/linux64/p10404530_112030_linux-x86-64_1of7.zip/var/tmp/p10404530_112030_ Linx-x86-64_1of7.zip

2.unzip command cannot decompress more than 2G files by looking for a file with a 7z program that can decompress more than 2G of compressed packets

http://pkgs.repoforge.org/p7zip/this address to download 7zip package

First, check whether Linux is 32-bit or 64-bit with the FILE/BIN/LS command:

[Email protected] tmp]# file/bin/ls
/bin/ls:elf 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for Gnu/linux 2.6.18, Stripped

So download and install p7zip-9.04-1.el3.rf.x86_64.rpm and p7zip-plugins-9.04-1.el3.rf.x86_64.rpm these two packages:

[Email protected] tmp]#RPM-IVH p7zip-9.04-1.el3.rf.x86_64.rpm
Warning:p7zip-9.04-1.el3.rf.x86_64.rpm:header V3 dsa/sha1 Signature, key ID 6b8d79e6:nokey
Preparing ... ########################################### [100%]
1:p7zip ########################################### [100%]
[Email protected] tmp]#RPM-IVH p7zip-plugins-9.04-1.el3.rf.x86_64.rpm
Warning:p7zip-plugins-9.04-1.el3.rf.x86_64.rpm:header V3 dsa/sha1 Signature, key ID 6b8d79e6:nokey
Preparing ... ########################################### [100%]
1:p7zip-plugins ########################################### [100%]

FAQ Unzip unable to extract large files

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.