BMC Middleware Management - Administration: Search functionality broken and error message "SolrCore 'bmmadmin' is not available due to init failure:" on the screen, when starting the product under a different user id

Version 1
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    TrueSight Middleware Administrator


    BMC Middleware Management - Administration




    The global search functionality seems to be broken and a Java exception like the one below is seen on the screen:

    {msg=SolrCore 'bmmadmin' is not available due to init failure: Index locked for write for core bmmadmin,trace=org.apache.solr.common.SolrException: SolrCore 'bmmadmin' is not available due to init failure: Index locked for write for core bmmadmin
    at org.apache.solr.core.CoreContainer.getCore(
    at org.apache.solr.servlet.SolrDispatchFilter.doFilter(
    at org.apache.solr.servlet.SolrDispatchFilter.doFilter(
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(


    Caused by: Index locked for write for core bmmadmin
    at org.apache.solr.core.SolrCore.initIndex(
    at org.apache.solr.core.SolrCore.<init>(
    ... 11 more

    Applies to

    BMC Middleware Management - Administration




    Legacy ID:KA424619

    The product used to be run under one user id and was started under a different one


    Make sure that the user id under which the product gets started has full access to all files. This can be achieved by making the user id the owner of all files.

    Additional Information

    Some of the product files get created and changed dynamically at run time and so are owned by the user id that started the product. This may lead to these files being inaccessible to other user ids. Running the product under different user ids should be avoided. If that's not possible, then it needs to be assured that all files can be read, written to, changed, and where required, executed by the new user id.

    Related Products:  
    1. BMC Middleware Management - Administration


    Article Number:


    Article Type:

    Solutions to a Product Problem

      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles