Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Smartsearch index privileges View modes: 
User avatar
Member
Member
netjib_david - 11/30/2011 7:10:33 AM
   
Smartsearch index privileges
Hello everyone

I recently added SmartSearch to a portal engine website (v5). Everything worked fine in development (Windows Vista, IIS7) but we are having trouble (re)building the index file once the site is in production (Windows Server 2008 R2, IIS7.5).

The log show the following error (see below), which seemed to indicate a privilege issue. However Network Services already has read/write/modify privileges on the SmartSearch folder and down.

Could someone confirm which system accounts and privileges are required for this?

Thanks

David

Log extract:

Message: Lock obtain timed out: SimpleFSLock@C:\inetpub\vhosts\softrefinery.com\httpdocs\App_Data\CMSModules\SmartSearch\Soft_refinery_searchIndex\write.lock
Stack Trace:
at Lucene.Net.Store.Lock.Obtain(Int64 lockWaitTimeout)
at Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean create, Boolean closeDir)
at Lucene.Net.Index.IndexWriter.Init(String path, Analyzer a, Boolean create)
at Lucene.Net.Index.IndexWriter..ctor(String path, Analyzer a, Boolean create)
at CMS.SiteProvider.SearchIndexInfo.GetWriter(Boolean create)
at CMS.SiteProvider.SearchHelper.Update(Document iDoc, SearchIndexInfo srchInfo)
at CMS.SiteProvider.SearchTaskInfoProvider.TaskIndexer()
at CMS.SiteProvider.SearchTaskInfoProvider.Run()

User avatar
Member
Member
kentico_michal - 12/6/2011 1:08:51 AM
   
RE:Smartsearch index privileges
Hello,

The thing is, that something might lock the mentioned index file (in the error message) when you pressed for example “Optimize” button, so could you please try to inspect with process explorer tool (SysInternals) if there is any process which locks the file?

Please also make sure that you have set sufficient permissions, as it is described here: Disk permissions problems.

Also, could you please see this forum thread that deals with the same issue?
http://devnet.kentico.com/Forums.aspx?forumid=37&threadid=11330

Best regards,
Michal Legen