AFX Connectors remain in a Deployed state and 'Could not locate data file kahadb/db-XXX.log' error in RSA Identity Governance & Lifecycle
Originally Published: 2015-04-19
Article Number
Applies To
RSA Version/Condition: 6.9.x, 7.x
Issue
The AFX Server is in a Running state but all previously working RSA Identity Governance & Lifecycle AFX Connectors are stuck in a Deployed state and do not progress to a Running state. For example,
A restart of AFX, RSA Identity Governance & Lifecycle, and even a system reboot does not fix the problem.
The $AFX_HOME/activemq/data/activemq.log has an error similar to this:
ERROR | Looking for key 284 but not found in fileMap: {307=db-307.log number = 307 , length = 1951190}
| org.apache.kahadb.journal.Journal | main
2014-12-22 11:09:33,857 | ERROR | Failed to start ActiveMQ JMS Message Broker.
Reason: java.io.IOException: Could not locate data file /home/oracle/AFX/activemq/data/kahadb/db-284.logCause
The key message in the $AFX_HOME/activemq/data/activemq.log is this message (Note the AFX user is oracle in this case):
Could not locate data file /home/oracle/AFX/activemq/data/kahadb/db-284.log
KahaDB is a file-based persistence database used by ActiveMQ. In this case, ActiveMQ is unable to find the persistence database (db-XXX.log). This means the KahaDB database is corrupt.
We have seen the KahaDB database become corrupted on a system that ran out of disk space while AFX was actively being used.Resolution
- Clean up disk space. Please see RSA Knowledge Base Article 000027944 -- How to check local file system disk space usage for RSA Identity Governance & Lifecycle and/or contact RSA Identity Governance & Lifecycle Support for assistance on disk space cleanup.
- Login as the AFX user.
- Stop AFX.
- Navigate to the directory where the ActiveMQ KahaDB database exists.
- Touch the db-XXX.log, where XXX is the number of the file that is missing; in this case db-284.log.
- List the directory contents to make sure the file permissions for the file are correct.
- Start AFX.
afx stop cd $AFX_HOME/activemq/data/kahadb/ touch db-XXX.log ls -la -rw-rw-r-- 1 oracle oinstall 0 May 13 2019 db-XXX.log afx start
- If this does not resolve your issue, recreate the persistence database as described in RSA Knowledge Base Article 000038511 -- How to create a new ActiveMQ KahaDB for use with AFX in RSA Identity Governance & Lifecycle.
- If recreating the persistence database does not resolve your issue, the next step would be to download and install the AFX Server Archive. For instructions on how to do this, please see RSA Knowledge Base Article 000037993 - How to download and install the AFX Server Archive in RSA Identity Governance & Lifecycle.
- If downloading and installing the AFX Server Archive does not resolve your issue, please see RSA Knowledge Base Articles 000038029 -- Troubleshooting AFX Connector issues in RSA Identity Governance & Lifecycle and 000038030 -- Troubleshooting AFX Server issues in RSA Identity Governance & Lifecycle for additional articles on resolving AFX issues.
Related Articles
Error: 'Unable to locate a configured Relying Party for target URL' in RSA Federated Identity Manager (FIM) 9Number of Views RSA Certificate Manager installation fails with error "XrcNOTFOUND: unable to locate requested member or object" when sele… 11Number of Views uds.exe ? Unable To Locate Component. This application has failed to start because nsdnsinterface.dll was not found 15Number of Views RSA DLP Network - How to locate operational logs 47Number of Views 'ORA-39246: cannot locate master table within provided dump files' error restoring an RSA Identity Governance & Lifecycle … 35Number of Views
Trending Articles
RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide RSA Authentication Manager 8.9 Release Notes (January 2026) How to install the jTDS JDBC driver on WildFly for use with Data Collections in RSA Identity Governance & Lifecycle RSA Authentication Manager 8.8 Setup and Configuration Guide Artifacts to gather in RSA Identity Governance & Lifecycle
Don't see what you're looking for?