I have a SOLR Master and a Slave running. After upgrading to SOLR 4.10.2, and fixing all other errors, I cannot get pass this one:
RSolr::Error::Http - 500 Internal Server Error Error: {msg=SolrCore 'collection1' is not available due to init failure: Index locked for write for core collection1,trace=org.apache.solr.common.SolrException: SolrCore 'collection1' is not available due to init failure: Index locked for write for core collection1 at org.apache.solr.core.CoreContainer.getCore
I have:
- stopped jetty on both master/slave,
- remove the write.lock file from both machines,
- restart slave,
- restart master.
The issue persists.
I have also tried other solutions, like changing the following into the solrconfig.xml:
<unlockOnStartup>true</unlockOnStartup>
This caused different errors, so I rolled back to (the above part is now commented out.
I have compared the configuration files with an environment that works and they look identical.
Thank you.