[root@TEST144239 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 not found;
  zipfile corrupt.
  (please check that you have transferred or created the zipfile in the
  appropriate BINARY mode and that you have compiled UnZip properly)

导致解压不了,有两个可能因素:

1.zip文件,如果是从某个机器下载的,应该尽量保证是以 二进制编码方式下载,否则也会导致unzip 解压不了.

[root@ZTE-TEST144239 ~]# 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 (Tim.Kosse@gmx.de)
220 Please visit http://sourceforge.net/projects/filezilla/
Name (10.30.1.25:root): ftp
331 Password required for ftp
Password:
230 Logged on
Remote system type is UNIX.

#确保文件是以二进制方式获得#
ftp> bin  
200 Type set to I
ftp> get /public/数据库/ORACLE/11G/linux64/p10404530_112030_Linux-x86-64_1of7.zip /var/tmp/p10404530_112030_Linx-x86-64_1of7.zip

2.unzip命令不能解压超过2G的文件 通过查找资料有个7z的程序可以解压超过2G的压缩包

http://pkgs.repoforge.org/p7zip/  该地址下载7zip包

首先通过 file /bin/ls命令查看linux是32位还是64位:

[root@TEST144239 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

所以 下载并安装p7zip-9.04-1.el3.rf.x86_64.rpm和p7zip-plugins-9.04-1.el3.rf.x86_64.rpm这两个包:

[root@TEST144239 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%]
[root@TEST144239 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%]

最新文章

  1. Ajax表单序列化后的数据格式转成Json发送给后台
  2. 百度地图 api
  3. python学习笔记七 初识socket(进阶篇)
  4. Android——配置文件的保存SharedPreferences进行数据存储
  5. 合工大OJ 1331 回文数
  6. Discuz!NT 3.9.913 Beta DIY过程
  7. ElasticSearch-PHP的API使用(二)
  8. 安卓开发利用外部jar包时ClassNotFound的错误
  9. TP复习10
  10. composer安装yii2或者laravel报错
  11. Ubuntu环境下Nutch1.2 二次开发(添加中文分词)
  12. visual studio 2015离线版msdn下载和安装
  13. 【QT相关】QT+opencv环境配置
  14. HDU1176:免费馅饼(DP)
  15. static 还是readonly 还是static readonly
  16. WPF treeview扩展
  17. Swift中集合类型indexOf(Element)提示错误的解决办法
  18. OpenCV进行图像相似度对比的几种办法
  19. 二、PHP基本语法 - PHP零基础快速入门
  20. global与nonlocal关键字

热门文章

  1. HDU 5100
  2. 转:Web.config配置文件详解(新手必看)
  3. 【Modal】
  4. Open vSwitch安装及配置
  5. Java-->利用文件指针分割文件
  6. rsync 使用示例
  7. session处理超时的三种方式
  8. HDU 4705 Y 树形枚举
  9. Docker简介
  10. 牧场安排(usaco NOV06.cowfood)