RSA Product/Service Type: Authentication Manager
RSA Version/Condition: 8.1 or later
The RSA Replication (Primary) service on the Authentication Manager primary server enters a SHUTDOWN state. Attempts to restart the service manually fail immediately.
Observable symptoms:
- Replication failures are observed across the deployment
- When checking service status, all services show as
RUNNINGexcept RSA Replication(Primary), which shows as FAILED or SHUTDOWN: - Manually restarting the primary replication service returns a FAILED result .
cd /opt/rsa/am/server/ ./rsaserv restart primary_replication Starting RSA Replication (Primary) ******************** RSA Replication (Primary) [FAILED]
- The /opt/rsa/am/server/logs/PrimaryReplication.log reports the error:
@@@2018-01-15 23:14:48,897 FATAL [WrapperSimpleAppMain ]
Service.start(98) | <primary_hostname>,,,,Unhandled exception during service start.
java.lang.RuntimeException: Could not acquire lock. Another instance of this service may be running. Aborting...
at com.rsa.replication.util.SingleProcessLock.<init>(SingleProcessLock.java:37)
at com.rsa.replication.util.Service.start(Service.java:91)
at com.rsa.replication.PrimaryReplicationService.main(PrimaryReplicationService.java:136)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:248)
at java.lang.Thread.run(Thread.java:680)When the Authentication Manager server runs out of disk space, the Primary Replication Service crashes unexpectedly and leaves a stale PrimaryReplicationService.lock file in the wrapper directory. On the next start attempt, the service detects the lock file, assumes another instance is already running, and aborts with the error Could not acquire lock.
This commonly occurs when oversized system log files accumulate in /opt/rsa/am/server/, consuming available disk space until the replication service can no longer operate. For guidance on identifying and resolving large log file accumulation, refer to 000041985 — RSA Authentication Manager 8.x: Large Disk Space Used by Logs — that article covers how to verify archive log placement and reclaim disk space.
NOTE: If you have already confirmed there is no disk space issue, skip Part 1 and proceed directly to Part 2.
Part 1: Check and Free Disk Space
- Log in to the Authentication Manager primary server via SSH as
rsaadmin. - Check current disk usage:Review the output. If the root filesystem (
/) is at 90% or higher, disk space exhaustion is likely the cause. - Identify large log files in the server directory:
rsaadmin@am:~> ls -lah /opt/rsa/am/server | grep '[0-9][G|M]' total 910M -rw------- 1 rsaadmin rsaadmin 151M Mar 1 01:00 system_2017-11-19_0.log -rw------- 1 rsaadmin rsaadmin 159M Mar 2 01:00 system_2017-11-20_0.log -rw------- 1 rsaadmin rsaadmin 156M Mar 3 01:00 system_2017-11-21_0.log -rw------- 1 rsaadmin rsaadmin 175M Mar 4 01:00 system_2017-11-22_0.log -rw------- 1 rsaadmin rsaadmin 269M Mar 5 01:00 system_2017-11-23_0.log - CAUTION: The following step permanently deletes log files. Confirm the files are no longer needed before proceeding. Consider archiving them to an external location if retention is required.
- Delete the oversized log files identified in Step 3. Replace the filename pattern with the actual files from your environment:
rm /opt/rsa/am/server/system_2017-11-2[0-3]_0.log - Re-run the disk check to confirm sufficient space has been freed: df -h
Part 2: Delete the Stale Lock File and Restart the Replication Service
- Navigate to the wrapper directory:
cd /opt/rsa/am/server/wrapper - Delete the stale lock file:
rm PrimaryReplicationService.lock - Navigate to the server directory:
cd /opt/rsa/am/server/ - Restart the Primary Replication service:
./rsaserv restart primary_replication - Confirm the service starts successfully. Expected output:
Starting RSA Replication (Primary) ******************** RSA Replication (Primary) [RUNNING] - Log in to the Operations Console.
- From the Home tab, click the Replication Status Report link.
- If replication is shown as out of sync, click the Sync link.
Verification: Confirm the Replication Status Report shows a status of Normal for all replica instances.
Related Articles
Permanent Shutdown of Non-Company-Specific URLs 17Number of Views RSA Replication Service fails to start on RSA Authentication Manager 8.x primary 752Number of Views Replication Status 247Number of Views RSA Authentication Manager 8.1 primary instance fails to upgrade to 8.2 with error: Replication flush failed 1.09KNumber of Views Replication Showing Internal Replication Error During Upgrade to RSA Authentication Manager 8.2 1.01KNumber of Views
Trending Articles
RSA Authentication Manager 8.9 Setup and Configuration Guide RSA Authentication Manager 8.9 Release Notes (January 2026) RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide How to 'Trust' the RSA Authentication Manager Security Console Self-Signed Root CA certificate and prevent Cert warnings. RSA Authentication Manager Upgrade Process