You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Naresh Kumar Geepalem (JIRA)" <ji...@apache.org> on 2016/12/26 15:08:58 UTC

[jira] [Updated] (SOLR-9892) Core is locked

     [ https://issues.apache.org/jira/browse/SOLR-9892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Naresh Kumar Geepalem updated SOLR-9892:
----------------------------------------
    Description: 
Hi Team,

We have setup of one master and two slaves. One master and one slave in one server (same JVM) and another slave in different server. This setup is working fine from past 6 months including production environment.

Slave replication poll interval is 20 seconds on both slaves.

Now, we are facing below issue in master solr.

org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Index dir 'D:\inetpub\wwwroot\CMS-Solr\Solr\solr-5.4.1\server\solr\sitecore_marketing_asset_index_master\data\index/' of core 'sitecore_marketing_asset_index_master' is already locked. The most likely cause is another Solr server (or another solr core in this server) also configured to use this directory; other possible causes may be specific to lockType: native                                sitecore_web_index: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Index dir 'D:\inetpub\wwwroot\CMS-Solr\Solr\  

We have stopped both slaves and restarted master. Still same issue is coming. We have deleted write.lock file from all cores under data/index.
Then "site cant be reached" message is showing when access solr url.

Can some one please provide information on how to fix this as we are struck with this issue during UAT?


Thanks,
G. Naresh Kumar

  was:
Hi Team,

We have setup of one master and two slaves. One master and one slave one server (same JVM) and another slave in different server. This setup is working fine from past 6 months including production environment.

Now, we are facing below issue in master solr.

org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Index dir 'D:\inetpub\wwwroot\CMS-Solr\Solr\solr-5.4.1\server\solr\sitecore_marketing_asset_index_master\data\index/' of core 'sitecore_marketing_asset_index_master' is already locked. The most likely cause is another Solr server (or another solr core in this server) also configured to use this directory; other possible causes may be specific to lockType: native                                sitecore_web_index: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Index dir 'D:\inetpub\wwwroot\CMS-Solr\Solr\  

We have stopped both slaves and restarted master. Still same issue is coming. We have deleted write.lock file from all cores under data/index.
Then "site cant be reached" message is showing when access solr url.

Can some one please provide information on how to fix this as we are struck with this issue during UAT?


Thanks,
G. Naresh Kumar


> Core is locked
> --------------
>
>                 Key: SOLR-9892
>                 URL: https://issues.apache.org/jira/browse/SOLR-9892
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>         Environment: UAT
>            Reporter: Naresh Kumar Geepalem
>
> Hi Team,
> We have setup of one master and two slaves. One master and one slave in one server (same JVM) and another slave in different server. This setup is working fine from past 6 months including production environment.
> Slave replication poll interval is 20 seconds on both slaves.
> Now, we are facing below issue in master solr.
> org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Index dir 'D:\inetpub\wwwroot\CMS-Solr\Solr\solr-5.4.1\server\solr\sitecore_marketing_asset_index_master\data\index/' of core 'sitecore_marketing_asset_index_master' is already locked. The most likely cause is another Solr server (or another solr core in this server) also configured to use this directory; other possible causes may be specific to lockType: native                                sitecore_web_index: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Index dir 'D:\inetpub\wwwroot\CMS-Solr\Solr\  
> We have stopped both slaves and restarted master. Still same issue is coming. We have deleted write.lock file from all cores under data/index.
> Then "site cant be reached" message is showing when access solr url.
> Can some one please provide information on how to fix this as we are struck with this issue during UAT?
> Thanks,
> G. Naresh Kumar



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org