delete document loaded with "shared file"

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.
5/24/2012 5:54:20 AM
Gravatar
Total Posts 122

delete document loaded with "shared file"

Hi to all,

running on sql2008 asp4 fulltrust ver 2.3.5.8.

I'm currently building an intranet site for 3 large hospitals

first problem: even as ADMIN when i try to delete a document loaded with "shared file" i got error

in system log this is reported (I think) as:

2012-05-24 11:37:24,265 ERROR (null) - (null) - (null) - mojoPortal.Business.WebHelpers.IndexWriterTask - System.IO.IOException: Lock obtain timed out: SimpleFSLock@D:\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) 

Second problem is that I 'cant delete the system log file

It's the first time those errors occurs to me on the sites I've builded before... but I must say that in this case I do not used microsoft tool to bring up the site, but did it manually

May be I do have problem with file or dir authorisation ??

Thank you so much in advance for urgent help

Michele from Rome

 

5/24/2012 6:04:17 AM
Gravatar
Total Posts 122

Re: delete document loaded with "shared file"

first problem: even as ADMIN when i try to delete a document loaded with "shared file" i got error...

suspend.... I'm doing some test loading as Admin and cancelling (works) and loading as user and cancelling as Admin (I do not know)

 

5/24/2012 12:58:17 PM
Gravatar
Total Posts 18439

Re: delete document loaded with "shared file"

The error you posted does not appear to be related to anything in Shared Files, its an error with writing to the search index, possibly a file system permission problem on that folder.

5/29/2012 10:20:29 AM
Gravatar
Total Posts 122

Re: delete document loaded with "shared file"

Hi Joe,

thank you very much for your usual help...

the question about shared files is resolved

But I do have still this problem on search file reported under system registry

2012-05-24 11:37:24,265 ERROR (null) - (null) - (null) - mojoPortal.Business.WebHelpers.IndexWriterTask - System.IO.IOException: Lock obtain timed out: SimpleFSLock@D:\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) 

Do you have any idea on what it should cause it or where to look for ?

.. and why when I push clear button on system registry it does not clear nothing ??

thank you so much in advance

Michele from Rome

5/29/2012 11:54:40 AM
Gravatar
Total Posts 18439

Re: delete document loaded with "shared file"

Are you hosted in a Web Farm or Cluster with more than one web server handling requests at the same time?

If so that is the problem. Lucene.NET which is used for the search engine does not support multiple processes. If one process gets a lock to write to the index then the other processes cannot.

If not then it must be a problem with file system permissions on the /Data/Sites/1/index folder

5/30/2012 4:55:37 AM
Gravatar
Total Posts 122

Re: delete document loaded with "shared file"

Hi Joe,

seem NOT to be a problem with file system permissions on the /Data/Sites/1/index folder (i'm checking...)

We do use a dedicated virtual server, so I think should NOT be more server handling requests at the same time..

WHAT CAN I CHECK ELSE ???

second problem is that I 'cant delete the system log file from ADMIN panel... IDEAS ?? may be the problem is related ...

Thank you so much in advance for urgent help

Michele from Rome

 

5/30/2012 6:20:28 AM
Gravatar
Total Posts 18439

Re: delete document loaded with "shared file"

both problems indicate that file system permissions are not correct.

you may think they are correct but they are not. If file system permissions were correct you would be able to clear the log.

Hope that helps,

Joe

5/30/2012 7:29:19 AM
Gravatar
Total Posts 122

Re: delete document loaded with "shared file"

as usual.. you were right

thank you soooo much

Michele

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