search cancel

Agent 11.3 (32-bit) silent upgrade failed

book

Article ID: 202603

calendar_today

Updated On:

Products

Workload Automation Agent

Issue/Introduction

I am upgrading 11.3 32-bit agent using silent upgrade method and failed. I turned on debugging and I'm getting these errors:

 
$ sudo /tmp/setup.bin -i silent -DACCEPT_EULA=ACCEPT -DAGENT_UPGRADE_PATH=/opt/ESP -DUSE_BUNDLED_JVM=true -DUPGRADE_BACKUP_LOCATION=/tmp/ESPbackup
No of blocks of size 8192 to extract for custom unix file : 1
Extracting locale bundle from /tmp/setup.bin to /home/u277714/ESP/custom_padded ...
Extracting done, exit code = 1
Extracting locale bundle from /home/u277714/ESP/custom_padded to /home/u277714/ESP/custom ...
 Extracting done, exit code = 1
Checking for POSIX df.
Found POSIX df.
Checking tail options...
Using tail -n 1.
True location of the self extractor: /tmp/setup.bin
Creating installer data directory: /tmp/install.dir.85020
Creating installer data directory: /tmp/install.dir.85020/InstallerData
Gathering free-space information...
Space needed to complete the self-extraction: 817008 blocks
Available space: 6197792 blocks
Available blocks: 6197792    Needed blocks: 817008 (block = 512 bytes)
Computed number of blocks to extract: 1471
Extracting JRE from /tmp/setup.bin to /tmp/install.dir.85020/Linux/resource/jre_padded ...
Extracting done, exit code = 0
Extracting JRE from /tmp/install.dir.85020/Linux/resource/jre_padded to /tmp/install.dir.85020/Linux/resource/vm.tar.Z ...
 Extracting done, exit code = 0
Unpacking the JRE...
gzip is /bin/gzip
 
gzip: /tmp/install.dir.85020/Linux/resource/vm.tar.Z: not in gzip format
 GZIP failed, attempting UNCOMPRESS.
/tmp/install.dir.85020/Linux/resource/vm.tar.Z: not in compressed format
 UNCOMPRESS failed.
 
gzip: /tmp/install.dir.85020/Linux/resource/vm.tar.Z: not in gzip format
 GZIP failed.
 
+ echo 15
15
 
 

Environment

Release : 12.0

Component : CA Workload Automation System Agent

Cause

The agent 12.0 silent upgrade may fail when upgrading a 32-bit agent to a 64-bit agent with warning messages.

Resolution

The agent silent upgrade requires the property AGENT_UPGRADE_FORCE set to true in the silent installer properties file. For example;

INSTALLER_UI=SILENT
ACCEPT_EULA=ACCEPT
AGENT_UPGRADE_PATH=/opt/ESP
USE_BUNDLED_JVM=true
AGENT_UPGRADE_FORCE=true
UPGRADE_BACKUP_LOCATION=/tmp/ESPbackup
#UPGRADE_ACTIVEJOB_CHECK=true

 

Or, you can set the property AGENT_UPGRADE_FORCE to true from the command prompt;

$ sudo ./setup.bin -i silent -DACCEPT_EULA=ACCEPT -DAGENT_UPGRADE_PATH=/opt/ESP -DUSE_BUNDLED_JVM=true -DAGENT_UPGRADE_FORCE=true -DUPGRADE_BACKUP_LOCATION=/tmp/ESPbackup

 

 

Additional Information

Install or Upgrade the Agent Using a Silent Installer