I don't know how to classify this : I think its me not a bug

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
9/27/2010 7:24:39 PM
Gravatar
Total Posts 37

I don't know how to classify this : I think its me not a bug

2010-09-27 19:49:32,406 ERROR mojoPortal.Business.WebHelpers.IndexWriterTask - System.IO.IOException: Lock obtain timed out: SimpleFSLock@C:\Inetpub\wwwroot\mojoportal\Data\Sites\1\index\write.lock
at Lucene.Net.Store.Lock.Obtain(Int64 lockWaitTimeout)
at Lucene.Net.Index.IndexReader.AquireWriteLock()
at Lucene.Net.Index.IndexReader.DeleteDocument(Int32 docNum)
at Lucene.Net.Index.IndexReader.DeleteDocuments(Term term)
at mojoPortal.Business.WebHelpers.IndexWriterTask.ProcessQueue(DataTable q, String indexPath)
2010-09-27 19:49:33,406 ERROR mojoPortal.Business.WebHelpers.IndexWriterTask - System.IO.IOException: Lock obtain timed out: SimpleFSLock@C:\Inetpub\wwwroot\mojoportal\Data\Sites\1\index\write.lock
at Lucene.Net.Store.Lock.Obtain(Int64 lockWaitTimeout)
at Lucene.Net.Index.IndexReader.AquireWriteLock()
at Lucene.Net.Index.IndexReader.DeleteDocument(Int32 docNum)
at Lucene.Net.Index.IndexReader.DeleteDocuments(Term term)
at mojoPortal.Business.WebHelpers.IndexWriterTask.ProcessQueue(DataTable q, String indexPath)

9/28/2010 6:43:07 AM
Gravatar
Total Posts 18439

Re: I don't know how to classify this : I think its me not a bug

That error sounds like your search index got corrupted, you may need to rebuild the search index.

http://www.mojoportal.com/rebuilding-the-search-index.aspx

This kind of thing can be caused if you have 2 IIS web sites pointing to the same folder and you are entering content through both of them, like if you have it running as one site for a localhost and another site for a public site but using the same content and database, then both sites may try to write to the search index at once but there is locking to prevent this and the error indicates the lock timed out.

It can also happen if folder permissions changed on the /Data/Sites/1/index folder, if it can no longer write to the file then it also cannot get a write lock.

Hope it helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.