Troubleshooting: Unable to use the unzip command to decompress downloaded e-images
After transferring an e-image to a Linux or Solaris system, you are unable to use the unzip command to unzip the e-image zip file.
Problem
When using the unzip command on Linux or Solaris to decompress an e-image, you receive the following error: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.
Solution
The problem occurs because the version of your unzip command is too old (5.52 of 28 February 2005) and cannot handle zip files that are greater than 2 GB in size. To solve the problem, you can use the jar command found in WAS_installdir/java/bin to successfully decompress the e-image zip file.For example, if the
e-image zip file is in /mytmpdir, then go to
the /mytmpdir directory and issue the following
command:
/WAS_installdir/java/bin/jar xvf e-image.zip
If
you used the jar command to decompress the e-image zip file, the file
permissions of the extracted files will be removed. You must use the chmod
+x
command to add the execute bit back to the following files,
so that you can run the feature pack installer: - install_server.sh
- server/install
- /server/FEP3/install.aix.ppc
- /server/FEP3/install.linux.ia32
- /server/FEP3/install.linux.ppc
- /server/FEP3/install.linux.s390
- /server/FEP3/install.solaris.sparc
Alternatively,
you solve the problem using one of the following methods:
- For feature packs, use the feature pack only package since you will not need the combined package that contains the WebSphere Commerce Developer fix packs.
- Upgrade your unzip command to a version that supports greater than 2 GB zip files.
A bug report for this problem is tracked at https://bugzilla.redhat.com/show_bug.cgi?id=429674 and https://bugzilla.redhat.com/show_bug.cgi?id=497482.