Unable to Unzip Files Bigger than 2GB

Overview

I am unable to unzip files larger than 2GB on Linux (32-bit).

Status

Resolved

References

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

Symptoms

Zip file fails to unzip:

[oracle@gridctrl ~]$ unzip em12103p1_linux_disk3.zip -d em12103p1

unzip: cannot find or open em12103p1_linux_disk3.zip, em12103p1_linux_disk3.zip.zip or em12103p1_linux_disk3.zip.ZIP.

The file exists but it is greater than 2GB in size:

[oracle@gridctrl ~]$ file em12103p1_linux_disk3.zip

em12103p1_linux_disk3.zip: Zip archive data, at least v1.0 to extract

[oracle@gridctrl ~]$ ls -l *.zip

-rw-r--r-- 1 oracle oinstall 1712169939 Jan 23 17:11 em12103p1_linux_disk1.zip

-rw-r--r-- 1 oracle oinstall 1617199342 Jan 23 17:27 em12103p1_linux_disk2.zip

-rw-r--r-- 1 oracle oinstall 2606016969 Jan 23 17:52 em12103p1_linux_disk3.zip

Solution

I had encountered the same error during Start of Upgrade to Cloud Control 12.1.0.2 (#em12cr2). The solution was posted by me in the comments.

As I had already downloaded and set up the software as documented here, all I had to do was to run:

/usr/local/bin/unzip60_lnx /opt/oracle/software/em12103p1_linux_disk3.zip -d /opt/oracle/software/em12103p1