Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# big_al 11/13/2005 10:42 PM
Hi

just installed the latest version of cuyahoga and am getting this error when trying to save anything.

An error occured: Lock obtain timed out: Lock@C:\DOCUME~1\CCGDG1S\ASPNET\LOCALS~1\Temp\lucene-1e9e351faf859a2f50e14b9ae7ae71f2-write.lock

I have given the ASPNET account full privillages both on the index and log directories... what am I missing?

Al
# martijnb 11/14/2005 1:31 AM
I'm pretty sure it hasn't anything to do with the new version. What happens if you rebuild the entire index from the site administration?
# big_al 11/14/2005 12:45 PM
Hi Martjin

This is a new install on a new machine.

When rebuilding the index I get a similar error, but with a stack trace :)

Environment: Win2k Pro


Lock obtain timed out: Lock@C:\DOCUME~1\CCGDG1S\ASPNET\LOCALS~1\Temp\lucene-1e9e351faf859a2f50e14b9ae7ae71f2-write.lock
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.IOException: Lock obtain timed out: Lock@C:\DOCUME~1\CCGDG1S\ASPNET\LOCALS~1\Temp\lucene-1e9e351faf859a2f50e14b9ae7ae71f2-write.lock

Source Error:


Line 127: if (! IndexReader.IndexExists(this._indexDirectory) || this._rebuildIndex)
Line 128: {
Line 129: this._indexWriter = new IndexWriter(this._indexDirectory, new StandardAnalyzer(), true);
Line 130: }
Line 131: else


Source File: C:\Inetpub\wwwroot\Cuyahoga\Core\Search\IndexBuilder.cs Line: 129

Stack Trace:


[IOException: Lock obtain timed out: Lock@C:\DOCUME~1\CCGDG1S\ASPNET\LOCALS~1\Temp\lucene-1e9e351faf859a2f50e14b9ae7ae71f2-write.lock]
Lucene.Net.Store.Lock.Obtain(Int64 lockWaitTimeout) +233
Lucene.Net.Index.IndexWriter..ctor(Directory d, Analyzer a, Boolean create, Boolean closeDir) +268
Lucene.Net.Index.IndexWriter..ctor(Directory d, Analyzer a, Boolean create) +17
Cuyahoga.Core.Search.IndexBuilder.InitIndexWriter() in C:\Inetpub\wwwroot\Cuyahoga\Core\Search\IndexBuilder.cs:129
Cuyahoga.Core.Search.IndexBuilder..ctor(String physicalIndexDir, Boolean rebuildIndex) in C:\Inetpub\wwwroot\Cuyahoga\Core\Search\IndexBuilder.cs:38
Cuyahoga.Web.Admin.RebuildIndex.BuildIndex() in C:\Inetpub\wwwroot\Cuyahoga\Web\Admin\RebuildIndex.aspx.cs:50
Cuyahoga.Web.Admin.RebuildIndex.Page_Load(Object sender, EventArgs e) in C:\Inetpub\wwwroot\Cuyahoga\Web\Admin\RebuildIndex.aspx.cs:42
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +750




Also, is there any chance of fixing the forum post textbox to be higher than 2 lines?
# big_al 11/14/2005 1:20 PM (edited 11/14/2005 1:23 PM)
Just another note, this machine is part of an AD Domain.
# martijnb 11/14/2005 3:29 PM
Looks like a security issue. I'll have to study some of the dotLucene inner workings to sort this out.

And about the 2-line textboxes: I'm aware of it and I'll try to fix it. As a workaround, use Firefox (if you can of course) where this issue doesn't appear.
# big_al 11/15/2005 1:06 PM
Thanks mate!

Unfortunatly FF is not in our SOE (Standard Operating Environment) :(