AIX 7.1 jar Unzip decompression error problem resolution

Source: Internet
Author: User

Just started using JAR-XVF to decompress also error, suspect jar decompression command there is a problem. Then install the zip-related package to extract or error.

Jar Decompression Error
JAR-XVF Aix.ppc64_11gR2_database_1of2.zip

Inflated:database/stage/components/oracle.sysman.console.db/11.2.0.1.0/1/datafiles/filegroup4.jar
java.io.EOFException:Unexpected end of ZLIB input stream
At Java.util.zip.InflaterInputStream.fill (inflaterinputstream.java:241)
At Java.util.zip.InflaterInputStream.read (inflaterinputstream.java:159)
At Java.util.zip.ZipInputStream.read (zipinputstream.java:166)
At Sun.tools.jar.Main.extractFile (main.java:753)
At Sun.tools.jar.Main.extract (main.java:716)
At Sun.tools.jar.Main.run (main.java:226)
At Sun.tools.jar.Main.main (main.java:942)

Unzip decompression Error
Unzip aix.ppc64_11gr2_database_1of2.zip-d oracle/

Archive:aix.ppc64_11gR2_database_1of2.zip
End-of-central-directory signature not found. Either this file was not
A zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the Central directory and ZipFile comment'll be found on
The last disk (s) of this archive.
Unzip:cannot Find ZipFile directory in one of Aix.ppc64_11gR2_database_1of2.zip or
Aix.ppc64_11gR2_database_1of2.zip.zip, and cannot find Aix.ppc64_11gR2_database_1of2.zip.ZIP, period.

Through the online query related error information, there are netizens said to be uploaded not in the binary mode, there is also said that the upload process package has lost MD5 value inconsistency, wherein there is a said system has limitations resulting in incomplete FTP upload.

Check the FTP upload when prompted to limit the error, as follows:
C:\users\forrest>ftp 192.168.1.248
Connect to 192.168.1.248.
Version 4.2 Sat 7 19:39:41 CDT) ready.
User (192.168.1.248: (none)): Root
331 Password required for root.
Password:
230-last login:wed Dec 22:52:13 CST 1969 on/dev/pts/0 from 192.168.1.118
User Root logged in.
Ftp> bin
The Type set to I.
Ftp>
ftp> put d:\ Thunder download \aix.ppc64_11gr2_database_1of2.zip
PORT command successful.
Opening data connection for Aix.ppc64_11gR2_database_1of2.zip.
452 Error Writing file:a file cannot is larger than the value set by Ulimit.
ftp: Send 1073741824 bytes, spents 251.31 seconds 4272.58 kilobytes per second.
Ftp>

View the current size value of AIX, which represents the file size limit created by the user. This definition value (512 bytes) is the size of the maximum file that the user can generate.

Ulimit-f
2097151

Cat/etc/security/limits

Default
Fsize = 2097151
Core = 2097151
CPU =-1
data = 262144
RSS = 65536
stack = 65536
Nofiles = 2000

Here the output after the paragraph omitted

Change its fsize to-1 so that the parameter has no size limit.

For the changes in the/etc/security/limits file to take effect, the user must log off the current logon session and log back on.

Re-upload re-unzip that normal no error

AIX 7.1 jar Unzip decompression error problem resolution

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.