Reputation: 2011
I'm very very new to solr. I launched a Bitnami VMI on Amazon AWS just this morning.
After some googling I found how to use putty to ssh to the box, use filezilla to sftp files etc. I wanted to change the fields in the schema, so i downloaded the schema.xml file from collecction1, modified it and re-uploaded it.
After which, I ran a reload command, but am now getting an error.
collection1: org.apache.lucene.store.LockObtainFailedException:org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@/opt/bitnami/apache-solr/solr/collection1/data/index/write.lock: java.io.FileNotFoundException: /opt/bitnami/apache-solr/solr/collection1/data/index/write.lock (Permission denied)
I can see that the write.lock file is present on the filesystem, so I'm not sure why im getting this error.
Any help would be appreciated.
Thanks Al
Upvotes: 0
Views: 1391
Reputation: 52792
Make sure that the write.lock file is owned by the same user as Solr runs under.
Upvotes: 2