Applying patch or upgrade fails after hardening RSA Authentication Manager appliance
Originally Published: 2018-11-26
Article Number
Applies To
RSA Product/Service Type: Authentication Manager
RSA Version/Condition: 8.x
Issue
INFO: Retrieving platform specification. Exception in thread "main" : exec returned: 1
at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:646)
at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:672)
at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:498)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at PatchUtils.execCommand(PatchUtils.groovy:575)
at PatchUtils$execCommand.callCurrent(Unknown Source)
at PatchUtils.setCurrentPlatformSpec(PatchUtils.groovy:887)
at PatchUtils$setCurrentPlatformSpec.call(Unknown Source)
at PatchUtils.initPatchProperties(PatchUtils.groovy:101)
at PatchUtils$initPatchProperties.call(Unknown Source)
at UpdateRollback$_preUpdate_closure1.doCall(UpdateRollback.groovy:14)
at UpdateRollback$_preUpdate_closure1.doCall(UpdateRollback.groovy)
at Utils.withArtifacts(Utils.groovy:48) at Utils$withArtifacts.call(Unknown Source)
at UpdateRollback.preUpdate(UpdateRollback.groovy:11)
at com.rsa.plugins.install.GroovyInstallEngine.invokeScript(GroovyInstallEngine.groovy:68)
at com.rsa.plugins.install.GroovyInstallEngine$_runTask_closure2.doCall(GroovyInstallEngine.groovy:57)
at com.rsa.plugins.install.GroovyInstallEngine.runTask(GroovyInstallEngine.groovy:56)
at com.rsa.plugins.install.GroovyInstallEngine$_runTasks_closure3.doCall(GroovyInstallEngine.groovy:106)
at com.rsa.plugins.install.GroovyInstallEngine.runTasks(GroovyInstallEngine.groovy:105)
at com.rsa.plugins.install.GroovyInstallEngine$runTasks.call(Unknown Source)
at com.rsa.plugins.install.CommandLineInstallEngine.main(CommandLineInstallEngine.groovy:40) Configuration step UpdateRollback:preUpdate [FAILED]
[ERROR] Error: Failed to invoke update engine: Failed to prepare the update.
java.lang.Exception: Failed to prepare the update.
at com.rsa.am.updateengine.tasks.BaseUpdateEngineTask.doExecute(BaseUpdateEngineTask.java:56)
at com.rsa.am.updateengine.tasks.Task.execute(Task.java:136)
at com.rsa.am.updateengine.components.impl.TaskManagerImpl.doExecuteTask(TaskManagerImpl.java:86)
at com.rsa.am.updateengine.components.impl.TaskManagerImpl.execute(TaskManagerImpl.java:41)
at com.rsa.am.updateengine.components.impl.UpdateInstallerImpl.run(UpdateInstallerImpl.java:29)
[INFO] Invoking config engine goal UpdateRollback:postUpdate 0 2018-11-05 10:11:26,680
INFO: Arguments: [UpdateRollback.postUpdate] 2396 2018-11-05 10:11:29,076
INFO: Will not attempt to fix line endings in patch source files 2444 2018-11-05 10:11:29,124
INFO: Script source dir: /tmp/rsa_update/installer/config/src/scripts 2444 2018-11-05 10:11:29,124
INFO: Patch Script source dir: /tmp/rsa_update/iso/rsa/scripts 2974 2018-11-05 10:11:29,654
INFO: Reading configuration from Config.groovy 4326 2018-11-05 10:11:31,006
INFO: Running task UpdateRollback.postUpdate 12155 2018-11-05 10:11:38,835
INFO: Executing free 12611 2018-11-05 10:11:39,291
INFO: output::: total used free shared buffers cached Mem: 8184876 7938344 246532 81356 39244 3050428 -/+ buffers/cache: 4848672 3336204 Swap: 4193276 26552 4166724 12611 2018-11-05 10:11:39,291
INFO: else condition output::: total used free shared buffers cached Mem: 8184876 7938344 246532 81356 39244 3050428 -/+ buffers/cache: 4848672 3336204 Swap: 4193276 26552 4166724 12633 2018-11-05 10:11:39,313
INFO: Total Memory: 8184876 KB 12660 2018-11-05 10:11:39,340 INFO: Using memory category 8GB 12792 2018-11-05 10:11:39,472
INFO: Patch execution mode is set to: PRE_PHASE_FAILED 12993 2018-11-05 10:11:39,673
INFO: Performing postUpdate task DeleteWeblogicServerCache (Delete Weblogic caches) 12993 2018-11-05 10:11:39,673
INFO: Skipping Delete_Weblogic_caches due to services still running condition 12994 2018-11-05 10:11:39,674
INFO: Performing postUpdate task ServiceControl (Start All Services) 13001 2018-11-05 10:11:39,681
INFO: Executing /opt/rsa/am/server/rsaserv start all on command line 22946 2018-11-05 10:11:49,626
INFO: Removing temporary file with patch properties /tmp/patch-properties.tmp Configuration step UpdateRollback:postUpdate [SUCCESS]
Cause
Resolution
- Change the rsaadmin password through the Operations Console (Administration > Operating system access > Change Operating System Password).
- After changing the password, take a backup and then proceed with applying the patch or upgrade again.
Related Articles
Database reindex required after applying Authentication Manager 8.7 SP1 and Authentication Manager 8.7 SP1 patch 1 due to … 699Number of Views Authentication Manager 8.5 upgrade to 8.6 fails with error: Unactivated changes are present in the WebLogic Server config.xml 1.31KNumber of Views Authentication Manager 8.x upgrade fails with error "Failed to launch the update installer to apply the update" 551Number of Views RADIUS server not found and/or RADIUS server cannot be managed after upgrade to Authentication Manager 8.6 or 8.7 795Number of Views RSA Authentication Manager 8.1 primary instance fails to upgrade to 8.2 with error: Replication flush failed 1.09KNumber of Views
Trending Articles
Quick Setup Guide - Passwordless Authentication in Windows MFA Agent for Active Directory RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide RSA Authentication Manager 8.9 Release Notes (January 2026) Mandatory Certificate Upgrade Required by 6th October 2025 for RSA MFA Agent for PAM, RSA MFA Agent for Apache, and Third …
Don't see what you're looking for?