IBM Support

Content Engine install on AIX returns Invalid argument error for gzip

Troubleshooting


Problem

FileNet Content Platform Engine (CPE) 5.2 installation on AIX returns the following error for gzip: gzip: /opt/FileNet/install.dir.7143436/AIX/resource/vm.tar: Invalid argument

Symptom

The following error is returned by the P8 CPE 5.2 installer:

> ./5.2.0-P8CE-AIX.BIN
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
gzip: /opt/FileNet/install.dir.7143436/AIX/resource/vm.tar: Invalid argument
/opt/FileNet/install.dir.7143436/AIX/resource/vm.tar.Z: No such file or directory
gzip: /opt/FileNet/install.dir.7143436/AIX/resource/vm.tar.Z: No such file or directory
The included VM could not be uncompressed (GZIP/UNCOMPRESS). Please try to
download the installer again and make sure that you download using 'binary'
mode. Please do not attempt to install this currently downloaded copy.

Cause

There were two versions of gzip installed on the AIX server.

$ /bin/gzip -V
gzip 1.2.4 (18 Aug 93)

$ /usr/local/bin/gzip -V
gzip 1.3.9

The P8 5.2 documentation points shows support for gzip 1.2.4a-10. The version gzip 1.2.4 is also supported. The cause of the error was due to the PATH variable set to use the 1.3.9 version in /usr/local/bin/gzip. There is login in the installer with sets a variable called GZIP_CMD set to /bin/gzip if it exists, but it is not used in the initial call by the installer to gzip.

Environment

P8 CPE 5.2
AIX 7.1.0.0

Resolving The Problem

Only the supported version of gzip should be used (1.2.4 / 1.2.4a-10) and should be in /bin.
The PATH variable for the user installing CE needs to be set up to access /bin/gzip.
If there is more than one version on gzip on the server, only the supported version can be used. The PATH variable should be set and version 1.2.4 / 1.2.4a-10 should be found by the "which" command.
The installer will also look for gzip in the /bin, /usr/bin and /usr/sbin directories (in that order), so the correct version should be in one of those directories.

[{"Product":{"code":"SSNW2F","label":"FileNet P8 Platform"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Content Engine","Platform":[{"code":"PF002","label":"AIX"}],"Version":"5.2","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 June 2018

UID

swg21682806