AFX Connectors remain in a Deployed state, mmc-console fails to start and 'Unable to initialize query handler' acccessing the SearchIndex in RSA Identity Governance & Lifecycle
Originally Published: 2019-11-08
Last Modified: 2022-06-20
Article Number
Applies To
RSA Version/Condition: 7.0.x, 7.1.x, 7.2.x
Issue
The AFX command line tool (afx status) shows the AFX Server as active (even though it is not fully functional as indicated by errors in the AFX log files.)
The $AFX_HOME/esb/logs/esb.AFX-MAIN.log has a Failed to get flows for server error which indicates that mmc-console cannot be reached.
2019-11-08 04:39:31.397 [ERROR] com.aveksa.afx.server.manager.MMCRequestManagerImpl:136 - Unable to get status for all Connectors from MMC
com.aveksa.afx.server.manager.MMCException: Failed to get flows for server. No associated server Id. Check Request Manager Initialization
The $AFX_HOME/mmc-console/logs/catalina.out file which logs information about the deployment of the mmc-console shows that the deployment of the mmc-console failed:
Nov 08, 2019 9:21:57 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file
The $AFX_HOME/mmc-console/logs/mmc-console-app.log shows the failure is Unable to initialize the query handler when attempting to access the SearchIndex.
07 Nov 2019 14:14:51 [localhost-startStop-1] ERROR org.apache.jackrabbit.core.RepositoryImpl - Failed to initialize workspace 'default'
javax.jcr.RepositoryException: Unable to initialize query handler: org.apache.jackrabbit.core.query.lucene.SearchIndex@474b01a7Cause
The AFX Connectors fail to deploy because mmc-console (part of the AFX Server) has failed to start. The mmc-console collects connector information in order for the connectors to run. If mmc-console fails to start, then the connector information is never collected and the connectors cannot move from Deployed to Running.
Mmc-console has failed to start because the indexes for the internal database used by the mmc-console are corrupted as indicated by the SearchIndex errors.
This issue may occur upon AFX startup if the previously running AFX instance was not shutdown cleanly.
Resolution
As the AFX user, login to the server and perform the following steps:
mv /home/oracle/AFX/mmc-console/mmc-data/workspaces/default/index /home/oracle/AFX/mmc-console/mmc-data/workspaces/default/index_mmddyyyy mv /home/oracle/AFX/mmc-console/mmc-data/repository/index /home/oracle/AFX/mmc-console/mmc-data/repository/index_mmddyyyy
Workaround
Related Articles
RSA Identity Governance & Lifecycle fails to start with "Unable to get avdb connection" message 904Number of Views RSA Authentication Agent 2.0 for Citrix StoreFront Administrator's Guide 34Number of Views Unable to authenticate to RADIUS server from SonicWALL RADIUS client in RSA Authentication Manager 8.x 568Number of Views Unable to Install/Upgrade RSA MFA agent for Microsoft Windows 262Number of Views Unable to restart the RSA Authentication Manager services 151Number of Views
Trending Articles
How to manipulate imported RSA SecurID Software Token(s) on an iPhone or iPad device Report preview and/or generation fails with 'java.lang.NoClassDefFoundError: Could not initialize class net.sf.jasperrepor… How to set up the REST RSA SecurID Authentication API for Authentication Manager 8.2 SP1 RSA Authentication Manager 8.9 Patches and Hotfixes Readme RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide
Don't see what you're looking for?