In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
At the beginning of using jar-xvf for decompression also reported an error, suspected that there is something wrong with the jar decompression command. Install the zip-related package and then decompress it or report an error.
Jar decompression reported an 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 reported an 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 is not
A zipfile, or it constitutes one disk of a multi-part archive. In the
Latter case the central directory and zipfile comment will 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.
By querying the relevant error information on the Internet, some netizens said that the upload was not in binary mode, and some said that the md5 value of packets lost during the upload process was inconsistent, and one of them said that the system was limited so that the ftp upload was incomplete.
When checking FTP upload, it is indicated that there is a limit to report an error, as follows:
C:\ Users\ Forrest > ftp 192.168.1.248
Connect to 192.168.1.248.
220 localhost FTP server (Version 4.2 Sat Aug 7 19:39:41 CDT 2010) ready.
User (192.168.1.248: (none)): root
331 Password required for root.
Password:
230-Last login: Wed Dec 31 22:52:13 CST 1969 on / dev/pts/0 from 192.168.1.118
230 User root logged in.
Ftp > bin
200 Type set to I.
Ftp >
Ftp > put D:\ Thunderbolt download\ aix.ppc64_11gR2_database_1of2.zip
200 PORT command successful.
150 Opening data connection for aix.ppc64_11gR2_database_1of2.zip.
452 Error writing file: A file cannot be larger than the value set by ulimit.
Ftp: send 1073741824 bytes in 251.31 seconds 4272.58 kilobytes per second.
Ftp >
View the current size value for AIX, which represents the file size limit created by the user. This defined value, in 512 bytes, is the maximum file size 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
The latter paragraph of the output here is omitted
Change its fsize to-1 so that there is no size limit for this parameter.
For the changes to the / etc/security/limits file to take effect, the user must log out of the current login session and log in again.
Re-upload and decompress it, that is, it is normal and no error is reported.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.