banner

[Rule] Rules  [Home] Main Forum  [Portal] Portal  
[Members] Member Listing  [Statistics] Statistics  [Search] Search  [Reading Room] Reading Room 
[Register] Register  
[Login] Loginhttp  | https  ]
 
Forum Index Thảo luận hệ điều hành *nix Error zip I/O error: No such file or directory khi zip trên RedHat  XML
  [Question]   Error zip I/O error: No such file or directory khi zip trên RedHat 22/08/2013 08:58:09 (+0700) | #1 | 278213
[Avatar]
ngtrongtri
Member

[Minus]    0    [Plus]
Joined: 27/03/2012 22:54:13
Messages: 114
Offline
[Profile] [PM]
Chào mọi người, mình có 1 vấn đề nhờ mọi người giúp đỡ.
Mình cần nén 1 folder khoảng 7Gb trên RedHat
Mình thực hiện lệnh sau: zip -9 -r file.zip file/
Nhưng nó chạy khá lâu xong báo lỗi

Code:
zip I/O error: No such file or directory

zip error: Input file read failure (was zipping file/tomcat/webapps/test/test1/123/241300/8000027393716333.png)


mình kiểm tra thì thấy có file 8000027393716333.png. Mong mọi người giúp mình.
[Up] [Print Copy]
  [Question]   Error zip I/O error: No such file or directory khi zip trên RedHat 22/08/2013 10:34:51 (+0700) | #2 | 278215
[Avatar]
quanta
Moderator

Joined: 28/07/2006 14:44:21
Messages: 7265
Location: $ locate `whoami`
Offline
[Profile] [PM]
Bạn đang dùng phiên bản bao nhiêu: `zip -v`?
Let's build on a great foundation!
[Up] [Print Copy]
  [Question]   Error zip I/O error: No such file or directory khi zip trên RedHat 22/08/2013 10:43:01 (+0700) | #3 | 278216
[Avatar]
ngtrongtri
Member

[Minus]    0    [Plus]
Joined: 27/03/2012 22:54:13
Messages: 114
Offline
[Profile] [PM]
Đây anh

Code:
[Rahul@394134-db1 ~]$ zip -v
Copyright (C) 1990-2005 Info-ZIP
Type 'zip "-L"' for software license.
This is Zip 2.31 (March 8th 2005), by Info-ZIP.
Currently maintained by Onno van der Linden. Please send bug reports to
the authors using http://www.info-zip.org/zip-bug.html; see README for details.

Latest sources and executables are at ftp://ftp.info-zip.org/pub/infozip, as of
above date; see http://www.info-zip.org for other sites.

Compiled with gcc 4.1.2 20071124 (Red Hat 4.1.2-42) for Unix (Linux ELF) on Jul  8 2008.

Zip special compilation options:
        USE_EF_UT_TIME
        [encryption, version 2.9 of 22 April 2000]
Encryption notice:
        The encryption code of this program is not copyrighted and is
        put in the public domain.  It was originally written in Europe
        and, to the best of our knowledge, can be freely distributed
        in both source and object forms from any country, including
        the USA under License Exception TSU of the U.S. Export
        Administration Regulations (section 740.13(e)) of 6 June 2002.

Zip environment options:
             ZIP:  [none]
          ZIPOPT:  [none]
[Up] [Print Copy]
  [Question]   Error zip I/O error: No such file or directory khi zip trên RedHat 22/08/2013 10:54:07 (+0700) | #4 | 278217
[Avatar]
quanta
Moderator

Joined: 28/07/2006 14:44:21
Messages: 7265
Location: $ locate `whoami`
Offline
[Profile] [PM]
Lên `info-zip.org`, download và compile bản mới nhất để có thể nén file lớn hơn 4 GB (ZIP64_SUPPORT):

Code:
# /usr/local/bin/zip -v
Copyright (c) 1990-2008 Info-ZIP - Type 'zip "-L"' for software license.
This is Zip 3.0 (July 5th 2008), by Info-ZIP.
Currently maintained by E. Gordon.  Please send bug reports to
the authors using the web page at www.info-zip.org; see README for details.

Latest sources and executables are at ftp://ftp.info-zip.org/pub/infozip,
as of above date; see http://www.info-zip.org/ for other sites.

Compiled with gcc 4.1.2 20080704 (Red Hat 4.1.2-52) for Unix (Linux ELF) on Aug 22 2013.

Zip special compilation options:
        USE_EF_UT_TIME       (store Universal Time)
        BZIP2_SUPPORT        (bzip2 library version 1.0.3, 15-Feb-2005)
            bzip2 code and library copyright (c) Julian R Seward
            (See the bzip2 license for terms of use)
        SYMLINK_SUPPORT      (symbolic links supported)
        LARGE_FILE_SUPPORT   (can read and write large files on file system)
        ZIP64_SUPPORT        (use Zip64 to store large files in archives)
        UNICODE_SUPPORT      (store and read UTF-8 Unicode paths)
        STORE_UNIX_UIDs_GIDs (store UID/GID sizes/values using new extra field)
        UIDGID_NOT_16BIT     (old Unix 16-bit UID/GID extra field not used)
        [encryption, version 2.91 of 05 Jan 2007] (modified for Zip 3)

Encryption notice:
        The encryption code of this program is not copyrighted and is
        put in the public domain.  It was originally written in Europe
        and, to the best of our knowledge, can be freely distributed
        in both source and object forms from any country, including
        the USA under License Exception TSU of the U.S. Export
        Administration Regulations (section 740.13(e)) of 6 June 2002.

Zip environment options:
             ZIP:  [none]
          ZIPOPT:  [none]
Let's build on a great foundation!
[Up] [Print Copy]
  [Question]   Error zip I/O error: No such file or directory khi zip trên RedHat 22/08/2013 13:29:49 (+0700) | #5 | 278219
[Avatar]
ngtrongtri
Member

[Minus]    0    [Plus]
Joined: 27/03/2012 22:54:13
Messages: 114
Offline
[Profile] [PM]
Cảm ơn anh smilie. Hiện tại em đã giải quyết bằng cách dùng lệnh tar -czvf để nén.
[Up] [Print Copy]
[digg] [delicious] [google] [yahoo] [technorati] [reddit] [stumbleupon]
Go to: 
 Users currently in here 
1 Anonymous

Powered by JForum - Extended by HVAOnline
 hvaonline.net  |  hvaforum.net  |  hvazone.net  |  hvanews.net  |  vnhacker.org
1999 - 2013 © v2012|0504|218|