Solr 3.6 is very old - I don't expect that many people here will have
current knowledge about it.

What it *looks* like to me is that you have hard stopped Solr - i.e.
kill -9 or something, and then when you attempt to restart it, it can't
do so because the lock file is in place. With Solr stopped, remove that
write.lock file, then restart Solr, and I suspect you should be okay.

Upayavira

On Fri, Jul 31, 2015, at 10:41 AM, sudeepgarg wrote:
> I am getting below exception in catalina.out file while doing indexing
> solr
> 3.6
> 
> 
> SEVERE: org.apache.lucene.store.LockObtainFailedException: Lock obtain
> timed
> out: NativeFSLock@/var/solr/xxxcore/data/index/write.lock
> 
> 
> This is setting of my solrconfig.xml for this core
> 
>  <lockType>native</lockType>
>         <unlockOnStartup>false</unlockOnStartup>
>         <commitLockTimeout>100000</commitLockTimeout>
>         <writeLockTimeout>10000</writeLockTimeout>
> 
> Please let me know how to rectify this.
> 
> 
> 
> 
> 
> 
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Lock-obtain-timed-out-while-doing-indexing-in-solr-3-6-tp4220063.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to