<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi,<br>
<br>
I saw this also. You aren't accidently running cmsshell.sh ?<br>
At least with me here this locking caused cmsshell.sh <br>
to hang and it was so far the showstopper to automate anything
using cmsshell.sh.<br>
<br>
It could also be (vague idea) that solr takes quite a log time
building the index and<br>
while it is building it, the index is locked of course.<br>
<br>
<br>
Am 24.04.2015 um 11:50 schrieb Paul-Inge Flakstad:<br>
</div>
<blockquote
cite="mid:4D405B4872E4E54A95966E6CF909E7F3965385357A@ANTON.nett.npolar"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 12 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:"Arial Unicode MS";
panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@Arial Unicode MS";
panose-1:2 11 6 4 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">During startup, I’m
seeing this exception in opencms.log. Should I be concerned?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Cheers,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Paul<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">24 Apr 2015 11:47:47,732
ERROR [ org.apache.solr.core.SolrCore: 481] [spellcheck]
Solr index directory
'/usr/share/tomcat7/webapps/opencms/WEB-INF/spellcheck/data/index/'
is locked. Throwing exception<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">24 Apr 2015 11:47:47,735
ERROR [apache.solr.core.CoreContainer:1449] Unable to create
core: spellcheck<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">org.apache.solr.common.SolrException:
Index locked for write for core spellcheck<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at
org.apache.solr.core.SolrCore.<init>(SolrCore.java:821)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at
org.apache.solr.core.SolrCore.<init>(SolrCore.java:618)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at
org.apache.solr.core.CoreContainer.createFromLocal(CoreContainer.java:949)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at
org.apache.solr.core.CoreContainer.create(CoreContainer.java:984)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at
org.apache.solr.core.CoreContainer$2.call(CoreContainer.java:597)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at
org.apache.solr.core.CoreContainer$2.call(CoreContainer.java:592)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at
java.util.concurrent.FutureTask.run(FutureTask.java:262)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at
java.util.concurrent.FutureTask.run(FutureTask.java:262)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at
java.lang.Thread.run(Thread.java:745)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Caused by:
org.apache.lucene.store.LockObtainFailedException: Index
locked for write for core spellcheck<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at
org.apache.solr.core.SolrCore.initIndex(SolrCore.java:484)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at
org.apache.solr.core.SolrCore.<init>(SolrCore.java:745)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> ... 11 more<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">24 Apr 2015 11:47:47,736
ERROR [ache.solr.common.SolrException: 119]
null:org.apache.solr.common.SolrException: Unable to create
core: spellcheck<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at
org.apache.solr.core.CoreContainer.recordAndThrow(CoreContainer.java:1450)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at
org.apache.solr.core.CoreContainer.create(CoreContainer.java:993)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at
org.apache.solr.core.CoreContainer$2.call(CoreContainer.java:597)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at
org.apache.solr.core.CoreContainer$2.call(CoreContainer.java:592)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at
java.util.concurrent.FutureTask.run(FutureTask.java:262)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at
java.util.concurrent.FutureTask.run(FutureTask.java:262)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at
java.lang.Thread.run(Thread.java:745)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Caused by:
org.apache.solr.common.SolrException: Index locked for write
for core spellcheck<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at
org.apache.solr.core.SolrCore.<init>(SolrCore.java:821)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at
org.apache.solr.core.SolrCore.<init>(SolrCore.java:618)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at
org.apache.solr.core.CoreContainer.createFromLocal(CoreContainer.java:949)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at
org.apache.solr.core.CoreContainer.create(CoreContainer.java:984)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> ... 8 more<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Caused by:
org.apache.lucene.store.LockObtainFailedException: Index
locked for write for core spellcheck<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at
org.apache.solr.core.SolrCore.initIndex(SolrCore.java:484)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at
org.apache.solr.core.SolrCore.<init>(SolrCore.java:745)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> ... 11 more</span><span
style="font-size:8.0pt;color:#365F91"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
</blockquote>
<br>
<div class="moz-signature">-- <br>
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
</div>
</body>
</html>