Blog dedicated to Oracle Applications (E-Business Suite) Technology; covers Apps Architecture, Administration and third party bolt-ons to Apps

Thursday, April 5, 2012

File too large zip error: Output file write failure

Recently while zipping a few directories for a clone, I got this error when the file size became greater than 2 GB.

File too large

zip error: Output file write failure (write error on zip file)

I tested the file system's ability to create files greater than 2 GB by creating a dummy 3GB file:

dd if=/dev/zero of=3gb-file bs=1024k count=3000

The 3 GB file got created without issues.

Then I checked the zip version.

$ zip -v
Copyright (c) 1990-2006 Info-ZIP - Type 'zip "-L"' for software license.
This is Zip 2.32 (June 19th 2006), 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.

So I checked http://www.info-zip.org

I clicked on the zip link: http://www.info-zip.org/Zip.html and found these lines:

Latest Release
New features in Zip 3.0, released 7 July 2008:


•large-file support (i.e., > 2GB)
•support for more than 65536 files per archive
•multi-part archive support
•bzip2 compression support
•Unicode (UTF-8) filename and (partial) comment support
•difference mode (for incremental backups)
•filesystem-synch mode
•cross-archive copy mode
•extended progress info and logging
•improved archive-fixing support
•improved streaming and piping
•improved command-line parser
•improved Unix FIFO support
•Unix 32-bit UIDs/GIDs (requires UnZip 6.0 to restore)

So I went to www.sunfreeware.com, downloaded zip 3.0 package and installed it on the server. Once zip 3.0 was installed, the zip command succeeded without errors

7 comments:

Facebook Application Developers said...

ok,
next if i get any prob so i will revisit this blog.

Unknown said...

Hi Vikram
Am looking for apps dba course exclusively R12 in hyderabad AP india, please let me know which is best institute to join

Unknown said...

Hi Vikram,
please me on my mail id or on blog about best R12(exclusive) training institute in hyderabad AP india
Thanks
Zavi

Unknown said...

Repair corrupted .zip files due to following software zip file recovery

Giridhar said...

This may be helpful to unzip a file of more that 2gb

Unable to Unzip Enterprise Manager Cloud Control Software [ID 1368910.1]

Giridhar said...

The following note will be helpful to unzip a file more that 2Gb

Unable to Unzip Enterprise Manager Cloud Control Software [ID 1368910.1]

Giridhar said...

This may be helpful to unzip a file of more that 2gb

Unable to Unzip Enterprise Manager Cloud Control Software [ID 1368910.1]