Discussion

Build PegaRULES Index - UNIX Directory

Does anyone know what UNIX directory the Build PegaRULES Index option uses when trying to build the index? We're getting the following errors but I need to be able to get the security permissions fixed on the correct directory.

07 Dec 2009 09:11:16,404 [ngine.Transports : 2] (dmin.handlers.AdminMiscHandler) ERROR - Index optimization failed because an exception was thrown:
(unknown)
com.pega.pegarules.pub.PRRuntimeException: Error occured creating index directory
Caused by: java.io.IOException: The file access permissions do not allow the specified action.
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:855)

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Comments

Keep up to date on this post and subscribe to comments

Pega
December 7, 2009 - 2:38pm

There are 3 directories (WorkIndex, DataIndex, RuleIndex) within a directory Index within the Temp directory.

The Temp directory is defined during installation, as the value of the prconfig.xml file setting for <b>explicitTempDir</b>.

December 11, 2009 - 10:56am

The location of the indexing folder is controlled by a Data-Admin-System-Setting record indexing/explicitindexdir

This directory needs to exist, the system will create the subdirs it needs below it. When you create the directory, if on uinx, make sure the right permissions are granted so that subfolders also have the right permissions.

for more info, check out:

http://pdn.pega.com/DevNet/PRPCv4/TechnologyPapers/documents/SearchFeaturesLucene51.pdf