Authentication Manager database services do not to start after power outage
2 years ago
Article Number
000067924
Applies To
RSA Product Set: SecurID
RSA Product/Service Type: Authentication Manager
RSA Version/Condition: 8.4
Issue
The primary-only environment had a power outage, after which the Authentication Manager database services would not start. A  reboot of the hardware appliance was required.
Cause
In normal circumstances when the Authentication Manager services are stopped, the /opt/rsa/am/rsapgdata/postmaster.pid file is removed. It is created again when the services restart. In this case, the file was not deleted, causing the services to fail to start.
Resolution
To resolve the issue, 
  1. Log on to the appliance using an SSH client.
  2. When prompted, enter the operating system user ID and the operating system account password.
  3. Change directories to /opt/rsa/am/rsapgdata/
  4. Run ls to see the files in the directory.
login as: rsaadmin
Using keyboard-interactive authentication.
Password: <enter 
Last login: Mon Jul 25 12:31:28 2022 from 192.168.20.100
RSA Authentication Manager Installation Directory: /opt/rsa/am
rsaadmin@am84p:~> cd /opt/rsa/am/rsapgdata/
rsaadmin@am84p:/opt/rsa/am/rsapgdata> ls postmaster.pid
postmaster.pid
  1. If postmaster.pid exists, remove it:
rsaadmin@am84p:/opt/rsa/am/rsapgdata> rm postmaster.pid
rsaadmin@am84p:/opt/rsa/am/rsapgdata>
  1. Navigate to cd /opt/rsa/am/pgsql/bin and run the following command:
rsaadmin@am84p:/opt/rsa/am/rsapgdata> cd /opt/rsa/am/pgsql/bin
rsaadmin@am84p:/opt/rsa/am/pgsql/bin> ./postgres -D /opt/rsa/am/rsapgdata
  1. Go to /opt/rsa/am/rsapgdata and make sure that postmaster.pid is not there:
rsaadmin@am84p:/opt/rsa/am/pgsql/bin> cd /opt/rsa/am/rsapgdata/
rsaadmin@am84p:/opt/rsa/am/rsapgdata> ls 
base                          pg_hba.conf.bk  pg_twophase
current_logfiles              pg_ident.conf   PG_VERSION
global                        pg_logical      pg_wal
log                           pg_multixact    pg_xact
memory_tuned_params_16G.conf  pg_notify       postgresql.auto.conf
memory_tuned_params_4G.conf   pg_replslot     postgresql-back.conf
memory_tuned_params_8G.conf   pg_serial       postgresql.conf
memory_tuned_params.conf      pg_snapshots    postmaster-backup.opts
pg_commit_ts                  pg_stat         postmaster.opts
pg_dynshmem                   pg_stat_tmp     server.crt
pg_hba-back.conf              pg_subtrans     server.key
pg_hba.conf                   pg_tblspc
  1. Finally, restart the Authentication Manager services:
rsaadmin@am84p:/opt/rsa/am/rsapgdata> cd /opt/rsa/am/server
rsaadmin@am84p:/opt/rsa/am/server> ./rsaserv stop all
Stopping RSA RADIUS Server: *
RSA RADIUS Server                                          [SHUTDOWN]
Stopping RSA Runtime Server: ****
RSA Runtime Server                                         [SHUTDOWN]
Stopping RSA Console Server: **
RSA Console Server                                         [SHUTDOWN]
Stopping RSA Replication (Primary): **
RSA Replication (Primary)                                  [SHUTDOWN]
Stopping RSA Database Server:
RSA Database Server                                        [SHUTDOWN]
Stopping RSA RADIUS Server Operations Console: **
RSA RADIUS Server Operations Console                       [SHUTDOWN]
Stopping RSA Administration Server with Operations Console: *
RSA Administration Server with Operations Console          [SHUTDOWN]
rsaadmin@am84p:/opt/rsa/am/server> ./rsaserv start all
Starting RSA Administration Server with Operations Console:
Starting RSA Database Server: ***************************
RSA Administration Server with Operations Console          [RUNNING]
Starting RSA RADIUS Server Operations Console: / RSA Database Server                                        [RUNNING]                                         **********************
RSA RADIUS Server Operations Console                       [RUNNING]
Starting RSA Runtime Server: *************************************
RSA Runtime Server                                         [RUNNING]
Starting RSA RADIUS Server: *
RSA RADIUS Server                                          [RUNNING]
Starting RSA Console Server: *
Starting RSA Replication (Primary): *****
RSA Replication (Primary)                                  [RUNNING]**************************************
RSA Console Server                                         [RUNNING]
rsaadmin@am84p:/opt/rsa/am/server>
  1. If you then go back to /opt/rsa/am/rsapgdata/, you will see the postmaster.pid is in the directory.
rsaadmin@am84p:/opt/rsa/am/server> cd /opt/rsa/am/rsapgdata/
rsaadmin@am84p:/opt/rsa/am/rsapgdata> ls *.pid
postmaster.pid