Authentication Manager 8.5 to 8.6 Pre-Migration Script Fails
a month ago
Article Number
000072140
Applies To
  • RSA Product Set: RSA SecurID
  • Product/Service Type: Authentication Manager
  • Version: 8.5.x
  • Component: RADIUS Pre-Migration Script
Issue

When attempting to run the RADIUS pre-migration script before upgrading Authentication Manager from 8.5 to 8.6, the script fails immediately with a file not found error. The same error also appears in the upgrade log if the upgrade is attempted without successfully completing the pre-migration script.

Observable symptoms include:

  • The pre-migration script exits with an error and does not complete
  • The 8.5 to 8.6 upgrade fails at the pre-update stage

 

When running the pre-migration script, the following error is returned:

ERROR: java.io.FileNotFoundException: /opt/rsa/am/utils/etc/radius_migration.properties (No such file or directory)

When attempting the upgrade, the following error appears in the upgrade log:

39111  2024-04-04 15:33:48,721 ERROR: java.io.FileNotFoundException: /opt/rsa/am/utils/etc/radius_migration.properties (No such file or directory)
Exception in thread "main" java.io.FileNotFoundException: /opt/rsa/am/utils/etc/radius_migration.properties (No such file or directory)
  at UpdateRollback.preUpdate_InvokeGroovy_RADIUS_Premigration(UpdateRollback.groovy:263)
  at UpdateRollback$_preUpdate_closure1.doCall(UpdateRollback.groovy:23)
  at UpdateRollback$_preUpdate_closure1.doCall(UpdateRollback.groovy)
  at Utils.withArtifacts(Utils.groovy:48)
  at Utils$withArtifacts$5.call(Unknown Source)
  at UpdateRollback.preUpdate(UpdateRollback.groovy:12)
  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]
Cause

The /opt/rsa/am/radius-migration directory has incorrect ownership — it is owned by root instead of rsaadmin.

Resolution
  1. Log in to the Authentication Manager server via SSH or the console as rsaadmin.
    NOTE: If SSH is not enabled on your appliance, follow Enable Secure Shell on the Appliance to enable it before proceeding. 
  2. Navigate to the Authentication Manager directory: 
    cd /opt/rsa/am
  3. Check the current ownership of the radius-migration directory:
    ls -la | grep radius-migration
    

    Expected output — if ownership is incorrectly set to root, you will see: 
    drwxr-xr-x  root  root  radius-migration
  4. Correct the ownership of the directory:
    chown rsaadmin:rsaadmin radius-migration
  5. Verify the ownership has been updated:

    ls -la | grep radius-migration

    Expected output:

    
    
    drwxr-xr-x  rsaadmin  rsaadmin  radius-migration
  6. Re-run the pre-migration script and verify it completes successfully before proceeding with the upgrade.
Notes